public final class jdk.jfr.internal.settings.EnabledSetting extends jdk.jfr.internal.settings.JDKSettingControl
minor version: 0
major version: 59
flags: flags: (0x0031) ACC_PUBLIC, ACC_FINAL, ACC_SUPER
this_class: jdk.jfr.internal.settings.EnabledSetting
super_class: jdk.jfr.internal.settings.JDKSettingControl
{
private final jdk.jfr.internal.settings.BooleanValue booleanValue;
descriptor: Ljdk/jfr/internal/settings/BooleanValue;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final jdk.jfr.internal.PlatformEventType eventType;
descriptor: Ljdk/jfr/internal/PlatformEventType;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
public void <init>(jdk.jfr.internal.PlatformEventType, java.lang.String);
descriptor: (Ljdk/jfr/internal/PlatformEventType;Ljava/lang/String;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
invokespecial jdk.jfr.internal.settings.JDKSettingControl.<init>:()V
1: aload 0
aload 2
invokestatic jdk.jfr.internal.settings.BooleanValue.valueOf:(Ljava/lang/String;)Ljdk/jfr/internal/settings/BooleanValue;
putfield jdk.jfr.internal.settings.EnabledSetting.booleanValue:Ljdk/jfr/internal/settings/BooleanValue;
2: aload 0
aload 1
invokestatic java.util.Objects.requireNonNull:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast jdk.jfr.internal.PlatformEventType
putfield jdk.jfr.internal.settings.EnabledSetting.eventType:Ljdk/jfr/internal/PlatformEventType;
3: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Ljdk/jfr/internal/settings/EnabledSetting;
0 4 1 eventType Ljdk/jfr/internal/PlatformEventType;
0 4 2 defaultValue Ljava/lang/String;
MethodParameters:
Name Flags
eventType
defaultValue
public java.lang.String combine(java.util.Set<java.lang.String>);
descriptor: (Ljava/util/Set;)Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield jdk.jfr.internal.settings.EnabledSetting.booleanValue:Ljdk/jfr/internal/settings/BooleanValue;
aload 1
invokevirtual jdk.jfr.internal.settings.BooleanValue.union:(Ljava/util/Set;)Ljava/lang/String;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljdk/jfr/internal/settings/EnabledSetting;
0 1 1 values Ljava/util/Set<Ljava/lang/String;>;
Signature: (Ljava/util/Set<Ljava/lang/String;>;)Ljava/lang/String;
MethodParameters:
Name Flags
values
public void setValue(java.lang.String);
descriptor: (Ljava/lang/String;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield jdk.jfr.internal.settings.EnabledSetting.booleanValue:Ljdk/jfr/internal/settings/BooleanValue;
aload 1
invokevirtual jdk.jfr.internal.settings.BooleanValue.setValue:(Ljava/lang/String;)V
1: aload 0
getfield jdk.jfr.internal.settings.EnabledSetting.eventType:Ljdk/jfr/internal/PlatformEventType;
aload 0
getfield jdk.jfr.internal.settings.EnabledSetting.booleanValue:Ljdk/jfr/internal/settings/BooleanValue;
invokevirtual jdk.jfr.internal.settings.BooleanValue.getBoolean:()Z
invokevirtual jdk.jfr.internal.PlatformEventType.setEnabled:(Z)V
2: aload 0
getfield jdk.jfr.internal.settings.EnabledSetting.eventType:Ljdk/jfr/internal/PlatformEventType;
invokevirtual jdk.jfr.internal.PlatformEventType.isEnabled:()Z
ifeq 5
aload 0
getfield jdk.jfr.internal.settings.EnabledSetting.eventType:Ljdk/jfr/internal/PlatformEventType;
invokevirtual jdk.jfr.internal.PlatformEventType.isJVM:()Z
ifne 5
3: aload 0
getfield jdk.jfr.internal.settings.EnabledSetting.eventType:Ljdk/jfr/internal/PlatformEventType;
invokevirtual jdk.jfr.internal.PlatformEventType.isInstrumented:()Z
ifne 5
4: aload 0
getfield jdk.jfr.internal.settings.EnabledSetting.eventType:Ljdk/jfr/internal/PlatformEventType;
iconst_1
invokevirtual jdk.jfr.internal.PlatformEventType.markForInstrumentation:(Z)V
5: StackMap locals:
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Ljdk/jfr/internal/settings/EnabledSetting;
0 6 1 value Ljava/lang/String;
MethodParameters:
Name Flags
value
public java.lang.String getValue();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield jdk.jfr.internal.settings.EnabledSetting.booleanValue:Ljdk/jfr/internal/settings/BooleanValue;
invokevirtual jdk.jfr.internal.settings.BooleanValue.getValue:()Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljdk/jfr/internal/settings/EnabledSetting;
}
SourceFile: "EnabledSetting.java"
RuntimeVisibleAnnotations:
jdk.jfr.MetadataDefinition()
jdk.jfr.Label(value = "Enabled")
jdk.jfr.Description(value = "Record event")
jdk.jfr.Name(value = "jdk.settings.Enabled")
jdk.jfr.BooleanFlag()