public final class jdk.jfr.internal.Options
minor version: 0
major version: 59
flags: flags: (0x0031) ACC_PUBLIC, ACC_FINAL, ACC_SUPER
this_class: jdk.jfr.internal.Options
super_class: java.lang.Object
{
private static final jdk.jfr.internal.JVM jvm;
descriptor: Ljdk/jfr/internal/JVM;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
private static final long WAIT_INTERVAL;
descriptor: J
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: 1000
private static final long MIN_MAX_CHUNKSIZE;
descriptor: J
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: 1048576
private static final long DEFAULT_GLOBAL_BUFFER_COUNT;
descriptor: J
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: 20
private static final long DEFAULT_GLOBAL_BUFFER_SIZE;
descriptor: J
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: 524288
private static final long DEFAULT_MEMORY_SIZE;
descriptor: J
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: 10485760
private static long DEFAULT_THREAD_BUFFER_SIZE;
descriptor: J
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
private static final int DEFAULT_STACK_DEPTH;
descriptor: I
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: 64
private static final boolean DEFAULT_SAMPLE_THREADS;
descriptor: Z
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: 1
private static final long DEFAULT_MAX_CHUNK_SIZE;
descriptor: J
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: 12582912
private static final jdk.jfr.internal.SecuritySupport$SafePath DEFAULT_DUMP_PATH;
descriptor: Ljdk/jfr/internal/SecuritySupport$SafePath;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
private static long memorySize;
descriptor: J
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
private static long globalBufferSize;
descriptor: J
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
private static long globalBufferCount;
descriptor: J
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
private static long threadBufferSize;
descriptor: J
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
private static int stackDepth;
descriptor: I
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
private static boolean sampleThreads;
descriptor: Z
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
private static long maxChunkSize;
descriptor: J
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
private static jdk.jfr.internal.SecuritySupport$SafePath dumpPath;
descriptor: Ljdk/jfr/internal/SecuritySupport$SafePath;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=4, locals=2, args_size=0
0: invokestatic jdk.jfr.internal.JVM.getJVM:()Ljdk/jfr/internal/JVM;
putstatic jdk.jfr.internal.Options.jvm:Ljdk/jfr/internal/JVM;
1: getstatic jdk.jfr.internal.SecuritySupport.USER_HOME:Ljdk/jfr/internal/SecuritySupport$SafePath;
putstatic jdk.jfr.internal.Options.DEFAULT_DUMP_PATH:Ljdk/jfr/internal/SecuritySupport$SafePath;
2: invokestatic jdk.internal.misc.Unsafe.getUnsafe:()Ljdk/internal/misc/Unsafe;
invokevirtual jdk.internal.misc.Unsafe.pageSize:()I
i2l
lstore 0
start local 0 3: lload 0
ldc 8192
lcmp
ifle 4
lload 0
goto 5
StackMap locals: long
StackMap stack:
4: ldc 8192
StackMap locals:
StackMap stack: long
5: putstatic jdk.jfr.internal.Options.DEFAULT_THREAD_BUFFER_SIZE:J
6: invokestatic jdk.jfr.internal.Options.reset:()V
end local 0 7: return
LocalVariableTable:
Start End Slot Name Signature
3 7 0 pageSize J
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/Options;
public static synchronized void setMaxChunkSize(long);
descriptor: (J)V
flags: (0x0029) ACC_PUBLIC, ACC_STATIC, ACC_SYNCHRONIZED
Code:
stack=4, locals=2, args_size=1
start local 0 0: lload 0
ldc 1048576
lcmp
ifge 2
1: new java.lang.IllegalArgumentException
dup
ldc "Max chunk size must be at least 1048576"
invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
2: StackMap locals:
StackMap stack:
getstatic jdk.jfr.internal.Options.jvm:Ljdk/jfr/internal/JVM;
lload 0
invokevirtual jdk.jfr.internal.JVM.setFileNotification:(J)V
3: lload 0
putstatic jdk.jfr.internal.Options.maxChunkSize:J
4: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 max J
MethodParameters:
Name Flags
max
public static synchronized long getMaxChunkSize();
descriptor: ()J
flags: (0x0029) ACC_PUBLIC, ACC_STATIC, ACC_SYNCHRONIZED
Code:
stack=2, locals=0, args_size=0
0: getstatic jdk.jfr.internal.Options.maxChunkSize:J
lreturn
LocalVariableTable:
Start End Slot Name Signature
public static synchronized void setMemorySize(long);
descriptor: (J)V
flags: (0x0029) ACC_PUBLIC, ACC_STATIC, ACC_SYNCHRONIZED
Code:
stack=3, locals=2, args_size=1
start local 0 0: getstatic jdk.jfr.internal.Options.jvm:Ljdk/jfr/internal/JVM;
lload 0
invokevirtual jdk.jfr.internal.JVM.setMemorySize:(J)V
1: lload 0
putstatic jdk.jfr.internal.Options.memorySize:J
2: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 memSize J
MethodParameters:
Name Flags
memSize
public static synchronized long getMemorySize();
descriptor: ()J
flags: (0x0029) ACC_PUBLIC, ACC_STATIC, ACC_SYNCHRONIZED
Code:
stack=2, locals=0, args_size=0
0: getstatic jdk.jfr.internal.Options.memorySize:J
lreturn
LocalVariableTable:
Start End Slot Name Signature
public static synchronized void setThreadBufferSize(long);
descriptor: (J)V
flags: (0x0029) ACC_PUBLIC, ACC_STATIC, ACC_SYNCHRONIZED
Code:
stack=3, locals=2, args_size=1
start local 0 0: getstatic jdk.jfr.internal.Options.jvm:Ljdk/jfr/internal/JVM;
lload 0
invokevirtual jdk.jfr.internal.JVM.setThreadBufferSize:(J)V
1: lload 0
putstatic jdk.jfr.internal.Options.threadBufferSize:J
2: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 threadBufSize J
MethodParameters:
Name Flags
threadBufSize
public static synchronized long getThreadBufferSize();
descriptor: ()J
flags: (0x0029) ACC_PUBLIC, ACC_STATIC, ACC_SYNCHRONIZED
Code:
stack=2, locals=0, args_size=0
0: getstatic jdk.jfr.internal.Options.threadBufferSize:J
lreturn
LocalVariableTable:
Start End Slot Name Signature
public static synchronized long getGlobalBufferSize();
descriptor: ()J
flags: (0x0029) ACC_PUBLIC, ACC_STATIC, ACC_SYNCHRONIZED
Code:
stack=2, locals=0, args_size=0
0: getstatic jdk.jfr.internal.Options.globalBufferSize:J
lreturn
LocalVariableTable:
Start End Slot Name Signature
public static synchronized void setGlobalBufferCount(long);
descriptor: (J)V
flags: (0x0029) ACC_PUBLIC, ACC_STATIC, ACC_SYNCHRONIZED
Code:
stack=3, locals=2, args_size=1
start local 0 0: getstatic jdk.jfr.internal.Options.jvm:Ljdk/jfr/internal/JVM;
lload 0
invokevirtual jdk.jfr.internal.JVM.setGlobalBufferCount:(J)V
1: lload 0
putstatic jdk.jfr.internal.Options.globalBufferCount:J
2: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 globalBufCount J
MethodParameters:
Name Flags
globalBufCount
public static synchronized long getGlobalBufferCount();
descriptor: ()J
flags: (0x0029) ACC_PUBLIC, ACC_STATIC, ACC_SYNCHRONIZED
Code:
stack=2, locals=0, args_size=0
0: getstatic jdk.jfr.internal.Options.globalBufferCount:J
lreturn
LocalVariableTable:
Start End Slot Name Signature
public static synchronized void setGlobalBufferSize(long);
descriptor: (J)V
flags: (0x0029) ACC_PUBLIC, ACC_STATIC, ACC_SYNCHRONIZED
Code:
stack=3, locals=2, args_size=1
start local 0 0: getstatic jdk.jfr.internal.Options.jvm:Ljdk/jfr/internal/JVM;
lload 0
invokevirtual jdk.jfr.internal.JVM.setGlobalBufferSize:(J)V
1: lload 0
putstatic jdk.jfr.internal.Options.globalBufferSize:J
2: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 globalBufsize J
MethodParameters:
Name Flags
globalBufsize
public static synchronized void setDumpPath(jdk.jfr.internal.SecuritySupport$SafePath);
descriptor: (Ljdk/jfr/internal/SecuritySupport$SafePath;)V
flags: (0x0029) ACC_PUBLIC, ACC_STATIC, ACC_SYNCHRONIZED
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
putstatic jdk.jfr.internal.Options.dumpPath:Ljdk/jfr/internal/SecuritySupport$SafePath;
1: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 path Ljdk/jfr/internal/SecuritySupport$SafePath;
MethodParameters:
Name Flags
path
public static synchronized jdk.jfr.internal.SecuritySupport$SafePath getDumpPath();
descriptor: ()Ljdk/jfr/internal/SecuritySupport$SafePath;
flags: (0x0029) ACC_PUBLIC, ACC_STATIC, ACC_SYNCHRONIZED
Code:
stack=1, locals=0, args_size=0
0: getstatic jdk.jfr.internal.Options.dumpPath:Ljdk/jfr/internal/SecuritySupport$SafePath;
areturn
LocalVariableTable:
Start End Slot Name Signature
public static synchronized void setStackDepth(java.lang.Integer);
descriptor: (Ljava/lang/Integer;)V
flags: (0x0029) ACC_PUBLIC, ACC_STATIC, ACC_SYNCHRONIZED
Code:
stack=2, locals=1, args_size=1
start local 0 0: getstatic jdk.jfr.internal.Options.jvm:Ljdk/jfr/internal/JVM;
aload 0
invokevirtual java.lang.Integer.intValue:()I
invokevirtual jdk.jfr.internal.JVM.setStackDepth:(I)V
1: aload 0
invokevirtual java.lang.Integer.intValue:()I
putstatic jdk.jfr.internal.Options.stackDepth:I
2: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 stackTraceDepth Ljava/lang/Integer;
MethodParameters:
Name Flags
stackTraceDepth
public static synchronized int getStackDepth();
descriptor: ()I
flags: (0x0029) ACC_PUBLIC, ACC_STATIC, ACC_SYNCHRONIZED
Code:
stack=1, locals=0, args_size=0
0: getstatic jdk.jfr.internal.Options.stackDepth:I
ireturn
LocalVariableTable:
Start End Slot Name Signature
public static synchronized void setSampleThreads(java.lang.Boolean);
descriptor: (Ljava/lang/Boolean;)V
flags: (0x0029) ACC_PUBLIC, ACC_STATIC, ACC_SYNCHRONIZED
Code:
stack=2, locals=1, args_size=1
start local 0 0: getstatic jdk.jfr.internal.Options.jvm:Ljdk/jfr/internal/JVM;
aload 0
invokevirtual java.lang.Boolean.booleanValue:()Z
invokevirtual jdk.jfr.internal.JVM.setSampleThreads:(Z)V
1: aload 0
invokevirtual java.lang.Boolean.booleanValue:()Z
putstatic jdk.jfr.internal.Options.sampleThreads:Z
2: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 sample Ljava/lang/Boolean;
MethodParameters:
Name Flags
sample
public static synchronized boolean getSampleThreads();
descriptor: ()Z
flags: (0x0029) ACC_PUBLIC, ACC_STATIC, ACC_SYNCHRONIZED
Code:
stack=1, locals=0, args_size=0
0: getstatic jdk.jfr.internal.Options.sampleThreads:Z
ireturn
LocalVariableTable:
Start End Slot Name Signature
private static synchronized void reset();
descriptor: ()V
flags: (0x002a) ACC_PRIVATE, ACC_STATIC, ACC_SYNCHRONIZED
Code:
stack=2, locals=0, args_size=0
0: ldc 12582912
invokestatic jdk.jfr.internal.Options.setMaxChunkSize:(J)V
1: ldc 10485760
invokestatic jdk.jfr.internal.Options.setMemorySize:(J)V
2: ldc 524288
invokestatic jdk.jfr.internal.Options.setGlobalBufferSize:(J)V
3: ldc 20
invokestatic jdk.jfr.internal.Options.setGlobalBufferCount:(J)V
4: getstatic jdk.jfr.internal.Options.DEFAULT_DUMP_PATH:Ljdk/jfr/internal/SecuritySupport$SafePath;
invokestatic jdk.jfr.internal.Options.setDumpPath:(Ljdk/jfr/internal/SecuritySupport$SafePath;)V
5: iconst_1
invokestatic java.lang.Boolean.valueOf:(Z)Ljava/lang/Boolean;
invokestatic jdk.jfr.internal.Options.setSampleThreads:(Ljava/lang/Boolean;)V
6: bipush 64
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
invokestatic jdk.jfr.internal.Options.setStackDepth:(Ljava/lang/Integer;)V
7: getstatic jdk.jfr.internal.Options.DEFAULT_THREAD_BUFFER_SIZE:J
invokestatic jdk.jfr.internal.Options.setThreadBufferSize:(J)V
8: return
LocalVariableTable:
Start End Slot Name Signature
static synchronized long getWaitInterval();
descriptor: ()J
flags: (0x0028) ACC_STATIC, ACC_SYNCHRONIZED
Code:
stack=2, locals=0, args_size=0
0: ldc 1000
lreturn
LocalVariableTable:
Start End Slot Name Signature
static void ensureInitialized();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=0, locals=0, args_size=0
0: return
LocalVariableTable:
Start End Slot Name Signature
}
SourceFile: "Options.java"
InnerClasses:
public final SafePath = jdk.jfr.internal.SecuritySupport$SafePath of jdk.jfr.internal.SecuritySupport