public final class jdk.jfr.internal.PlatformEventType extends jdk.jfr.internal.Type
minor version: 0
major version: 59
flags: flags: (0x0031) ACC_PUBLIC, ACC_FINAL, ACC_SUPER
this_class: jdk.jfr.internal.PlatformEventType
super_class: jdk.jfr.internal.Type
{
private final boolean isJVM;
descriptor: Z
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final boolean isJDK;
descriptor: Z
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final boolean isMethodSampling;
descriptor: Z
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final java.util.List<jdk.jfr.SettingDescriptor> settings;
descriptor: Ljava/util/List;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
Signature: Ljava/util/List<Ljdk/jfr/SettingDescriptor;>;
private final boolean dynamicSettings;
descriptor: Z
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final int stackTraceOffset;
descriptor: I
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private boolean largeSize;
descriptor: Z
flags: (0x0002) ACC_PRIVATE
private boolean enabled;
descriptor: Z
flags: (0x0002) ACC_PRIVATE
private boolean stackTraceEnabled;
descriptor: Z
flags: (0x0002) ACC_PRIVATE
private long thresholdTicks;
descriptor: J
flags: (0x0002) ACC_PRIVATE
private long period;
descriptor: J
flags: (0x0002) ACC_PRIVATE
private boolean hasHook;
descriptor: Z
flags: (0x0002) ACC_PRIVATE
private boolean beginChunk;
descriptor: Z
flags: (0x0002) ACC_PRIVATE
private boolean endChunk;
descriptor: Z
flags: (0x0002) ACC_PRIVATE
private boolean hasStackTrace;
descriptor: Z
flags: (0x0002) ACC_PRIVATE
private boolean hasDuration;
descriptor: Z
flags: (0x0002) ACC_PRIVATE
private boolean hasPeriod;
descriptor: Z
flags: (0x0002) ACC_PRIVATE
private boolean hasCutoff;
descriptor: Z
flags: (0x0002) ACC_PRIVATE
private boolean hasThrottle;
descriptor: Z
flags: (0x0002) ACC_PRIVATE
private boolean isInstrumented;
descriptor: Z
flags: (0x0002) ACC_PRIVATE
private boolean markForInstrumentation;
descriptor: Z
flags: (0x0002) ACC_PRIVATE
private boolean registered;
descriptor: Z
flags: (0x0002) ACC_PRIVATE
private boolean committable;
descriptor: Z
flags: (0x0002) ACC_PRIVATE
void <init>(java.lang.String, long, boolean, boolean);
descriptor: (Ljava/lang/String;JZZ)V
flags: (0x0000)
Code:
stack=5, locals=6, args_size=5
start local 0 start local 1 start local 2 start local 4 start local 5 0: aload 0
aload 1
getstatic jdk.jfr.internal.Type.SUPER_TYPE_EVENT:Ljava/lang/String;
lload 2
invokespecial jdk.jfr.internal.Type.<init>:(Ljava/lang/String;Ljava/lang/String;J)V
1: aload 0
new java.util.ArrayList
dup
iconst_5
invokespecial java.util.ArrayList.<init>:(I)V
putfield jdk.jfr.internal.PlatformEventType.settings:Ljava/util/List;
2: aload 0
iconst_0
putfield jdk.jfr.internal.PlatformEventType.largeSize:Z
3: aload 0
iconst_0
putfield jdk.jfr.internal.PlatformEventType.enabled:Z
4: aload 0
iconst_1
putfield jdk.jfr.internal.PlatformEventType.stackTraceEnabled:Z
5: aload 0
lconst_0
putfield jdk.jfr.internal.PlatformEventType.thresholdTicks:J
6: aload 0
lconst_0
putfield jdk.jfr.internal.PlatformEventType.period:J
7: aload 0
iconst_1
putfield jdk.jfr.internal.PlatformEventType.hasStackTrace:Z
8: aload 0
iconst_1
putfield jdk.jfr.internal.PlatformEventType.hasDuration:Z
9: aload 0
iconst_1
putfield jdk.jfr.internal.PlatformEventType.hasPeriod:Z
10: aload 0
iconst_0
putfield jdk.jfr.internal.PlatformEventType.hasCutoff:Z
11: aload 0
iconst_0
putfield jdk.jfr.internal.PlatformEventType.hasThrottle:Z
12: aload 0
iconst_1
putfield jdk.jfr.internal.PlatformEventType.registered:Z
13: aload 0
aload 0
getfield jdk.jfr.internal.PlatformEventType.enabled:Z
ifeq 14
aload 0
getfield jdk.jfr.internal.PlatformEventType.registered:Z
ifeq 14
iconst_1
goto 15
StackMap locals: jdk.jfr.internal.PlatformEventType java.lang.String long int int
StackMap stack: jdk.jfr.internal.PlatformEventType
14: iconst_0
StackMap locals: jdk.jfr.internal.PlatformEventType java.lang.String long int int
StackMap stack: jdk.jfr.internal.PlatformEventType int
15: putfield jdk.jfr.internal.PlatformEventType.committable:Z
16: aload 0
iload 5
putfield jdk.jfr.internal.PlatformEventType.dynamicSettings:Z
17: aload 0
lload 2
invokestatic jdk.jfr.internal.Type.isDefinedByJVM:(J)Z
putfield jdk.jfr.internal.PlatformEventType.isJVM:Z
18: aload 0
aload 0
getfield jdk.jfr.internal.PlatformEventType.isJVM:Z
ifeq 20
aload 1
ldc "jdk.ExecutionSample"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifne 19
aload 1
ldc "jdk.NativeMethodSample"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 20
StackMap locals:
StackMap stack: jdk.jfr.internal.PlatformEventType
19: iconst_1
goto 21
StackMap locals:
StackMap stack: jdk.jfr.internal.PlatformEventType
20: iconst_0
StackMap locals: jdk.jfr.internal.PlatformEventType java.lang.String long int int
StackMap stack: jdk.jfr.internal.PlatformEventType int
21: putfield jdk.jfr.internal.PlatformEventType.isMethodSampling:Z
22: aload 0
iload 4
putfield jdk.jfr.internal.PlatformEventType.isJDK:Z
23: aload 0
aload 1
iload 4
invokestatic jdk.jfr.internal.PlatformEventType.stackTraceOffset:(Ljava/lang/String;Z)I
putfield jdk.jfr.internal.PlatformEventType.stackTraceOffset:I
24: return
end local 5 end local 4 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 25 0 this Ljdk/jfr/internal/PlatformEventType;
0 25 1 name Ljava/lang/String;
0 25 2 id J
0 25 4 isJDK Z
0 25 5 dynamicSettings Z
MethodParameters:
Name Flags
name
id
isJDK
dynamicSettings
private static boolean isExceptionEvent(java.lang.String);
descriptor: (Ljava/lang/String;)Z
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=2, locals=2, args_size=1
start local 0 0: aload 0
dup
astore 1
invokevirtual java.lang.String.hashCode:()I
lookupswitch { // 2
-1925061290: 1
-869620035: 2
default: 4
}
StackMap locals: java.lang.String
StackMap stack:
1: aload 1
ldc "jdk.JavaExceptionThrow"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifne 3
goto 4
StackMap locals:
StackMap stack:
2: aload 1
ldc "jdk.JavaErrorThrow"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifne 3
goto 4
3: StackMap locals:
StackMap stack:
iconst_1
ireturn
4: StackMap locals:
StackMap stack:
iconst_0
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 name Ljava/lang/String;
MethodParameters:
Name Flags
name
private static boolean isUsingHandler(java.lang.String);
descriptor: (Ljava/lang/String;)Z
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=2, locals=2, args_size=1
start local 0 0: aload 0
dup
astore 1
invokevirtual java.lang.String.hashCode:()I
lookupswitch { // 5
-270233553: 1
201926514: 2
217707622: 3
528863247: 4
571087718: 5
default: 7
}
StackMap locals: java.lang.String
StackMap stack:
1: aload 1
ldc "jdk.FileRead"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifne 6
goto 7
StackMap locals:
StackMap stack:
2: aload 1
ldc "jdk.FileForce"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifne 6
goto 7
StackMap locals:
StackMap stack:
3: aload 1
ldc "jdk.FileWrite"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifne 6
goto 7
StackMap locals:
StackMap stack:
4: aload 1
ldc "jdk.SocketWrite"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifne 6
goto 7
StackMap locals:
StackMap stack:
5: aload 1
ldc "jdk.SocketRead"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifne 6
goto 7
6: StackMap locals:
StackMap stack:
iconst_1
ireturn
7: StackMap locals:
StackMap stack:
iconst_0
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 name Ljava/lang/String;
MethodParameters:
Name Flags
name
private static int stackTraceOffset(java.lang.String, boolean);
descriptor: (Ljava/lang/String;Z)I
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=1, locals=2, args_size=2
start local 0 start local 1 0: iload 1
ifeq 5
1: aload 0
invokestatic jdk.jfr.internal.PlatformEventType.isExceptionEvent:(Ljava/lang/String;)Z
ifeq 3
2: iconst_4
ireturn
3: StackMap locals:
StackMap stack:
aload 0
invokestatic jdk.jfr.internal.PlatformEventType.isUsingHandler:(Ljava/lang/String;)Z
ifeq 5
4: iconst_3
ireturn
5: StackMap locals:
StackMap stack:
iconst_4
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 name Ljava/lang/String;
0 6 1 isJDK Z
MethodParameters:
Name Flags
name
isJDK
public void add(jdk.jfr.SettingDescriptor);
descriptor: (Ljdk/jfr/SettingDescriptor;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 1
invokestatic java.util.Objects.requireNonNull:(Ljava/lang/Object;)Ljava/lang/Object;
pop
1: aload 0
getfield jdk.jfr.internal.PlatformEventType.settings:Ljava/util/List;
aload 1
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
2: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Ljdk/jfr/internal/PlatformEventType;
0 3 1 settingDescriptor Ljdk/jfr/SettingDescriptor;
MethodParameters:
Name Flags
settingDescriptor
public java.util.List<jdk.jfr.SettingDescriptor> getSettings();
descriptor: ()Ljava/util/List;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=4, args_size=1
start local 0 0: aload 0
getfield jdk.jfr.internal.PlatformEventType.dynamicSettings:Z
ifeq 8
1: new java.util.ArrayList
dup
aload 0
getfield jdk.jfr.internal.PlatformEventType.settings:Ljava/util/List;
invokeinterface java.util.List.size:()I
invokespecial java.util.ArrayList.<init>:(I)V
astore 1
start local 1 2: aload 0
getfield jdk.jfr.internal.PlatformEventType.settings:Ljava/util/List;
invokeinterface java.util.List.iterator:()Ljava/util/Iterator;
astore 3
goto 6
StackMap locals: jdk.jfr.internal.PlatformEventType java.util.List top java.util.Iterator
StackMap stack:
3: aload 3
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast jdk.jfr.SettingDescriptor
astore 2
start local 2 4: aload 2
invokevirtual jdk.jfr.SettingDescriptor.getTypeId:()J
aload 0
getfield jdk.jfr.internal.PlatformEventType.hasHook:Z
invokestatic jdk.jfr.internal.Utils.isSettingVisible:(JZ)Z
ifeq 6
5: aload 1
aload 2
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
end local 2 6: StackMap locals:
StackMap stack:
aload 3
invokeinterface java.util.Iterator.hasNext:()Z
ifne 3
7: aload 1
areturn
end local 1 8: StackMap locals: jdk.jfr.internal.PlatformEventType
StackMap stack:
aload 0
getfield jdk.jfr.internal.PlatformEventType.settings:Ljava/util/List;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 9 0 this Ljdk/jfr/internal/PlatformEventType;
2 8 1 list Ljava/util/List<Ljdk/jfr/SettingDescriptor;>;
4 6 2 s Ljdk/jfr/SettingDescriptor;
Signature: ()Ljava/util/List<Ljdk/jfr/SettingDescriptor;>;
public java.util.List<jdk.jfr.SettingDescriptor> getAllSettings();
descriptor: ()Ljava/util/List;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield jdk.jfr.internal.PlatformEventType.settings:Ljava/util/List;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljdk/jfr/internal/PlatformEventType;
Signature: ()Ljava/util/List<Ljdk/jfr/SettingDescriptor;>;
public void setHasStackTrace(boolean);
descriptor: (Z)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
iload 1
putfield jdk.jfr.internal.PlatformEventType.hasStackTrace:Z
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Ljdk/jfr/internal/PlatformEventType;
0 2 1 hasStackTrace Z
MethodParameters:
Name Flags
hasStackTrace
public void setHasDuration(boolean);
descriptor: (Z)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
iload 1
putfield jdk.jfr.internal.PlatformEventType.hasDuration:Z
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Ljdk/jfr/internal/PlatformEventType;
0 2 1 hasDuration Z
MethodParameters:
Name Flags
hasDuration
public void setHasCutoff(boolean);
descriptor: (Z)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
iload 1
putfield jdk.jfr.internal.PlatformEventType.hasCutoff:Z
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Ljdk/jfr/internal/PlatformEventType;
0 2 1 hasCutoff Z
MethodParameters:
Name Flags
hasCutoff
public void setHasThrottle(boolean);
descriptor: (Z)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
iload 1
putfield jdk.jfr.internal.PlatformEventType.hasThrottle:Z
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Ljdk/jfr/internal/PlatformEventType;
0 2 1 hasThrottle Z
MethodParameters:
Name Flags
hasThrottle
public void setCutoff(long);
descriptor: (J)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=5, args_size=2
start local 0 start local 1 0: aload 0
getfield jdk.jfr.internal.PlatformEventType.isJVM:Z
ifeq 3
1: lload 1
invokestatic jdk.jfr.internal.Utils.nanosToTicks:(J)J
lstore 3
start local 3 2: invokestatic jdk.jfr.internal.JVM.getJVM:()Ljdk/jfr/internal/JVM;
aload 0
invokevirtual jdk.jfr.internal.PlatformEventType.getId:()J
lload 3
invokevirtual jdk.jfr.internal.JVM.setCutoff:(JJ)Z
pop
end local 3 3: StackMap locals:
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Ljdk/jfr/internal/PlatformEventType;
0 4 1 cutoffNanos J
2 3 3 cutoffTicks J
MethodParameters:
Name Flags
cutoffNanos
public void setThrottle(long, long);
descriptor: (JJ)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=7, locals=5, args_size=3
start local 0 start local 1 start local 3 0: aload 0
getfield jdk.jfr.internal.PlatformEventType.isJVM:Z
ifeq 2
1: invokestatic jdk.jfr.internal.JVM.getJVM:()Ljdk/jfr/internal/JVM;
aload 0
invokevirtual jdk.jfr.internal.PlatformEventType.getId:()J
lload 1
lload 3
invokevirtual jdk.jfr.internal.JVM.setThrottle:(JJJ)Z
pop
2: StackMap locals:
StackMap stack:
return
end local 3 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Ljdk/jfr/internal/PlatformEventType;
0 3 1 eventSampleSize J
0 3 3 period_ms J
MethodParameters:
Name Flags
eventSampleSize
period_ms
public void setHasPeriod(boolean);
descriptor: (Z)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
iload 1
putfield jdk.jfr.internal.PlatformEventType.hasPeriod:Z
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Ljdk/jfr/internal/PlatformEventType;
0 2 1 hasPeriod Z
MethodParameters:
Name Flags
hasPeriod
public boolean hasStackTrace();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield jdk.jfr.internal.PlatformEventType.hasStackTrace:Z
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljdk/jfr/internal/PlatformEventType;
public boolean hasDuration();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield jdk.jfr.internal.PlatformEventType.hasDuration:Z
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljdk/jfr/internal/PlatformEventType;
public boolean hasPeriod();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield jdk.jfr.internal.PlatformEventType.hasPeriod:Z
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljdk/jfr/internal/PlatformEventType;
public boolean hasCutoff();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield jdk.jfr.internal.PlatformEventType.hasCutoff:Z
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljdk/jfr/internal/PlatformEventType;
public boolean hasThrottle();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield jdk.jfr.internal.PlatformEventType.hasThrottle:Z
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljdk/jfr/internal/PlatformEventType;
public boolean isEnabled();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield jdk.jfr.internal.PlatformEventType.enabled:Z
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljdk/jfr/internal/PlatformEventType;
public boolean isJVM();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield jdk.jfr.internal.PlatformEventType.isJVM:Z
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljdk/jfr/internal/PlatformEventType;
public boolean isJDK();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield jdk.jfr.internal.PlatformEventType.isJDK:Z
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljdk/jfr/internal/PlatformEventType;
public void setEnabled(boolean);
descriptor: (Z)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=4, args_size=2
start local 0 start local 1 0: aload 0
iload 1
putfield jdk.jfr.internal.PlatformEventType.enabled:Z
1: aload 0
invokevirtual jdk.jfr.internal.PlatformEventType.updateCommittable:()V
2: aload 0
getfield jdk.jfr.internal.PlatformEventType.isJVM:Z
ifeq 10
3: aload 0
getfield jdk.jfr.internal.PlatformEventType.isMethodSampling:Z
ifeq 9
4: iload 1
ifeq 5
aload 0
getfield jdk.jfr.internal.PlatformEventType.period:J
goto 6
StackMap locals:
StackMap stack:
5: lconst_0
StackMap locals:
StackMap stack: long
6: lstore 2
start local 2 7: invokestatic jdk.jfr.internal.JVM.getJVM:()Ljdk/jfr/internal/JVM;
aload 0
invokevirtual jdk.jfr.internal.PlatformEventType.getId:()J
lload 2
invokevirtual jdk.jfr.internal.JVM.setMethodSamplingInterval:(JJ)V
end local 2 8: goto 10
9: StackMap locals:
StackMap stack:
invokestatic jdk.jfr.internal.JVM.getJVM:()Ljdk/jfr/internal/JVM;
aload 0
invokevirtual jdk.jfr.internal.PlatformEventType.getId:()J
iload 1
invokevirtual jdk.jfr.internal.JVM.setEnabled:(JZ)V
10: StackMap locals:
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 11 0 this Ljdk/jfr/internal/PlatformEventType;
0 11 1 enabled Z
7 8 2 p J
MethodParameters:
Name Flags
enabled
public void setPeriod(long, boolean, boolean);
descriptor: (JZZ)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=7, args_size=4
start local 0 start local 1 start local 3 start local 4 0: aload 0
getfield jdk.jfr.internal.PlatformEventType.isMethodSampling:Z
ifeq 5
1: aload 0
getfield jdk.jfr.internal.PlatformEventType.enabled:Z
ifeq 2
lload 1
goto 3
StackMap locals:
StackMap stack:
2: lconst_0
StackMap locals:
StackMap stack: long
3: lstore 5
start local 5 4: invokestatic jdk.jfr.internal.JVM.getJVM:()Ljdk/jfr/internal/JVM;
aload 0
invokevirtual jdk.jfr.internal.PlatformEventType.getId:()J
lload 5
invokevirtual jdk.jfr.internal.JVM.setMethodSamplingInterval:(JJ)V
end local 5 5: StackMap locals:
StackMap stack:
aload 0
iload 3
putfield jdk.jfr.internal.PlatformEventType.beginChunk:Z
6: aload 0
iload 4
putfield jdk.jfr.internal.PlatformEventType.endChunk:Z
7: aload 0
lload 1
putfield jdk.jfr.internal.PlatformEventType.period:J
8: return
end local 4 end local 3 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 9 0 this Ljdk/jfr/internal/PlatformEventType;
0 9 1 periodMillis J
0 9 3 beginChunk Z
0 9 4 endChunk Z
4 5 5 p J
MethodParameters:
Name Flags
periodMillis
beginChunk
endChunk
public void setStackTraceEnabled(boolean);
descriptor: (Z)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=2, args_size=2
start local 0 start local 1 0: aload 0
iload 1
putfield jdk.jfr.internal.PlatformEventType.stackTraceEnabled:Z
1: aload 0
getfield jdk.jfr.internal.PlatformEventType.isJVM:Z
ifeq 3
2: invokestatic jdk.jfr.internal.JVM.getJVM:()Ljdk/jfr/internal/JVM;
aload 0
invokevirtual jdk.jfr.internal.PlatformEventType.getId:()J
iload 1
invokevirtual jdk.jfr.internal.JVM.setStackTraceEnabled:(JZ)V
3: StackMap locals:
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Ljdk/jfr/internal/PlatformEventType;
0 4 1 stackTraceEnabled Z
MethodParameters:
Name Flags
stackTraceEnabled
public void setThreshold(long);
descriptor: (J)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=3, args_size=2
start local 0 start local 1 0: aload 0
lload 1
invokestatic jdk.jfr.internal.Utils.nanosToTicks:(J)J
putfield jdk.jfr.internal.PlatformEventType.thresholdTicks:J
1: aload 0
getfield jdk.jfr.internal.PlatformEventType.isJVM:Z
ifeq 3
2: invokestatic jdk.jfr.internal.JVM.getJVM:()Ljdk/jfr/internal/JVM;
aload 0
invokevirtual jdk.jfr.internal.PlatformEventType.getId:()J
aload 0
getfield jdk.jfr.internal.PlatformEventType.thresholdTicks:J
invokevirtual jdk.jfr.internal.JVM.setThreshold:(JJ)Z
pop
3: StackMap locals:
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Ljdk/jfr/internal/PlatformEventType;
0 4 1 thresholdNanos J
MethodParameters:
Name Flags
thresholdNanos
public boolean isEveryChunk();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=1, args_size=1
start local 0 0: aload 0
getfield jdk.jfr.internal.PlatformEventType.period:J
lconst_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 this Ljdk/jfr/internal/PlatformEventType;
public boolean getStackTraceEnabled();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield jdk.jfr.internal.PlatformEventType.stackTraceEnabled:Z
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljdk/jfr/internal/PlatformEventType;
public long getThresholdTicks();
descriptor: ()J
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
getfield jdk.jfr.internal.PlatformEventType.thresholdTicks:J
lreturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljdk/jfr/internal/PlatformEventType;
public long getPeriod();
descriptor: ()J
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
getfield jdk.jfr.internal.PlatformEventType.period:J
lreturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljdk/jfr/internal/PlatformEventType;
public boolean hasEventHook();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield jdk.jfr.internal.PlatformEventType.hasHook:Z
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljdk/jfr/internal/PlatformEventType;
public void setEventHook(boolean);
descriptor: (Z)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
iload 1
putfield jdk.jfr.internal.PlatformEventType.hasHook:Z
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Ljdk/jfr/internal/PlatformEventType;
0 2 1 hasHook Z
MethodParameters:
Name Flags
hasHook
public boolean isBeginChunk();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield jdk.jfr.internal.PlatformEventType.beginChunk:Z
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljdk/jfr/internal/PlatformEventType;
public boolean isEndChunk();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield jdk.jfr.internal.PlatformEventType.endChunk:Z
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljdk/jfr/internal/PlatformEventType;
public boolean isInstrumented();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield jdk.jfr.internal.PlatformEventType.isInstrumented:Z
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljdk/jfr/internal/PlatformEventType;
public void setInstrumented();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
iconst_1
putfield jdk.jfr.internal.PlatformEventType.isInstrumented:Z
1: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Ljdk/jfr/internal/PlatformEventType;
public void markForInstrumentation(boolean);
descriptor: (Z)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
iload 1
putfield jdk.jfr.internal.PlatformEventType.markForInstrumentation:Z
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Ljdk/jfr/internal/PlatformEventType;
0 2 1 markForInstrumentation Z
MethodParameters:
Name Flags
markForInstrumentation
public boolean isMarkedForInstrumentation();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield jdk.jfr.internal.PlatformEventType.markForInstrumentation:Z
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljdk/jfr/internal/PlatformEventType;
public boolean setRegistered(boolean);
descriptor: (Z)Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=3, args_size=2
start local 0 start local 1 0: aload 0
getfield jdk.jfr.internal.PlatformEventType.registered:Z
iload 1
if_icmpeq 14
1: aload 0
iload 1
putfield jdk.jfr.internal.PlatformEventType.registered:Z
2: aload 0
invokevirtual jdk.jfr.internal.PlatformEventType.updateCommittable:()V
3: aload 0
invokevirtual jdk.jfr.internal.PlatformEventType.isJVM:()Z
ifne 4
aload 0
invokevirtual jdk.jfr.internal.PlatformEventType.isJDK:()Z
ifeq 5
StackMap locals:
StackMap stack:
4: getstatic jdk.jfr.internal.LogTag.JFR_SYSTEM_EVENT:Ljdk/jfr/internal/LogTag;
goto 6
StackMap locals:
StackMap stack:
5: getstatic jdk.jfr.internal.LogTag.JFR_EVENT:Ljdk/jfr/internal/LogTag;
StackMap locals:
StackMap stack: jdk.jfr.internal.LogTag
6: astore 2
start local 2 7: iload 1
ifeq 10
8: aload 2
getstatic jdk.jfr.internal.LogLevel.INFO:Ljdk/jfr/internal/LogLevel;
new java.lang.StringBuilder
dup
ldc "Registered "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 0
invokevirtual jdk.jfr.internal.PlatformEventType.getLogName:()Ljava/lang/String;
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
9: goto 11
10: StackMap locals: jdk.jfr.internal.LogTag
StackMap stack:
aload 2
getstatic jdk.jfr.internal.LogLevel.INFO:Ljdk/jfr/internal/LogLevel;
new java.lang.StringBuilder
dup
ldc "Unregistered "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 0
invokevirtual jdk.jfr.internal.PlatformEventType.getLogName:()Ljava/lang/String;
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
11: StackMap locals:
StackMap stack:
iload 1
ifne 13
12: invokestatic jdk.jfr.internal.MetadataRepository.getInstance:()Ljdk/jfr/internal/MetadataRepository;
invokevirtual jdk.jfr.internal.MetadataRepository.setUnregistered:()V
13: StackMap locals:
StackMap stack:
iconst_1
ireturn
end local 2 14: StackMap locals:
StackMap stack:
iconst_0
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 15 0 this Ljdk/jfr/internal/PlatformEventType;
0 15 1 registered Z
7 14 2 logTag Ljdk/jfr/internal/LogTag;
MethodParameters:
Name Flags
registered
private void updateCommittable();
descriptor: ()V
flags: (0x0002) ACC_PRIVATE
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
aload 0
getfield jdk.jfr.internal.PlatformEventType.enabled:Z
ifeq 1
aload 0
getfield jdk.jfr.internal.PlatformEventType.registered:Z
ifeq 1
iconst_1
goto 2
StackMap locals:
StackMap stack: jdk.jfr.internal.PlatformEventType
1: iconst_0
StackMap locals: jdk.jfr.internal.PlatformEventType
StackMap stack: jdk.jfr.internal.PlatformEventType int
2: putfield jdk.jfr.internal.PlatformEventType.committable:Z
3: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Ljdk/jfr/internal/PlatformEventType;
public final boolean isRegistered();
descriptor: ()Z
flags: (0x0011) ACC_PUBLIC, ACC_FINAL
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield jdk.jfr.internal.PlatformEventType.registered:Z
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljdk/jfr/internal/PlatformEventType;
public boolean isCommittable();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield jdk.jfr.internal.PlatformEventType.committable:Z
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljdk/jfr/internal/PlatformEventType;
public int getStackTraceOffset();
descriptor: ()I
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield jdk.jfr.internal.PlatformEventType.stackTraceOffset:I
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljdk/jfr/internal/PlatformEventType;
public boolean isLargeSize();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield jdk.jfr.internal.PlatformEventType.largeSize:Z
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljdk/jfr/internal/PlatformEventType;
public void setLargeSize();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
iconst_1
putfield jdk.jfr.internal.PlatformEventType.largeSize:Z
1: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Ljdk/jfr/internal/PlatformEventType;
}
SourceFile: "PlatformEventType.java"