public final class jdk.jfr.internal.settings.PeriodSetting 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.PeriodSetting
super_class: jdk.jfr.internal.settings.JDKSettingControl
{
private static final long typeId;
descriptor: J
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
public static final java.lang.String EVERY_CHUNK;
descriptor: Ljava/lang/String;
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
ConstantValue: "everyChunk"
public static final java.lang.String BEGIN_CHUNK;
descriptor: Ljava/lang/String;
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
ConstantValue: "beginChunk"
public static final java.lang.String END_CHUNK;
descriptor: Ljava/lang/String;
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
ConstantValue: "endChunk"
public static final java.lang.String NAME;
descriptor: Ljava/lang/String;
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
ConstantValue: "period"
private final jdk.jfr.internal.PlatformEventType eventType;
descriptor: Ljdk/jfr/internal/PlatformEventType;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private java.lang.String value;
descriptor: Ljava/lang/String;
flags: (0x0002) ACC_PRIVATE
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=2, locals=0, args_size=0
0: ldc Ljdk/jfr/internal/settings/PeriodSetting;
invokestatic jdk.jfr.internal.Type.getTypeId:(Ljava/lang/Class;)J
putstatic jdk.jfr.internal.settings.PeriodSetting.typeId:J
1: 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 "everyChunk"
putfield jdk.jfr.internal.settings.PeriodSetting.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.PeriodSetting.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/PeriodSetting;
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=11, args_size=2
start local 0 start local 1 0: iconst_0
istore 2
start local 2 1: iconst_0
istore 3
start local 3 2: aconst_null
astore 4
start local 4 3: aconst_null
astore 5
start local 5 4: aload 1
invokeinterface java.util.Set.iterator:()Ljava/util/Iterator;
astore 7
goto 25
StackMap locals: jdk.jfr.internal.settings.PeriodSetting java.util.Set int int java.lang.Long java.lang.String top java.util.Iterator
StackMap stack:
5: aload 7
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast java.lang.String
astore 6
start local 6 6: aload 6
dup
astore 8
invokevirtual java.lang.String.hashCode:()I
lookupswitch { // 3
356349970: 7
1085979460: 8
1699347026: 9
default: 17
}
StackMap locals: jdk.jfr.internal.settings.PeriodSetting java.util.Set int int java.lang.Long java.lang.String java.lang.String java.util.Iterator java.lang.String
StackMap stack:
7: aload 8
ldc "everyChunk"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifne 10
goto 17
StackMap locals:
StackMap stack:
8: aload 8
ldc "beginChunk"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifne 13
goto 17
StackMap locals:
StackMap stack:
9: aload 8
ldc "endChunk"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifne 15
goto 17
10: StackMap locals:
StackMap stack:
iconst_1
istore 2
11: iconst_1
istore 3
12: goto 25
13: StackMap locals:
StackMap stack:
iconst_1
istore 2
14: goto 25
15: StackMap locals:
StackMap stack:
iconst_1
istore 3
16: goto 25
17: StackMap locals:
StackMap stack:
aload 6
invokestatic jdk.jfr.internal.Utils.parseTimespanWithInfinity:(Ljava/lang/String;)J
lstore 9
start local 9 18: aload 4
ifnonnull 22
19: aload 6
astore 5
20: lload 9
invokestatic java.lang.Long.valueOf:(J)Ljava/lang/Long;
astore 4
21: goto 25
22: StackMap locals: long
StackMap stack:
lload 9
aload 4
invokevirtual java.lang.Long.longValue:()J
lcmp
ifge 25
23: aload 6
astore 5
24: lload 9
invokestatic java.lang.Long.valueOf:(J)Ljava/lang/Long;
astore 4
end local 9 end local 6 25: StackMap locals: jdk.jfr.internal.settings.PeriodSetting java.util.Set int int java.lang.Long java.lang.String top java.util.Iterator
StackMap stack:
aload 7
invokeinterface java.util.Iterator.hasNext:()Z
ifne 5
26: aload 4
ifnull 28
27: aload 5
areturn
28: StackMap locals: jdk.jfr.internal.settings.PeriodSetting java.util.Set int int java.lang.Long java.lang.String
StackMap stack:
iload 2
ifeq 30
iload 3
ifne 30
29: ldc "beginChunk"
areturn
30: StackMap locals:
StackMap stack:
iload 2
ifne 32
iload 3
ifeq 32
31: ldc "endChunk"
areturn
32: StackMap locals:
StackMap stack:
ldc "everyChunk"
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 33 0 this Ljdk/jfr/internal/settings/PeriodSetting;
0 33 1 values Ljava/util/Set<Ljava/lang/String;>;
1 33 2 beginChunk Z
2 33 3 endChunk Z
3 33 4 min Ljava/lang/Long;
4 33 5 text Ljava/lang/String;
6 25 6 value Ljava/lang/String;
18 25 9 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=5, locals=5, args_size=2
start local 0 start local 1 0: aload 1
dup
astore 2
invokevirtual java.lang.String.hashCode:()I
lookupswitch { // 3
356349970: 1
1085979460: 2
1699347026: 3
default: 10
}
StackMap locals: java.lang.String
StackMap stack:
1: aload 2
ldc "everyChunk"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifne 4
goto 10
StackMap locals:
StackMap stack:
2: aload 2
ldc "beginChunk"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifne 6
goto 10
StackMap locals:
StackMap stack:
3: aload 2
ldc "endChunk"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifne 8
goto 10
4: StackMap locals:
StackMap stack:
aload 0
getfield jdk.jfr.internal.settings.PeriodSetting.eventType:Ljdk/jfr/internal/PlatformEventType;
lconst_0
iconst_1
iconst_1
invokevirtual jdk.jfr.internal.PlatformEventType.setPeriod:(JZZ)V
5: goto 15
6: StackMap locals:
StackMap stack:
aload 0
getfield jdk.jfr.internal.settings.PeriodSetting.eventType:Ljdk/jfr/internal/PlatformEventType;
lconst_0
iconst_1
iconst_0
invokevirtual jdk.jfr.internal.PlatformEventType.setPeriod:(JZZ)V
7: goto 15
8: StackMap locals:
StackMap stack:
aload 0
getfield jdk.jfr.internal.settings.PeriodSetting.eventType:Ljdk/jfr/internal/PlatformEventType;
lconst_0
iconst_0
iconst_1
invokevirtual jdk.jfr.internal.PlatformEventType.setPeriod:(JZZ)V
9: goto 15
10: StackMap locals:
StackMap stack:
aload 1
invokestatic jdk.jfr.internal.Utils.parseTimespanWithInfinity:(Ljava/lang/String;)J
lstore 3
start local 3 11: lload 3
ldc 9223372036854775807
lcmp
ifeq 14
12: aload 0
getfield jdk.jfr.internal.settings.PeriodSetting.eventType:Ljdk/jfr/internal/PlatformEventType;
lload 3
ldc 1000000
ldiv
iconst_0
iconst_0
invokevirtual jdk.jfr.internal.PlatformEventType.setPeriod:(JZZ)V
13: goto 15
14: StackMap locals: long
StackMap stack:
aload 0
getfield jdk.jfr.internal.settings.PeriodSetting.eventType:Ljdk/jfr/internal/PlatformEventType;
ldc 9223372036854775807
iconst_0
iconst_0
invokevirtual jdk.jfr.internal.PlatformEventType.setPeriod:(JZZ)V
end local 3 15: StackMap locals:
StackMap stack:
aload 0
aload 1
putfield jdk.jfr.internal.settings.PeriodSetting.value:Ljava/lang/String;
16: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 17 0 this Ljdk/jfr/internal/settings/PeriodSetting;
0 17 1 value Ljava/lang/String;
11 15 3 nanos 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.PeriodSetting.value:Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljdk/jfr/internal/settings/PeriodSetting;
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.PeriodSetting.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: "PeriodSetting.java"
RuntimeVisibleAnnotations:
jdk.jfr.MetadataDefinition()
jdk.jfr.Label(value = "Period")
jdk.jfr.Description(value = "Record event at interval")
jdk.jfr.Name(value = "jdk.settings.Period")