final class jdk.jfr.internal.SettingsManager
minor version: 0
major version: 59
flags: flags: (0x0030) ACC_FINAL, ACC_SUPER
this_class: jdk.jfr.internal.SettingsManager
super_class: java.lang.Object
{
private java.util.Map<java.lang.String, jdk.jfr.internal.SettingsManager$InternalSetting> availableSettings;
descriptor: Ljava/util/Map;
flags: (0x0002) ACC_PRIVATE
Signature: Ljava/util/Map<Ljava/lang/String;Ljdk/jfr/internal/SettingsManager$InternalSetting;>;
void <init>();
descriptor: ()V
flags: (0x0000)
Code:
stack=3, locals=1, args_size=1
start local 0 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
new java.util.LinkedHashMap
dup
invokespecial java.util.LinkedHashMap.<init>:()V
putfield jdk.jfr.internal.SettingsManager.availableSettings:Ljava/util/Map;
2: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Ljdk/jfr/internal/SettingsManager;
void setSettings(java.util.List<java.util.Map<java.lang.String, java.lang.String>>);
descriptor: (Ljava/util/List;)V
flags: (0x0000)
Code:
stack=3, locals=5, args_size=2
start local 0 start local 1 0: aload 0
aload 0
aload 1
invokevirtual jdk.jfr.internal.SettingsManager.createSettingsMap:(Ljava/util/List;)Ljava/util/Map;
putfield jdk.jfr.internal.SettingsManager.availableSettings:Ljava/util/Map;
1: invokestatic jdk.jfr.internal.MetadataRepository.getInstance:()Ljdk/jfr/internal/MetadataRepository;
invokevirtual jdk.jfr.internal.MetadataRepository.getEventControls:()Ljava/util/List;
astore 2
start local 2 2: invokestatic jdk.jfr.internal.JVM.getJVM:()Ljdk/jfr/internal/JVM;
invokevirtual jdk.jfr.internal.JVM.isRecording:()Z
ifne 8
3: aload 2
invokeinterface java.util.List.iterator:()Ljava/util/Iterator;
astore 4
goto 6
StackMap locals: jdk.jfr.internal.SettingsManager java.util.List java.util.List top java.util.Iterator
StackMap stack:
4: aload 4
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast jdk.jfr.internal.EventControl
astore 3
start local 3 5: aload 3
invokevirtual jdk.jfr.internal.EventControl.disable:()V
end local 3 6: StackMap locals:
StackMap stack:
aload 4
invokeinterface java.util.Iterator.hasNext:()Z
ifne 4
7: goto 14
8: StackMap locals: jdk.jfr.internal.SettingsManager java.util.List java.util.List
StackMap stack:
getstatic jdk.jfr.internal.LogTag.JFR_SETTING:Ljdk/jfr/internal/LogTag;
getstatic jdk.jfr.internal.LogLevel.INFO:Ljdk/jfr/internal/LogLevel;
invokestatic jdk.jfr.internal.Logger.shouldLog:(Ljdk/jfr/internal/LogTag;Ljdk/jfr/internal/LogLevel;)Z
ifeq 10
9: aload 2
invokedynamic compare()Ljava/util/Comparator;
Bootstrap: invokestatic java.lang.invoke.LambdaMetafactory.metafactory:(Ljava/lang/invoke/MethodHandles$Lookup;Ljava/lang/String;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodHandle;Ljava/lang/invoke/MethodType;)Ljava/lang/invoke/CallSite;
Method arguments:
(Ljava/lang/Object;Ljava/lang/Object;)I
jdk/jfr/internal/SettingsManager.lambda$0(Ljdk/jfr/internal/EventControl;Ljdk/jfr/internal/EventControl;)I (6)
(Ljdk/jfr/internal/EventControl;Ljdk/jfr/internal/EventControl;)I
invokestatic java.util.Collections.sort:(Ljava/util/List;Ljava/util/Comparator;)V
10: StackMap locals:
StackMap stack:
aload 2
invokeinterface java.util.List.iterator:()Ljava/util/Iterator;
astore 4
goto 13
StackMap locals: jdk.jfr.internal.SettingsManager java.util.List java.util.List top java.util.Iterator
StackMap stack:
11: aload 4
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast jdk.jfr.internal.EventControl
astore 3
start local 3 12: aload 0
aload 3
invokevirtual jdk.jfr.internal.SettingsManager.setEventControl:(Ljdk/jfr/internal/EventControl;)V
end local 3 13: StackMap locals:
StackMap stack:
aload 4
invokeinterface java.util.Iterator.hasNext:()Z
ifne 11
14: StackMap locals: jdk.jfr.internal.SettingsManager java.util.List java.util.List
StackMap stack:
invokestatic jdk.jfr.internal.JVM.getJVM:()Ljdk/jfr/internal/JVM;
invokevirtual jdk.jfr.internal.JVM.getAllowedToDoEventRetransforms:()Z
ifeq 16
15: aload 0
invokestatic jdk.jfr.internal.JVM.getJVM:()Ljdk/jfr/internal/JVM;
invokevirtual jdk.jfr.internal.JVM.getAllEventClasses:()Ljava/util/List;
invokevirtual jdk.jfr.internal.SettingsManager.updateRetransform:(Ljava/util/List;)V
16: StackMap locals:
StackMap stack:
return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 17 0 this Ljdk/jfr/internal/SettingsManager;
0 17 1 activeSettings Ljava/util/List<Ljava/util/Map<Ljava/lang/String;Ljava/lang/String;>;>;
2 17 2 eventControls Ljava/util/List<Ljdk/jfr/internal/EventControl;>;
5 6 3 ec Ljdk/jfr/internal/EventControl;
12 13 3 ec Ljdk/jfr/internal/EventControl;
Signature: (Ljava/util/List<Ljava/util/Map<Ljava/lang/String;Ljava/lang/String;>;>;)V
MethodParameters:
Name Flags
activeSettings
public void updateRetransform(java.util.List<java.lang.Class<? extends jdk.internal.event.Event>>);
descriptor: (Ljava/util/List;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=7, args_size=2
start local 0 start local 1 0: new java.util.ArrayList
dup
invokespecial java.util.ArrayList.<init>:()V
astore 2
start local 2 1: aload 1
invokeinterface java.util.List.iterator:()Ljava/util/Iterator;
astore 4
goto 10
StackMap locals: jdk.jfr.internal.SettingsManager java.util.List java.util.List top java.util.Iterator
StackMap stack:
2: aload 4
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast java.lang.Class
astore 3
start local 3 3: aload 3
invokestatic jdk.jfr.internal.Utils.getHandler:(Ljava/lang/Class;)Ljdk/jfr/internal/handlers/EventHandler;
astore 5
start local 5 4: aload 5
ifnull 10
5: aload 5
invokevirtual jdk.jfr.internal.handlers.EventHandler.getPlatformEventType:()Ljdk/jfr/internal/PlatformEventType;
astore 6
start local 6 6: aload 6
invokevirtual jdk.jfr.internal.PlatformEventType.isMarkedForInstrumentation:()Z
ifeq 10
7: aload 2
aload 3
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
8: aload 6
iconst_0
invokevirtual jdk.jfr.internal.PlatformEventType.markForInstrumentation:(Z)V
9: aload 6
invokevirtual jdk.jfr.internal.PlatformEventType.setInstrumented:()V
end local 6 end local 5 end local 3 10: StackMap locals:
StackMap stack:
aload 4
invokeinterface java.util.Iterator.hasNext:()Z
ifne 2
11: aload 2
invokeinterface java.util.List.isEmpty:()Z
ifne 13
12: invokestatic jdk.jfr.internal.JVM.getJVM:()Ljdk/jfr/internal/JVM;
aload 2
iconst_0
anewarray java.lang.Class
invokeinterface java.util.List.toArray:([Ljava/lang/Object;)[Ljava/lang/Object;
checkcast java.lang.Class[]
invokevirtual jdk.jfr.internal.JVM.retransformClasses:([Ljava/lang/Class;)V
13: StackMap locals: jdk.jfr.internal.SettingsManager java.util.List java.util.List
StackMap stack:
return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 14 0 this Ljdk/jfr/internal/SettingsManager;
0 14 1 eventClasses Ljava/util/List<Ljava/lang/Class<+Ljdk/internal/event/Event;>;>;
1 14 2 classes Ljava/util/List<Ljava/lang/Class<*>;>;
3 10 3 eventClass Ljava/lang/Class<+Ljdk/internal/event/Event;>;
4 10 5 eh Ljdk/jfr/internal/handlers/EventHandler;
6 10 6 eventType Ljdk/jfr/internal/PlatformEventType;
Signature: (Ljava/util/List<Ljava/lang/Class<+Ljdk/internal/event/Event;>;>;)V
MethodParameters:
Name Flags
eventClasses
private java.util.Map<java.lang.String, jdk.jfr.internal.SettingsManager$InternalSetting> createSettingsMap(java.util.List<java.util.Map<java.lang.String, java.lang.String>>);
descriptor: (Ljava/util/List;)Ljava/util/Map;
flags: (0x0002) ACC_PRIVATE
Code:
stack=3, locals=8, args_size=2
start local 0 start local 1 0: new java.util.LinkedHashMap
dup
aload 1
invokeinterface java.util.List.size:()I
invokespecial java.util.LinkedHashMap.<init>:(I)V
astore 2
start local 2 1: aload 1
invokeinterface java.util.List.iterator:()Ljava/util/Iterator;
astore 4
goto 11
StackMap locals: jdk.jfr.internal.SettingsManager java.util.List java.util.Map top java.util.Iterator
StackMap stack:
2: aload 4
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast java.util.Map
astore 3
start local 3 3: aload 0
aload 3
invokevirtual jdk.jfr.internal.SettingsManager.makeInternalSettings:(Ljava/util/Map;)Ljava/util/Collection;
invokeinterface java.util.Collection.iterator:()Ljava/util/Iterator;
astore 6
goto 10
StackMap locals: jdk.jfr.internal.SettingsManager java.util.List java.util.Map java.util.Map java.util.Iterator top java.util.Iterator
StackMap stack:
4: aload 6
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast jdk.jfr.internal.SettingsManager$InternalSetting
astore 5
start local 5 5: aload 2
aload 5
invokevirtual jdk.jfr.internal.SettingsManager$InternalSetting.getSettingsId:()Ljava/lang/String;
invokeinterface java.util.Map.get:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast jdk.jfr.internal.SettingsManager$InternalSetting
astore 7
start local 7 6: aload 7
ifnonnull 9
7: aload 2
aload 5
invokevirtual jdk.jfr.internal.SettingsManager$InternalSetting.getSettingsId:()Ljava/lang/String;
aload 5
invokeinterface java.util.Map.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
8: goto 10
9: StackMap locals: jdk.jfr.internal.SettingsManager java.util.List java.util.Map java.util.Map java.util.Iterator jdk.jfr.internal.SettingsManager$InternalSetting java.util.Iterator jdk.jfr.internal.SettingsManager$InternalSetting
StackMap stack:
aload 7
aload 5
invokevirtual jdk.jfr.internal.SettingsManager$InternalSetting.add:(Ljdk/jfr/internal/SettingsManager$InternalSetting;)V
end local 7 end local 5 10: StackMap locals: jdk.jfr.internal.SettingsManager java.util.List java.util.Map java.util.Map java.util.Iterator top java.util.Iterator
StackMap stack:
aload 6
invokeinterface java.util.Iterator.hasNext:()Z
ifne 4
end local 3 11: StackMap locals: jdk.jfr.internal.SettingsManager java.util.List java.util.Map top java.util.Iterator
StackMap stack:
aload 4
invokeinterface java.util.Iterator.hasNext:()Z
ifne 2
12: aload 2
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 13 0 this Ljdk/jfr/internal/SettingsManager;
0 13 1 activeSettings Ljava/util/List<Ljava/util/Map<Ljava/lang/String;Ljava/lang/String;>;>;
1 13 2 map Ljava/util/Map<Ljava/lang/String;Ljdk/jfr/internal/SettingsManager$InternalSetting;>;
3 11 3 rec Ljava/util/Map<Ljava/lang/String;Ljava/lang/String;>;
5 10 5 internal Ljdk/jfr/internal/SettingsManager$InternalSetting;
6 10 7 is Ljdk/jfr/internal/SettingsManager$InternalSetting;
Signature: (Ljava/util/List<Ljava/util/Map<Ljava/lang/String;Ljava/lang/String;>;>;)Ljava/util/Map<Ljava/lang/String;Ljdk/jfr/internal/SettingsManager$InternalSetting;>;
MethodParameters:
Name Flags
activeSettings
private java.util.Collection<jdk.jfr.internal.SettingsManager$InternalSetting> makeInternalSettings(java.util.Map<java.lang.String, java.lang.String>);
descriptor: (Ljava/util/Map;)Ljava/util/Collection;
flags: (0x0002) ACC_PRIVATE
Code:
stack=3, locals=11, args_size=2
start local 0 start local 1 0: new java.util.LinkedHashMap
dup
invokespecial java.util.LinkedHashMap.<init>:()V
astore 2
start local 2 1: aload 1
invokeinterface java.util.Map.entrySet:()Ljava/util/Set;
invokeinterface java.util.Set.iterator:()Ljava/util/Iterator;
astore 4
goto 15
StackMap locals: jdk.jfr.internal.SettingsManager java.util.Map java.util.Map top java.util.Iterator
StackMap stack:
2: aload 4
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast java.util.Map$Entry
astore 3
start local 3 3: aload 3
invokeinterface java.util.Map$Entry.getKey:()Ljava/lang/Object;
checkcast java.lang.String
astore 5
start local 5 4: aload 3
invokeinterface java.util.Map$Entry.getValue:()Ljava/lang/Object;
checkcast java.lang.String
astore 6
start local 6 5: aload 5
ldc "#"
invokevirtual java.lang.String.indexOf:(Ljava/lang/String;)I
istore 7
start local 7 6: iload 7
iconst_1
if_icmple 15
iload 7
aload 5
invokevirtual java.lang.String.length:()I
iconst_2
isub
if_icmpge 15
7: aload 5
iconst_0
iload 7
invokevirtual java.lang.String.substring:(II)Ljava/lang/String;
astore 8
start local 8 8: aload 8
invokestatic jdk.jfr.internal.Utils.upgradeLegacyJDKEvent:(Ljava/lang/String;)Ljava/lang/String;
astore 8
9: aload 2
aload 8
invokeinterface java.util.Map.get:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast jdk.jfr.internal.SettingsManager$InternalSetting
astore 9
start local 9 10: aload 5
iload 7
iconst_1
iadd
invokevirtual java.lang.String.substring:(I)Ljava/lang/String;
invokevirtual java.lang.String.trim:()Ljava/lang/String;
astore 10
start local 10 11: aload 9
ifnonnull 14
12: new jdk.jfr.internal.SettingsManager$InternalSetting
dup
aload 8
invokespecial jdk.jfr.internal.SettingsManager$InternalSetting.<init>:(Ljava/lang/String;)V
astore 9
13: aload 2
aload 8
aload 9
invokeinterface java.util.Map.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
14: StackMap locals: jdk.jfr.internal.SettingsManager java.util.Map java.util.Map java.util.Map$Entry java.util.Iterator java.lang.String java.lang.String int java.lang.String jdk.jfr.internal.SettingsManager$InternalSetting java.lang.String
StackMap stack:
aload 9
aload 10
aload 6
invokevirtual jdk.jfr.internal.SettingsManager$InternalSetting.add:(Ljava/lang/String;Ljava/lang/String;)V
end local 10 end local 9 end local 8 end local 7 end local 6 end local 5 end local 3 15: StackMap locals: jdk.jfr.internal.SettingsManager java.util.Map java.util.Map top java.util.Iterator
StackMap stack:
aload 4
invokeinterface java.util.Iterator.hasNext:()Z
ifne 2
16: aload 2
invokeinterface java.util.Map.values:()Ljava/util/Collection;
invokeinterface java.util.Collection.iterator:()Ljava/util/Iterator;
astore 4
goto 19
StackMap locals:
StackMap stack:
17: aload 4
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast jdk.jfr.internal.SettingsManager$InternalSetting
astore 3
start local 3 18: aload 3
invokevirtual jdk.jfr.internal.SettingsManager$InternalSetting.finish:()V
end local 3 19: StackMap locals:
StackMap stack:
aload 4
invokeinterface java.util.Iterator.hasNext:()Z
ifne 17
20: aload 2
invokeinterface java.util.Map.values:()Ljava/util/Collection;
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 21 0 this Ljdk/jfr/internal/SettingsManager;
0 21 1 rec Ljava/util/Map<Ljava/lang/String;Ljava/lang/String;>;
1 21 2 internals Ljava/util/Map<Ljava/lang/String;Ljdk/jfr/internal/SettingsManager$InternalSetting;>;
3 15 3 entry Ljava/util/Map$Entry<Ljava/lang/String;Ljava/lang/String;>;
4 15 5 key Ljava/lang/String;
5 15 6 value Ljava/lang/String;
6 15 7 index I
8 15 8 eventName Ljava/lang/String;
10 15 9 s Ljdk/jfr/internal/SettingsManager$InternalSetting;
11 15 10 settingName Ljava/lang/String;
18 19 3 s Ljdk/jfr/internal/SettingsManager$InternalSetting;
Signature: (Ljava/util/Map<Ljava/lang/String;Ljava/lang/String;>;)Ljava/util/Collection<Ljdk/jfr/internal/SettingsManager$InternalSetting;>;
MethodParameters:
Name Flags
rec
void setEventControl(jdk.jfr.internal.EventControl);
descriptor: (Ljdk/jfr/internal/EventControl;)V
flags: (0x0000)
Code:
stack=5, locals=13, args_size=2
start local 0 start local 1 0: aload 0
aload 1
invokevirtual jdk.jfr.internal.SettingsManager.getInternalSetting:(Ljdk/jfr/internal/EventControl;)Ljdk/jfr/internal/SettingsManager$InternalSetting;
astore 2
start local 2 1: getstatic jdk.jfr.internal.LogTag.JFR_SETTING:Ljdk/jfr/internal/LogTag;
getstatic jdk.jfr.internal.LogLevel.INFO:Ljdk/jfr/internal/LogLevel;
invokestatic jdk.jfr.internal.Logger.shouldLog:(Ljdk/jfr/internal/LogTag;Ljdk/jfr/internal/LogLevel;)Z
istore 3
start local 3 2: iload 3
ifeq 4
3: getstatic jdk.jfr.internal.LogTag.JFR_SETTING:Ljdk/jfr/internal/LogTag;
getstatic jdk.jfr.internal.LogLevel.INFO:Ljdk/jfr/internal/LogLevel;
new java.lang.StringBuilder
dup
ldc "Applied settings for "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 1
invokevirtual jdk.jfr.internal.EventControl.getEventType:()Ljdk/jfr/internal/PlatformEventType;
invokevirtual jdk.jfr.internal.PlatformEventType.getLogName:()Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
ldc " {"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokestatic jdk.jfr.internal.Logger.log:(Ljdk/jfr/internal/LogTag;Ljdk/jfr/internal/LogLevel;Ljava/lang/String;)V
4: StackMap locals: jdk.jfr.internal.SettingsManager$InternalSetting int
StackMap stack:
aload 1
invokevirtual jdk.jfr.internal.EventControl.getNamedControls:()Ljava/util/ArrayList;
invokevirtual java.util.ArrayList.iterator:()Ljava/util/Iterator;
astore 5
goto 32
StackMap locals: jdk.jfr.internal.SettingsManager jdk.jfr.internal.EventControl jdk.jfr.internal.SettingsManager$InternalSetting int top java.util.Iterator
StackMap stack:
5: aload 5
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast jdk.jfr.internal.EventControl$NamedControl
astore 4
start local 4 6: aconst_null
astore 6
start local 6 7: aload 4
getfield jdk.jfr.internal.EventControl$NamedControl.name:Ljava/lang/String;
astore 7
start local 7 8: aload 2
ifnull 10
9: aload 2
aload 7
invokevirtual jdk.jfr.internal.SettingsManager$InternalSetting.getValues:(Ljava/lang/String;)Ljava/util/Set;
astore 6
10: StackMap locals: jdk.jfr.internal.SettingsManager jdk.jfr.internal.EventControl jdk.jfr.internal.SettingsManager$InternalSetting int jdk.jfr.internal.EventControl$NamedControl java.util.Iterator java.util.Set java.lang.String
StackMap stack:
aload 4
getfield jdk.jfr.internal.EventControl$NamedControl.control:Ljdk/jfr/internal/Control;
astore 8
start local 8 11: aload 6
ifnull 28
12: aload 8
aload 6
invokevirtual jdk.jfr.internal.Control.apply:(Ljava/util/Set;)V
13: aload 8
invokevirtual jdk.jfr.internal.Control.getLastValue:()Ljava/lang/String;
astore 9
start local 9 14: iload 3
ifeq 32
15: aload 8
aload 1
invokevirtual jdk.jfr.internal.EventControl.getEventType:()Ljdk/jfr/internal/PlatformEventType;
invokevirtual jdk.jfr.internal.PlatformEventType.hasEventHook:()Z
invokestatic jdk.jfr.internal.Utils.isSettingVisible:(Ljdk/jfr/internal/Control;Z)Z
ifeq 32
16: aload 6
invokeinterface java.util.Set.size:()I
iconst_1
if_icmple 25
17: new java.util.StringJoiner
dup
ldc ", "
ldc "{"
ldc "}"
invokespecial java.util.StringJoiner.<init>:(Ljava/lang/CharSequence;Ljava/lang/CharSequence;Ljava/lang/CharSequence;)V
astore 10
start local 10 18: aload 6
invokeinterface java.util.Set.iterator:()Ljava/util/Iterator;
astore 12
goto 21
StackMap locals: jdk.jfr.internal.SettingsManager jdk.jfr.internal.EventControl jdk.jfr.internal.SettingsManager$InternalSetting int jdk.jfr.internal.EventControl$NamedControl java.util.Iterator java.util.Set java.lang.String jdk.jfr.internal.Control java.lang.String java.util.StringJoiner top java.util.Iterator
StackMap stack:
19: aload 12
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast java.lang.String
astore 11
start local 11 20: aload 10
new java.lang.StringBuilder
dup
ldc "\""
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 11
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
ldc "\""
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokevirtual java.util.StringJoiner.add:(Ljava/lang/CharSequence;)Ljava/util/StringJoiner;
pop
end local 11 21: StackMap locals:
StackMap stack:
aload 12
invokeinterface java.util.Iterator.hasNext:()Z
ifne 19
22: new java.lang.StringBuilder
dup
ldc " "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 7
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
ldc "= "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 10
invokevirtual java.util.StringJoiner.toString:()Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
ldc " => \""
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 9
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
ldc "\""
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
astore 11
start local 11 23: getstatic jdk.jfr.internal.LogTag.JFR_SETTING:Ljdk/jfr/internal/LogTag;
getstatic jdk.jfr.internal.LogLevel.INFO:Ljdk/jfr/internal/LogLevel;
aload 11
invokestatic jdk.jfr.internal.Logger.log:(Ljdk/jfr/internal/LogTag;Ljdk/jfr/internal/LogLevel;Ljava/lang/String;)V
end local 11 end local 10 24: goto 32
25: StackMap locals: jdk.jfr.internal.SettingsManager jdk.jfr.internal.EventControl jdk.jfr.internal.SettingsManager$InternalSetting int jdk.jfr.internal.EventControl$NamedControl java.util.Iterator java.util.Set java.lang.String jdk.jfr.internal.Control java.lang.String
StackMap stack:
new java.lang.StringBuilder
dup
ldc " "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 7
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
ldc "=\""
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 8
invokevirtual jdk.jfr.internal.Control.getLastValue:()Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
ldc "\""
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
astore 10
start local 10 26: getstatic jdk.jfr.internal.LogTag.JFR_SETTING:Ljdk/jfr/internal/LogTag;
getstatic jdk.jfr.internal.LogLevel.INFO:Ljdk/jfr/internal/LogLevel;
aload 10
invokestatic jdk.jfr.internal.Logger.log:(Ljdk/jfr/internal/LogTag;Ljdk/jfr/internal/LogLevel;Ljava/lang/String;)V
end local 10 end local 9 27: goto 32
28: StackMap locals:
StackMap stack:
aload 8
invokevirtual jdk.jfr.internal.Control.setDefault:()V
29: iload 3
ifeq 32
30: new java.lang.StringBuilder
dup
ldc " "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 7
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
ldc "=\""
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 8
invokevirtual jdk.jfr.internal.Control.getLastValue:()Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
ldc "\""
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
astore 9
start local 9 31: getstatic jdk.jfr.internal.LogTag.JFR_SETTING:Ljdk/jfr/internal/LogTag;
getstatic jdk.jfr.internal.LogLevel.INFO:Ljdk/jfr/internal/LogLevel;
aload 9
invokestatic jdk.jfr.internal.Logger.log:(Ljdk/jfr/internal/LogTag;Ljdk/jfr/internal/LogLevel;Ljava/lang/String;)V
end local 9 end local 8 end local 7 end local 6 end local 4 32: StackMap locals: jdk.jfr.internal.SettingsManager jdk.jfr.internal.EventControl jdk.jfr.internal.SettingsManager$InternalSetting int top java.util.Iterator
StackMap stack:
aload 5
invokeinterface java.util.Iterator.hasNext:()Z
ifne 5
33: aload 1
invokevirtual jdk.jfr.internal.EventControl.writeActiveSettingEvent:()V
34: iload 3
ifeq 36
35: getstatic jdk.jfr.internal.LogTag.JFR_SETTING:Ljdk/jfr/internal/LogTag;
getstatic jdk.jfr.internal.LogLevel.INFO:Ljdk/jfr/internal/LogLevel;
ldc "}"
invokestatic jdk.jfr.internal.Logger.log:(Ljdk/jfr/internal/LogTag;Ljdk/jfr/internal/LogLevel;Ljava/lang/String;)V
36: StackMap locals: jdk.jfr.internal.SettingsManager jdk.jfr.internal.EventControl jdk.jfr.internal.SettingsManager$InternalSetting int
StackMap stack:
return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 37 0 this Ljdk/jfr/internal/SettingsManager;
0 37 1 ec Ljdk/jfr/internal/EventControl;
1 37 2 is Ljdk/jfr/internal/SettingsManager$InternalSetting;
2 37 3 shouldLog Z
6 32 4 nc Ljdk/jfr/internal/EventControl$NamedControl;
7 32 6 values Ljava/util/Set<Ljava/lang/String;>;
8 32 7 settingName Ljava/lang/String;
11 32 8 control Ljdk/jfr/internal/Control;
14 27 9 after Ljava/lang/String;
18 24 10 sj Ljava/util/StringJoiner;
20 21 11 s Ljava/lang/String;
23 24 11 message Ljava/lang/String;
26 27 10 message Ljava/lang/String;
31 32 9 message Ljava/lang/String;
MethodParameters:
Name Flags
ec
private jdk.jfr.internal.SettingsManager$InternalSetting getInternalSetting(jdk.jfr.internal.EventControl);
descriptor: (Ljdk/jfr/internal/EventControl;)Ljdk/jfr/internal/SettingsManager$InternalSetting;
flags: (0x0002) ACC_PRIVATE
Code:
stack=3, locals=6, args_size=2
start local 0 start local 1 0: aload 1
invokevirtual jdk.jfr.internal.EventControl.getEventType:()Ljdk/jfr/internal/PlatformEventType;
invokevirtual jdk.jfr.internal.PlatformEventType.getName:()Ljava/lang/String;
astore 2
start local 2 1: aload 0
getfield jdk.jfr.internal.SettingsManager.availableSettings:Ljava/util/Map;
aload 2
invokeinterface java.util.Map.get:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast jdk.jfr.internal.SettingsManager$InternalSetting
astore 3
start local 3 2: aload 0
getfield jdk.jfr.internal.SettingsManager.availableSettings:Ljava/util/Map;
aload 1
invokevirtual jdk.jfr.internal.EventControl.getSettingsId:()Ljava/lang/String;
invokeinterface java.util.Map.get:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast jdk.jfr.internal.SettingsManager$InternalSetting
astore 4
start local 4 3: aload 3
ifnonnull 5
aload 4
ifnonnull 5
4: aconst_null
areturn
5: StackMap locals: java.lang.String jdk.jfr.internal.SettingsManager$InternalSetting jdk.jfr.internal.SettingsManager$InternalSetting
StackMap stack:
aload 4
ifnonnull 7
6: aload 3
areturn
7: StackMap locals:
StackMap stack:
aload 3
ifnonnull 9
8: aload 4
areturn
9: StackMap locals:
StackMap stack:
new jdk.jfr.internal.SettingsManager$InternalSetting
dup
aload 3
invokevirtual jdk.jfr.internal.SettingsManager$InternalSetting.getSettingsId:()Ljava/lang/String;
invokespecial jdk.jfr.internal.SettingsManager$InternalSetting.<init>:(Ljava/lang/String;)V
astore 5
start local 5 10: aload 5
aload 3
invokevirtual jdk.jfr.internal.SettingsManager$InternalSetting.add:(Ljdk/jfr/internal/SettingsManager$InternalSetting;)V
11: aload 5
aload 4
invokevirtual jdk.jfr.internal.SettingsManager$InternalSetting.add:(Ljdk/jfr/internal/SettingsManager$InternalSetting;)V
12: aload 5
areturn
end local 5 end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 13 0 this Ljdk/jfr/internal/SettingsManager;
0 13 1 ec Ljdk/jfr/internal/EventControl;
1 13 2 name Ljava/lang/String;
2 13 3 nameBased Ljdk/jfr/internal/SettingsManager$InternalSetting;
3 13 4 idBased Ljdk/jfr/internal/SettingsManager$InternalSetting;
10 13 5 mixed Ljdk/jfr/internal/SettingsManager$InternalSetting;
MethodParameters:
Name Flags
ec
public java.lang.String toString();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=4, args_size=1
start local 0 0: new java.lang.StringBuilder
dup
invokespecial java.lang.StringBuilder.<init>:()V
astore 1
start local 1 1: aload 0
getfield jdk.jfr.internal.SettingsManager.availableSettings:Ljava/util/Map;
invokeinterface java.util.Map.values:()Ljava/util/Collection;
invokeinterface java.util.Collection.iterator:()Ljava/util/Iterator;
astore 3
goto 5
StackMap locals: jdk.jfr.internal.SettingsManager java.lang.StringBuilder top java.util.Iterator
StackMap stack:
2: aload 3
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast jdk.jfr.internal.SettingsManager$InternalSetting
astore 2
start local 2 3: aload 1
aload 2
invokevirtual jdk.jfr.internal.SettingsManager$InternalSetting.toString:()Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
4: aload 1
ldc "\n"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
end local 2 5: StackMap locals:
StackMap stack:
aload 3
invokeinterface java.util.Iterator.hasNext:()Z
ifne 2
6: aload 1
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Ljdk/jfr/internal/SettingsManager;
1 7 1 sb Ljava/lang/StringBuilder;
3 5 2 enabled Ljdk/jfr/internal/SettingsManager$InternalSetting;
boolean isEnabled(java.lang.String);
descriptor: (Ljava/lang/String;)Z
flags: (0x0000)
Code:
stack=2, locals=3, args_size=2
start local 0 start local 1 0: aload 0
getfield jdk.jfr.internal.SettingsManager.availableSettings:Ljava/util/Map;
aload 1
invokeinterface java.util.Map.get:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast jdk.jfr.internal.SettingsManager$InternalSetting
astore 2
start local 2 1: aload 2
ifnonnull 3
2: iconst_0
ireturn
3: StackMap locals: jdk.jfr.internal.SettingsManager$InternalSetting
StackMap stack:
aload 2
invokevirtual jdk.jfr.internal.SettingsManager$InternalSetting.isEnabled:()Z
ireturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Ljdk/jfr/internal/SettingsManager;
0 4 1 eventName Ljava/lang/String;
1 4 2 is Ljdk/jfr/internal/SettingsManager$InternalSetting;
MethodParameters:
Name Flags
eventName
private static int lambda$0(jdk.jfr.internal.EventControl, jdk.jfr.internal.EventControl);
descriptor: (Ljdk/jfr/internal/EventControl;Ljdk/jfr/internal/EventControl;)I
flags: (0x100a) ACC_PRIVATE, ACC_STATIC, ACC_SYNTHETIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
invokevirtual jdk.jfr.internal.EventControl.getEventType:()Ljdk/jfr/internal/PlatformEventType;
invokevirtual jdk.jfr.internal.PlatformEventType.getName:()Ljava/lang/String;
aload 1
invokevirtual jdk.jfr.internal.EventControl.getEventType:()Ljdk/jfr/internal/PlatformEventType;
invokevirtual jdk.jfr.internal.PlatformEventType.getName:()Ljava/lang/String;
invokevirtual java.lang.String.compareTo:(Ljava/lang/String;)I
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 x Ljdk/jfr/internal/EventControl;
0 1 1 y Ljdk/jfr/internal/EventControl;
}
SourceFile: "SettingsManager.java"
NestMembers:
jdk.jfr.internal.SettingsManager$InternalSetting
InnerClasses:
public final Lookup = java.lang.invoke.MethodHandles$Lookup of java.lang.invoke.MethodHandles
public abstract Entry = java.util.Map$Entry of java.util.Map
final NamedControl = jdk.jfr.internal.EventControl$NamedControl of jdk.jfr.internal.EventControl
private InternalSetting = jdk.jfr.internal.SettingsManager$InternalSetting of jdk.jfr.internal.SettingsManager