public final class jdk.jfr.internal.settings.ThresholdSetting 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.ThresholdSetting
super_class: jdk.jfr.internal.settings.JDKSettingControl
{
private static final long typeId;
descriptor: J
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
private java.lang.String value;
descriptor: Ljava/lang/String;
flags: (0x0002) ACC_PRIVATE
private final jdk.jfr.internal.PlatformEventType eventType;
descriptor: Ljdk/jfr/internal/PlatformEventType;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=2, locals=0, args_size=0
0: ldc Ljdk/jfr/internal/settings/ThresholdSetting;
invokestatic jdk.jfr.internal.Type.getTypeId:(Ljava/lang/Class;)J
putstatic jdk.jfr.internal.settings.ThresholdSetting.typeId:J
return
LocalVariableTable:
Start End Slot Name Signature
public void <init>(jdk.jfr.internal.PlatformEventType);
descriptor: (Ljdk/jfr/internal/PlatformEventType;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
invokespecial jdk.jfr.internal.settings.JDKSettingControl.<init>:()V
1: aload 0
ldc "0 ns"
putfield jdk.jfr.internal.settings.ThresholdSetting.value:Ljava/lang/String;
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.ThresholdSetting.eventType:Ljdk/jfr/internal/PlatformEventType;
3: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Ljdk/jfr/internal/settings/ThresholdSetting;
0 4 1 eventType Ljdk/jfr/internal/PlatformEventType;
MethodParameters:
Name Flags
eventType
public java.lang.String combine(java.util.Set<java.lang.String>);
descriptor: (Ljava/util/Set;)Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=8, args_size=2
start local 0 start local 1 0: aconst_null
astore 2
start local 2 1: aconst_null
astore 3
start local 3 2: aload 1
invokeinterface java.util.Set.iterator:()Ljava/util/Iterator;
astore 5
goto 12
StackMap locals: jdk.jfr.internal.settings.ThresholdSetting java.util.Set java.lang.Long java.lang.String top java.util.Iterator
StackMap stack:
3: aload 5
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast java.lang.String
astore 4
start local 4 4: aload 4
invokestatic jdk.jfr.internal.Utils.parseTimespanWithInfinity:(Ljava/lang/String;)J
lstore 6
start local 6 5: aload 2
ifnonnull 9
6: lload 6
invokestatic java.lang.Long.valueOf:(J)Ljava/lang/Long;
astore 2
7: aload 4
astore 3
8: goto 12
9: StackMap locals: jdk.jfr.internal.settings.ThresholdSetting java.util.Set java.lang.Long java.lang.String java.lang.String java.util.Iterator long
StackMap stack:
lload 6
aload 2
invokevirtual java.lang.Long.longValue:()J
lcmp
ifge 12
10: aload 4
astore 3
11: lload 6
invokestatic java.lang.Long.valueOf:(J)Ljava/lang/Long;
astore 2
end local 6 end local 4 12: StackMap locals: jdk.jfr.internal.settings.ThresholdSetting java.util.Set java.lang.Long java.lang.String top java.util.Iterator
StackMap stack:
aload 5
invokeinterface java.util.Iterator.hasNext:()Z
ifne 3
13: aload 3
ifnonnull 14
ldc "0 ns"
goto 15
StackMap locals: jdk.jfr.internal.settings.ThresholdSetting java.util.Set java.lang.Long java.lang.String
StackMap stack:
14: aload 3
StackMap locals:
StackMap stack: java.lang.String
15: areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 16 0 this Ljdk/jfr/internal/settings/ThresholdSetting;
0 16 1 values Ljava/util/Set<Ljava/lang/String;>;
1 16 2 min Ljava/lang/Long;
2 16 3 text Ljava/lang/String;
4 12 4 value Ljava/lang/String;
5 12 6 l J
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=3, locals=4, args_size=2
start local 0 start local 1 0: aload 1
invokestatic jdk.jfr.internal.Utils.parseTimespanWithInfinity:(Ljava/lang/String;)J
lstore 2
start local 2 1: aload 0
aload 1
putfield jdk.jfr.internal.settings.ThresholdSetting.value:Ljava/lang/String;
2: aload 0
getfield jdk.jfr.internal.settings.ThresholdSetting.eventType:Ljdk/jfr/internal/PlatformEventType;
lload 2
invokevirtual jdk.jfr.internal.PlatformEventType.setThreshold:(J)V
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/ThresholdSetting;
0 4 1 value Ljava/lang/String;
1 4 2 l J
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.ThresholdSetting.value:Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljdk/jfr/internal/settings/ThresholdSetting;
public static boolean isType(long);
descriptor: (J)Z
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=4, locals=2, args_size=1
start local 0 0: getstatic jdk.jfr.internal.settings.ThresholdSetting.typeId:J
lload 0
lcmp
ifne 1
iconst_1
ireturn
StackMap locals:
StackMap stack:
1: iconst_0
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 typeId J
MethodParameters:
Name Flags
typeId
}
SourceFile: "ThresholdSetting.java"
RuntimeVisibleAnnotations:
jdk.jfr.MetadataDefinition()
jdk.jfr.Label(value = "Threshold")
jdk.jfr.Name(value = "jdk.settings.Threshold")
jdk.jfr.Description(value = "Record event with duration above or equal to threshold")
jdk.jfr.Timespan()