public final class jdk.jfr.consumer.MetadataEvent
minor version: 0
major version: 59
flags: flags: (0x0031) ACC_PUBLIC, ACC_FINAL, ACC_SUPER
this_class: jdk.jfr.consumer.MetadataEvent
super_class: java.lang.Object
{
private final java.util.List<jdk.jfr.EventType> current;
descriptor: Ljava/util/List;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
Signature: Ljava/util/List<Ljdk/jfr/EventType;>;
private final java.util.List<jdk.jfr.EventType> previous;
descriptor: Ljava/util/List;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
Signature: Ljava/util/List<Ljdk/jfr/EventType;>;
private final java.util.List<jdk.jfr.Configuration> configurations;
descriptor: Ljava/util/List;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
Signature: Ljava/util/List<Ljdk/jfr/Configuration;>;
private java.util.List<jdk.jfr.EventType> added;
descriptor: Ljava/util/List;
flags: (0x0002) ACC_PRIVATE
Signature: Ljava/util/List<Ljdk/jfr/EventType;>;
private java.util.List<jdk.jfr.EventType> removed;
descriptor: Ljava/util/List;
flags: (0x0002) ACC_PRIVATE
Signature: Ljava/util/List<Ljdk/jfr/EventType;>;
void <init>(java.util.List<jdk.jfr.EventType>, java.util.List<jdk.jfr.EventType>, java.util.List<jdk.jfr.Configuration>);
descriptor: (Ljava/util/List;Ljava/util/List;Ljava/util/List;)V
flags: (0x0000)
Code:
stack=2, locals=4, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
aload 1
putfield jdk.jfr.consumer.MetadataEvent.previous:Ljava/util/List;
2: aload 0
aload 2
putfield jdk.jfr.consumer.MetadataEvent.current:Ljava/util/List;
3: aload 0
aload 3
putfield jdk.jfr.consumer.MetadataEvent.configurations:Ljava/util/List;
4: return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Ljdk/jfr/consumer/MetadataEvent;
0 5 1 previous Ljava/util/List<Ljdk/jfr/EventType;>;
0 5 2 current Ljava/util/List<Ljdk/jfr/EventType;>;
0 5 3 configs Ljava/util/List<Ljdk/jfr/Configuration;>;
Signature: (Ljava/util/List<Ljdk/jfr/EventType;>;Ljava/util/List<Ljdk/jfr/EventType;>;Ljava/util/List<Ljdk/jfr/Configuration;>;)V
MethodParameters:
Name Flags
previous
current
configs
public final java.util.List<jdk.jfr.EventType> getEventTypes();
descriptor: ()Ljava/util/List;
flags: (0x0011) ACC_PUBLIC, ACC_FINAL
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield jdk.jfr.consumer.MetadataEvent.current:Ljava/util/List;
invokestatic java.util.Collections.unmodifiableList:(Ljava/util/List;)Ljava/util/List;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljdk/jfr/consumer/MetadataEvent;
Signature: ()Ljava/util/List<Ljdk/jfr/EventType;>;
public final java.util.List<jdk.jfr.EventType> getAddedEventTypes();
descriptor: ()Ljava/util/List;
flags: (0x0011) ACC_PUBLIC, ACC_FINAL
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield jdk.jfr.consumer.MetadataEvent.added:Ljava/util/List;
ifnonnull 2
1: aload 0
invokevirtual jdk.jfr.consumer.MetadataEvent.calculateDelta:()V
2: StackMap locals:
StackMap stack:
aload 0
getfield jdk.jfr.consumer.MetadataEvent.added:Ljava/util/List;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Ljdk/jfr/consumer/MetadataEvent;
Signature: ()Ljava/util/List<Ljdk/jfr/EventType;>;
public final java.util.List<jdk.jfr.EventType> getRemovedEventTypes();
descriptor: ()Ljava/util/List;
flags: (0x0011) ACC_PUBLIC, ACC_FINAL
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield jdk.jfr.consumer.MetadataEvent.removed:Ljava/util/List;
ifnonnull 2
1: aload 0
invokevirtual jdk.jfr.consumer.MetadataEvent.calculateDelta:()V
2: StackMap locals:
StackMap stack:
aload 0
getfield jdk.jfr.consumer.MetadataEvent.removed:Ljava/util/List;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Ljdk/jfr/consumer/MetadataEvent;
Signature: ()Ljava/util/List<Ljdk/jfr/EventType;>;
public java.util.List<jdk.jfr.Configuration> getConfigurations();
descriptor: ()Ljava/util/List;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield jdk.jfr.consumer.MetadataEvent.configurations:Ljava/util/List;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljdk/jfr/consumer/MetadataEvent;
Signature: ()Ljava/util/List<Ljdk/jfr/Configuration;>;
private void calculateDelta();
descriptor: ()V
flags: (0x0002) ACC_PRIVATE
Code:
stack=4, locals=6, args_size=1
start local 0 0: new java.util.ArrayList
dup
invokespecial java.util.ArrayList.<init>:()V
astore 1
start local 1 1: new java.util.HashMap
dup
aload 0
getfield jdk.jfr.consumer.MetadataEvent.previous:Ljava/util/List;
invokeinterface java.util.List.size:()I
invokespecial java.util.HashMap.<init>:(I)V
astore 2
start local 2 2: aload 0
getfield jdk.jfr.consumer.MetadataEvent.previous:Ljava/util/List;
invokeinterface java.util.List.iterator:()Ljava/util/Iterator;
astore 4
goto 5
StackMap locals: jdk.jfr.consumer.MetadataEvent java.util.List java.util.Map top java.util.Iterator
StackMap stack:
3: aload 4
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast jdk.jfr.EventType
astore 3
start local 3 4: aload 2
aload 3
invokevirtual jdk.jfr.EventType.getId:()J
invokestatic java.lang.Long.valueOf:(J)Ljava/lang/Long;
aload 3
invokeinterface java.util.Map.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
end local 3 5: StackMap locals:
StackMap stack:
aload 4
invokeinterface java.util.Iterator.hasNext:()Z
ifne 3
6: aload 0
getfield jdk.jfr.consumer.MetadataEvent.current:Ljava/util/List;
invokeinterface java.util.List.iterator:()Ljava/util/Iterator;
astore 4
goto 11
StackMap locals:
StackMap stack:
7: aload 4
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast jdk.jfr.EventType
astore 3
start local 3 8: aload 2
aload 3
invokevirtual jdk.jfr.EventType.getId:()J
invokestatic java.lang.Long.valueOf:(J)Ljava/lang/Long;
invokeinterface java.util.Map.remove:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast jdk.jfr.EventType
astore 5
start local 5 9: aload 5
ifnonnull 11
10: aload 1
aload 3
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
end local 5 end local 3 11: StackMap locals:
StackMap stack:
aload 4
invokeinterface java.util.Iterator.hasNext:()Z
ifne 7
12: aload 0
new java.util.ArrayList
dup
aload 2
invokeinterface java.util.Map.values:()Ljava/util/Collection;
invokespecial java.util.ArrayList.<init>:(Ljava/util/Collection;)V
invokestatic java.util.Collections.unmodifiableList:(Ljava/util/List;)Ljava/util/List;
putfield jdk.jfr.consumer.MetadataEvent.removed:Ljava/util/List;
13: aload 0
aload 1
invokestatic java.util.Collections.unmodifiableList:(Ljava/util/List;)Ljava/util/List;
putfield jdk.jfr.consumer.MetadataEvent.added:Ljava/util/List;
14: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 15 0 this Ljdk/jfr/consumer/MetadataEvent;
1 15 1 added Ljava/util/List<Ljdk/jfr/EventType;>;
2 15 2 previousSet Ljava/util/Map<Ljava/lang/Long;Ljdk/jfr/EventType;>;
4 5 3 eventType Ljdk/jfr/EventType;
8 11 3 eventType Ljdk/jfr/EventType;
9 11 5 t Ljdk/jfr/EventType;
}
SourceFile: "MetadataEvent.java"