On Tue, 9 Feb 2021 12:35:27 GMT, Chris Hegarty <[email protected]> wrote:
> This issue adds a new event to improve diagnostic information of Java
> deserialization. The event captures the details of deserialization activity
> from ObjectInputStream. The event details are similar to that of the serial
> filter, but is agnostic of whether a filter is installed or not. The event
> also captures the filter status, if there is one.
src/jdk.jfr/share/classes/jdk/jfr/events/DeserializationEvent.java line 35:
> 33:
> 34: @Category({"Java Development Kit", "Serialization"})
> 35: @Label("Deserialization events")
This seems to differ from the format of other event labels defined in this
package, e.g:
@Label("Process Start")
@Label("File Read")
...
What would you think of changing it to one of:
@Label("Deserialization")
@Label("Deserialized Object")
-------------
PR: https://git.openjdk.java.net/jdk/pull/2479