public class org.graalvm.compiler.hotspot.debug.BenchmarkCounters_OptionDescriptors implements org.graalvm.compiler.options.OptionDescriptors
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: org.graalvm.compiler.hotspot.debug.BenchmarkCounters_OptionDescriptors
super_class: java.lang.Object
{
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 Lorg/graalvm/compiler/hotspot/debug/BenchmarkCounters_OptionDescriptors;
public org.graalvm.compiler.options.OptionDescriptor get(java.lang.String);
descriptor: (Ljava/lang/String;)Lorg/graalvm/compiler/options/OptionDescriptor;
flags: (0x0001) ACC_PUBLIC
Code:
stack=7, locals=3, args_size=2
start local 0 start local 1 0: aload 1
dup
astore 2
invokevirtual java.lang.String.hashCode:()I
lookupswitch { // 7
-1934005610: 1
-1348792161: 2
-819064432: 3
-529125569: 4
-470540259: 5
-97695465: 6
656449721: 7
default: 81
}
StackMap locals: java.lang.String
StackMap stack:
1: aload 2
ldc "BenchmarkCountersDumpStatic"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifne 15
goto 81
StackMap locals:
StackMap stack:
2: aload 2
ldc "GenericDynamicCounters"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifne 67
goto 81
StackMap locals:
StackMap stack:
3: aload 2
ldc "BenchmarkCountersFile"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifne 22
goto 81
StackMap locals:
StackMap stack:
4: aload 2
ldc "TimedDynamicCounters"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifne 74
goto 81
StackMap locals:
StackMap stack:
5: aload 2
ldc "DynamicCountersPrintGroupSeparator"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifne 60
goto 81
StackMap locals:
StackMap stack:
6: aload 2
ldc "BenchmarkCountersDumpDynamic"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifne 8
goto 81
StackMap locals:
StackMap stack:
7: aload 2
ldc "BenchmarkDynamicCounters"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifne 29
goto 81
8: StackMap locals:
StackMap stack:
ldc "BenchmarkCountersDumpDynamic"
9: ldc Ljava/lang/Boolean;
10: ldc "Dump dynamic counters"
11: ldc Lorg/graalvm/compiler/hotspot/debug/BenchmarkCounters$Options;
12: ldc "BenchmarkCountersDumpDynamic"
13: getstatic org.graalvm.compiler.hotspot.debug.BenchmarkCounters$Options.BenchmarkCountersDumpDynamic:Lorg/graalvm/compiler/options/OptionKey;
14: invokestatic org.graalvm.compiler.options.OptionDescriptor.create:(Ljava/lang/String;Ljava/lang/Class;Ljava/lang/String;Ljava/lang/Class;Ljava/lang/String;Lorg/graalvm/compiler/options/OptionKey;)Lorg/graalvm/compiler/options/OptionDescriptor;
areturn
15: StackMap locals:
StackMap stack:
ldc "BenchmarkCountersDumpStatic"
16: ldc Ljava/lang/Boolean;
17: ldc "Dump static counters"
18: ldc Lorg/graalvm/compiler/hotspot/debug/BenchmarkCounters$Options;
19: ldc "BenchmarkCountersDumpStatic"
20: getstatic org.graalvm.compiler.hotspot.debug.BenchmarkCounters$Options.BenchmarkCountersDumpStatic:Lorg/graalvm/compiler/options/OptionKey;
21: invokestatic org.graalvm.compiler.options.OptionDescriptor.create:(Ljava/lang/String;Ljava/lang/Class;Ljava/lang/String;Ljava/lang/Class;Ljava/lang/String;Lorg/graalvm/compiler/options/OptionKey;)Lorg/graalvm/compiler/options/OptionDescriptor;
areturn
22: StackMap locals:
StackMap stack:
ldc "BenchmarkCountersFile"
23: ldc Ljava/lang/String;
24: ldc "File to which benchmark counters are dumped. A CSV format is used if the file ends with .csv otherwise a more human readable format is used. The fields in the CSV format are: category, group, name, value"
25: ldc Lorg/graalvm/compiler/hotspot/debug/BenchmarkCounters$Options;
26: ldc "BenchmarkCountersFile"
27: getstatic org.graalvm.compiler.hotspot.debug.BenchmarkCounters$Options.BenchmarkCountersFile:Lorg/graalvm/compiler/options/OptionKey;
28: invokestatic org.graalvm.compiler.options.OptionDescriptor.create:(Ljava/lang/String;Ljava/lang/Class;Ljava/lang/String;Ljava/lang/Class;Ljava/lang/String;Lorg/graalvm/compiler/options/OptionKey;)Lorg/graalvm/compiler/options/OptionDescriptor;
areturn
29: StackMap locals:
StackMap stack:
ldc "BenchmarkDynamicCounters"
30: ldc Ljava/lang/String;
31: ldc "Turn on the benchmark counters, and listen for specific patterns on System.out/System.err."
32: bipush 23
anewarray java.lang.String
dup
iconst_0
33: ldc "The format of this option is:"
aastore
dup
iconst_1
34: ldc ""
aastore
dup
iconst_2
35: ldc " (err|out),start pattern,end pattern"
aastore
dup
iconst_3
36: ldc " "
aastore
dup
iconst_4
37: ldc "You can use \"~\" to match 1 or more digits."
aastore
dup
iconst_5
38: ldc "Examples:"
aastore
dup
bipush 6
39: ldc ""
aastore
dup
bipush 7
40: ldc " err, starting =====, PASSED in"
aastore
dup
bipush 8
41: ldc " out,Iteration ~ (~s) begins:,Iteration ~ (~s) ends:"
aastore
dup
bipush 9
42: ldc " "
aastore
dup
bipush 10
43: ldc "The first pattern matches DaCapo output and the second matches SPECjvm2008 output."
aastore
dup
bipush 11
44: ldc ""
aastore
dup
bipush 12
45: ldc "As a more detailed example, here are the options to use for getting statistics"
aastore
dup
bipush 13
46: ldc "about allocations within the DaCapo pmd benchmark:"
aastore
dup
bipush 14
47: ldc ""
aastore
dup
bipush 15
48: ldc " -XX:JVMCICounterSize=<value> -XX:-JVMCICountersExcludeCompiler \\"
aastore
dup
bipush 16
49: ldc " -Dgraal.BenchmarkDynamicCounters=\"err, starting ====, PASSED in \" \\"
aastore
dup
bipush 17
50: ldc " -Dgraal.ProfileAllocations=true"
aastore
dup
bipush 18
51: ldc " "
aastore
dup
bipush 19
52: ldc "The JVMCICounterSize value depends on the granularity of the profiling -"
aastore
dup
bipush 20
53: ldc "10000 should be sufficient. Omit JVMCICountersExcludeCompiler to exclude"
aastore
dup
bipush 21
54: ldc "counting allocations on the compiler threads."
aastore
dup
bipush 22
55: ldc "The counters can be further configured by the ProfileAllocationsContext option."
aastore
56: ldc Lorg/graalvm/compiler/hotspot/debug/BenchmarkCounters$Options;
57: ldc "BenchmarkDynamicCounters"
58: getstatic org.graalvm.compiler.hotspot.debug.BenchmarkCounters$Options.BenchmarkDynamicCounters:Lorg/graalvm/compiler/options/OptionKey;
59: invokestatic org.graalvm.compiler.options.OptionDescriptor.create:(Ljava/lang/String;Ljava/lang/Class;Ljava/lang/String;[Ljava/lang/String;Ljava/lang/Class;Ljava/lang/String;Lorg/graalvm/compiler/options/OptionKey;)Lorg/graalvm/compiler/options/OptionDescriptor;
areturn
60: StackMap locals:
StackMap stack:
ldc "DynamicCountersPrintGroupSeparator"
61: ldc Ljava/lang/Boolean;
62: ldc "Use grouping separators for number printing"
63: ldc Lorg/graalvm/compiler/hotspot/debug/BenchmarkCounters$Options;
64: ldc "DynamicCountersPrintGroupSeparator"
65: getstatic org.graalvm.compiler.hotspot.debug.BenchmarkCounters$Options.DynamicCountersPrintGroupSeparator:Lorg/graalvm/compiler/options/OptionKey;
66: invokestatic org.graalvm.compiler.options.OptionDescriptor.create:(Ljava/lang/String;Ljava/lang/Class;Ljava/lang/String;Ljava/lang/Class;Ljava/lang/String;Lorg/graalvm/compiler/options/OptionKey;)Lorg/graalvm/compiler/options/OptionDescriptor;
areturn
67: StackMap locals:
StackMap stack:
ldc "GenericDynamicCounters"
68: ldc Ljava/lang/Boolean;
69: ldc "Turn on the benchmark counters, and displays the results on VM shutdown"
70: ldc Lorg/graalvm/compiler/hotspot/debug/BenchmarkCounters$Options;
71: ldc "GenericDynamicCounters"
72: getstatic org.graalvm.compiler.hotspot.debug.BenchmarkCounters$Options.GenericDynamicCounters:Lorg/graalvm/compiler/options/OptionKey;
73: invokestatic org.graalvm.compiler.options.OptionDescriptor.create:(Ljava/lang/String;Ljava/lang/Class;Ljava/lang/String;Ljava/lang/Class;Ljava/lang/String;Lorg/graalvm/compiler/options/OptionKey;)Lorg/graalvm/compiler/options/OptionDescriptor;
areturn
74: StackMap locals:
StackMap stack:
ldc "TimedDynamicCounters"
75: ldc Ljava/lang/Integer;
76: ldc "Turn on the benchmark counters, and displays the results every n milliseconds"
77: ldc Lorg/graalvm/compiler/hotspot/debug/BenchmarkCounters$Options;
78: ldc "TimedDynamicCounters"
79: getstatic org.graalvm.compiler.hotspot.debug.BenchmarkCounters$Options.TimedDynamicCounters:Lorg/graalvm/compiler/options/OptionKey;
80: invokestatic org.graalvm.compiler.options.OptionDescriptor.create:(Ljava/lang/String;Ljava/lang/Class;Ljava/lang/String;Ljava/lang/Class;Ljava/lang/String;Lorg/graalvm/compiler/options/OptionKey;)Lorg/graalvm/compiler/options/OptionDescriptor;
areturn
81: StackMap locals:
StackMap stack:
aconst_null
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 82 0 this Lorg/graalvm/compiler/hotspot/debug/BenchmarkCounters_OptionDescriptors;
0 82 1 value Ljava/lang/String;
MethodParameters:
Name Flags
value
public java.util.Iterator<org.graalvm.compiler.options.OptionDescriptor> iterator();
descriptor: ()Ljava/util/Iterator;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: new org.graalvm.compiler.hotspot.debug.BenchmarkCounters_OptionDescriptors$1
dup
aload 0
invokespecial org.graalvm.compiler.hotspot.debug.BenchmarkCounters_OptionDescriptors$1.<init>:(Lorg/graalvm/compiler/hotspot/debug/BenchmarkCounters_OptionDescriptors;)V
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/graalvm/compiler/hotspot/debug/BenchmarkCounters_OptionDescriptors;
Signature: ()Ljava/util/Iterator<Lorg/graalvm/compiler/options/OptionDescriptor;>;
}
SourceFile: "BenchmarkCounters_OptionDescriptors.java"
NestMembers:
org.graalvm.compiler.hotspot.debug.BenchmarkCounters_OptionDescriptors$1
InnerClasses:
Options = org.graalvm.compiler.hotspot.debug.BenchmarkCounters$Options of org.graalvm.compiler.hotspot.debug.BenchmarkCounters
org.graalvm.compiler.hotspot.debug.BenchmarkCounters_OptionDescriptors$1