public final class jdk.jfr.internal.StringPool
minor version: 0
major version: 59
flags: flags: (0x0031) ACC_PUBLIC, ACC_FINAL, ACC_SUPER
this_class: jdk.jfr.internal.StringPool
super_class: java.lang.Object
{
private static final jdk.internal.misc.Unsafe unsafe;
descriptor: Ljdk/internal/misc/Unsafe;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
static final int MIN_LIMIT;
descriptor: I
flags: (0x0018) ACC_STATIC, ACC_FINAL
ConstantValue: 16
static final int MAX_LIMIT;
descriptor: I
flags: (0x0018) ACC_STATIC, ACC_FINAL
ConstantValue: 128
private static final long epochAddress;
descriptor: J
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
private static final jdk.jfr.internal.StringPool$SimpleStringIdPool sp;
descriptor: Ljdk/jfr/internal/StringPool$SimpleStringIdPool;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=2, locals=0, args_size=0
0: invokestatic jdk.internal.misc.Unsafe.getUnsafe:()Ljdk/internal/misc/Unsafe;
putstatic jdk.jfr.internal.StringPool.unsafe:Ljdk/internal/misc/Unsafe;
1: new jdk.jfr.internal.StringPool$SimpleStringIdPool
dup
invokespecial jdk.jfr.internal.StringPool$SimpleStringIdPool.<init>:()V
putstatic jdk.jfr.internal.StringPool.sp:Ljdk/jfr/internal/StringPool$SimpleStringIdPool;
2: invokestatic jdk.jfr.internal.JVM.getJVM:()Ljdk/jfr/internal/JVM;
invokevirtual jdk.jfr.internal.JVM.getEpochAddress:()J
putstatic jdk.jfr.internal.StringPool.epochAddress:J
3: getstatic jdk.jfr.internal.StringPool.sp:Ljdk/jfr/internal/StringPool$SimpleStringIdPool;
invokevirtual jdk.jfr.internal.StringPool$SimpleStringIdPool.reset:()V
4: return
LocalVariableTable:
Start End Slot Name Signature
public void <init>();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokespecial java.lang.Object.<init>:()V
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljdk/jfr/internal/StringPool;
public static long addString(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: getstatic jdk.jfr.internal.StringPool.sp:Ljdk/jfr/internal/StringPool$SimpleStringIdPool;
aload 0
invokevirtual jdk.jfr.internal.StringPool$SimpleStringIdPool.addString:(Ljava/lang/String;)J
lreturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 s Ljava/lang/String;
MethodParameters:
Name Flags
s
private static boolean getCurrentEpoch();
descriptor: ()Z
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=3, locals=0, args_size=0
0: getstatic jdk.jfr.internal.StringPool.unsafe:Ljdk/internal/misc/Unsafe;
getstatic jdk.jfr.internal.StringPool.epochAddress:J
invokevirtual jdk.internal.misc.Unsafe.getByte:(J)B
iconst_1
if_icmpne 1
iconst_1
ireturn
StackMap locals:
StackMap stack:
1: iconst_0
ireturn
LocalVariableTable:
Start End Slot Name Signature
}
SourceFile: "StringPool.java"
NestMembers:
jdk.jfr.internal.StringPool$SimpleStringIdPool
InnerClasses:
private SimpleStringIdPool = jdk.jfr.internal.StringPool$SimpleStringIdPool of jdk.jfr.internal.StringPool