public final class jdk.jfr.internal.settings.CutoffSetting 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.CutoffSetting
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/CutoffSetting;
invokestatic jdk.jfr.internal.Type.getTypeId:(Ljava/lang/Class;)J
putstatic jdk.jfr.internal.settings.CutoffSetting.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.CutoffSetting.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.CutoffSetting.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/CutoffSetting;
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=9, args_size=2
start local 0 start local 1 0: lconst_0
lstore 2
start local 2 1: ldc "0 ns"
astore 4
start local 4 2: aload 1
invokeinterface java.util.Set.iterator:()Ljava/util/Iterator;
astore 6
goto 8
StackMap locals: jdk.jfr.internal.settings.CutoffSetting java.util.Set long java.lang.String top java.util.Iterator
StackMap stack:
3: aload 6
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast java.lang.String
astore 5
start local 5 4: aload 5
invokestatic jdk.jfr.internal.Utils.parseTimespanWithInfinity:(Ljava/lang/String;)J
lstore 7
start local 7 5: lload 7
lload 2
lcmp
ifle 8
6: aload 5
astore 4
7: lload 7
lstore 2
end local 7 end local 5 8: StackMap locals:
StackMap stack:
aload 6
invokeinterface java.util.Iterator.hasNext:()Z
ifne 3
9: aload 4
areturn
end local 4 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 10 0 this Ljdk/jfr/internal/settings/CutoffSetting;
0 10 1 values Ljava/util/Set<Ljava/lang/String;>;
1 10 2 max J
2 10 4 text Ljava/lang/String;
4 8 5 value Ljava/lang/String;
5 8 7 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.CutoffSetting.value:Ljava/lang/String;
2: aload 0
getfield jdk.jfr.internal.settings.CutoffSetting.eventType:Ljdk/jfr/internal/PlatformEventType;
lload 2
invokevirtual jdk.jfr.internal.PlatformEventType.setCutoff:(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/CutoffSetting;
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.CutoffSetting.value:Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljdk/jfr/internal/settings/CutoffSetting;
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.CutoffSetting.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
public static long parseValueSafe(java.lang.String);
descriptor: (Ljava/lang/String;)J
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
ifnonnull 2
1: lconst_0
lreturn
2: StackMap locals:
StackMap stack:
aload 0
invokestatic jdk.jfr.internal.Utils.parseTimespanWithInfinity:(Ljava/lang/String;)J
3: lreturn
4: StackMap locals:
StackMap stack: java.lang.NumberFormatException
pop
5: lconst_0
lreturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 value Ljava/lang/String;
Exception table:
from to target type
2 3 4 Class java.lang.NumberFormatException
MethodParameters:
Name Flags
value
}
SourceFile: "CutoffSetting.java"
RuntimeVisibleAnnotations:
jdk.jfr.MetadataDefinition()
jdk.jfr.Label(value = "Cutoff")
jdk.jfr.Description(value = "Limit running time of event")
jdk.jfr.Name(value = "jdk.settings.Cutoff")
jdk.jfr.Timespan()