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=8, locals=3, args_size=2
start local 0 start local 1 0: aload 1
dup
astore 2
invokevirtual java.lang.String.hashCode:()I
lookupswitch { // 8
-1934005610: 1
-1348792161: 2
-819064432: 3
-529125569: 4
-470540259: 5
-97695465: 6
445452176: 7
656449721: 8
default: 104
}
StackMap locals: java.lang.String
StackMap stack:
1: aload 2
ldc "BenchmarkCountersDumpStatic"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifne 29
goto 104
StackMap locals:
StackMap stack:
2: aload 2
ldc "GenericDynamicCounters"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifne 88
goto 104
StackMap locals:
StackMap stack:
3: aload 2
ldc "BenchmarkCountersFile"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifne 37
goto 104
StackMap locals:
StackMap stack:
4: aload 2
ldc "TimedDynamicCounters"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifne 96
goto 104
StackMap locals:
StackMap stack:
5: aload 2
ldc "DynamicCountersPrintGroupSeparator"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifne 80
goto 104
StackMap locals:
StackMap stack:
6: aload 2
ldc "BenchmarkCountersDumpDynamic"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifne 21
goto 104
StackMap locals:
StackMap stack:
7: aload 2
ldc "AbortOnBenchmarkCounterOverflow"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifne 9
goto 104
StackMap locals:
StackMap stack:
8: aload 2
ldc "BenchmarkDynamicCounters"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifne 45
goto 104
9: StackMap locals:
StackMap stack:
ldc "AbortOnBenchmarkCounterOverflow"
10: getstatic org.graalvm.compiler.options.OptionType.Debug:Lorg/graalvm/compiler/options/OptionType;
11: ldc Ljava/lang/Boolean;
12: ldc "Abort VM with SIGILL if benchmark counters controlled by the (Generic|Timed|Benchmark)DynamicCounters"
13: iconst_3
anewarray java.lang.String
dup
iconst_0
14: ldc "option overflow. This feature is only supported on AMD64."
aastore
dup
iconst_1
15: ldc "WARNING: No descriptive error message will be printed! In case of an overflow,"
aastore
dup
iconst_2
16: ldc "manual inspection of the emitted code is required."
aastore
17: ldc Lorg/graalvm/compiler/hotspot/debug/BenchmarkCounters$Options;
18: ldc "AbortOnBenchmarkCounterOverflow"
19: getstatic org.graalvm.compiler.hotspot.debug.BenchmarkCounters$Options.AbortOnBenchmarkCounterOverflow:Lorg/graalvm/compiler/options/OptionKey;
20: invokestatic org.graalvm.compiler.options.OptionDescriptor.create:(Ljava/lang/String;Lorg/graalvm/compiler/options/OptionType;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
21: StackMap locals:
StackMap stack:
ldc "BenchmarkCountersDumpDynamic"
22: getstatic org.graalvm.compiler.options.OptionType.Debug:Lorg/graalvm/compiler/options/OptionType;
23: ldc Ljava/lang/Boolean;
24: ldc "Dump dynamic counters"
25: ldc Lorg/graalvm/compiler/hotspot/debug/BenchmarkCounters$Options;
26: ldc "BenchmarkCountersDumpDynamic"
27: getstatic org.graalvm.compiler.hotspot.debug.BenchmarkCounters$Options.BenchmarkCountersDumpDynamic:Lorg/graalvm/compiler/options/OptionKey;
28: invokestatic org.graalvm.compiler.options.OptionDescriptor.create:(Ljava/lang/String;Lorg/graalvm/compiler/options/OptionType;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 "BenchmarkCountersDumpStatic"
30: getstatic org.graalvm.compiler.options.OptionType.Debug:Lorg/graalvm/compiler/options/OptionType;
31: ldc Ljava/lang/Boolean;
32: ldc "Dump static counters"
33: ldc Lorg/graalvm/compiler/hotspot/debug/BenchmarkCounters$Options;
34: ldc "BenchmarkCountersDumpStatic"
35: getstatic org.graalvm.compiler.hotspot.debug.BenchmarkCounters$Options.BenchmarkCountersDumpStatic:Lorg/graalvm/compiler/options/OptionKey;
36: invokestatic org.graalvm.compiler.options.OptionDescriptor.create:(Ljava/lang/String;Lorg/graalvm/compiler/options/OptionType;Ljava/lang/Class;Ljava/lang/String;Ljava/lang/Class;Ljava/lang/String;Lorg/graalvm/compiler/options/OptionKey;)Lorg/graalvm/compiler/options/OptionDescriptor;
areturn
37: StackMap locals:
StackMap stack:
ldc "BenchmarkCountersFile"
38: getstatic org.graalvm.compiler.options.OptionType.Debug:Lorg/graalvm/compiler/options/OptionType;
39: ldc Ljava/lang/String;
40: 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"
41: ldc Lorg/graalvm/compiler/hotspot/debug/BenchmarkCounters$Options;
42: ldc "BenchmarkCountersFile"
43: getstatic org.graalvm.compiler.hotspot.debug.BenchmarkCounters$Options.BenchmarkCountersFile:Lorg/graalvm/compiler/options/OptionKey;
44: invokestatic org.graalvm.compiler.options.OptionDescriptor.create:(Ljava/lang/String;Lorg/graalvm/compiler/options/OptionType;Ljava/lang/Class;Ljava/lang/String;Ljava/lang/Class;Ljava/lang/String;Lorg/graalvm/compiler/options/OptionKey;)Lorg/graalvm/compiler/options/OptionDescriptor;
areturn
45: StackMap locals:
StackMap stack:
ldc "BenchmarkDynamicCounters"
46: getstatic org.graalvm.compiler.options.OptionType.Debug:Lorg/graalvm/compiler/options/OptionType;
47: ldc Ljava/lang/String;
48: ldc "Turn on the benchmark counters. The format of this option is:"
49: bipush 26
anewarray java.lang.String
dup
iconst_0
50: ldc ""
aastore
dup
iconst_1
51: ldc " (err|out),start pattern,end pattern"
aastore
dup
iconst_2
52: ldc " "
aastore
dup
iconst_3
53: ldc "Start counting when the start pattern matches on the given stream and stop when the end pattern occurs."
aastore
dup
iconst_4
54: ldc "You can use \"~\" to match 1 or more digits."
aastore
dup
iconst_5
55: ldc "Examples:"
aastore
dup
bipush 6
56: ldc ""
aastore
dup
bipush 7
57: ldc " err, starting =====, PASSED in"
aastore
dup
bipush 8
58: ldc " out,Iteration ~ (~s) begins:,Iteration ~ (~s) ends:"
aastore
dup
bipush 9
59: ldc " "
aastore
dup
bipush 10
60: ldc "The first pattern matches DaCapo output and the second matches SPECjvm2008 output."
aastore
dup
bipush 11
61: ldc ""
aastore
dup
bipush 12
62: ldc "As a more detailed example, here are the options to use for getting statistics"
aastore
dup
bipush 13
63: ldc "about allocations within the DaCapo pmd benchmark:"
aastore
dup
bipush 14
64: ldc ""
aastore
dup
bipush 15
65: ldc " -XX:JVMCICounterSize=<value> -XX:-JVMCICountersExcludeCompiler \\"
aastore
dup
bipush 16
66: ldc " -Dgraal.BenchmarkDynamicCounters=\"err, starting ====, PASSED in \" \\"
aastore
dup
bipush 17
67: ldc " -Dgraal.ProfileAllocations=true"
aastore
dup
bipush 18
68: ldc " "
aastore
dup
bipush 19
69: ldc "The JVMCICounterSize value depends on the granularity of the profiling -"
aastore
dup
bipush 20
70: ldc "10000 should be sufficient. Omit JVMCICountersExcludeCompiler to exclude"
aastore
dup
bipush 21
71: ldc "counting allocations on the compiler threads."
aastore
dup
bipush 22
72: ldc "The counters can be further configured by the ProfileAllocationsContext option."
aastore
dup
bipush 23
73: ldc ""
aastore
dup
bipush 24
74: ldc "We highly recommend the use of -Dgraal.AbortOnBenchmarkCounterOverflow=true to"
aastore
dup
bipush 25
75: ldc "detect counter overflows eagerly."
aastore
76: ldc Lorg/graalvm/compiler/hotspot/debug/BenchmarkCounters$Options;
77: ldc "BenchmarkDynamicCounters"
78: getstatic org.graalvm.compiler.hotspot.debug.BenchmarkCounters$Options.BenchmarkDynamicCounters:Lorg/graalvm/compiler/options/OptionKey;
79: invokestatic org.graalvm.compiler.options.OptionDescriptor.create:(Ljava/lang/String;Lorg/graalvm/compiler/options/OptionType;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
80: StackMap locals:
StackMap stack:
ldc "DynamicCountersPrintGroupSeparator"
81: getstatic org.graalvm.compiler.options.OptionType.Debug:Lorg/graalvm/compiler/options/OptionType;
82: ldc Ljava/lang/Boolean;
83: ldc "Use grouping separators for number printing"
84: ldc Lorg/graalvm/compiler/hotspot/debug/BenchmarkCounters$Options;
85: ldc "DynamicCountersPrintGroupSeparator"
86: getstatic org.graalvm.compiler.hotspot.debug.BenchmarkCounters$Options.DynamicCountersPrintGroupSeparator:Lorg/graalvm/compiler/options/OptionKey;
87: invokestatic org.graalvm.compiler.options.OptionDescriptor.create:(Ljava/lang/String;Lorg/graalvm/compiler/options/OptionType;Ljava/lang/Class;Ljava/lang/String;Ljava/lang/Class;Ljava/lang/String;Lorg/graalvm/compiler/options/OptionKey;)Lorg/graalvm/compiler/options/OptionDescriptor;
areturn
88: StackMap locals:
StackMap stack:
ldc "GenericDynamicCounters"
89: getstatic org.graalvm.compiler.options.OptionType.Debug:Lorg/graalvm/compiler/options/OptionType;
90: ldc Ljava/lang/Boolean;
91: ldc "Turn on the benchmark counters, and displays the results on VM shutdown"
92: ldc Lorg/graalvm/compiler/hotspot/debug/BenchmarkCounters$Options;
93: ldc "GenericDynamicCounters"
94: getstatic org.graalvm.compiler.hotspot.debug.BenchmarkCounters$Options.GenericDynamicCounters:Lorg/graalvm/compiler/options/OptionKey;
95: invokestatic org.graalvm.compiler.options.OptionDescriptor.create:(Ljava/lang/String;Lorg/graalvm/compiler/options/OptionType;Ljava/lang/Class;Ljava/lang/String;Ljava/lang/Class;Ljava/lang/String;Lorg/graalvm/compiler/options/OptionKey;)Lorg/graalvm/compiler/options/OptionDescriptor;
areturn
96: StackMap locals:
StackMap stack:
ldc "TimedDynamicCounters"
97: getstatic org.graalvm.compiler.options.OptionType.Debug:Lorg/graalvm/compiler/options/OptionType;
98: ldc Ljava/lang/Integer;
99: ldc "Turn on the benchmark counters, and displays the results every n milliseconds"
100: ldc Lorg/graalvm/compiler/hotspot/debug/BenchmarkCounters$Options;
101: ldc "TimedDynamicCounters"
102: getstatic org.graalvm.compiler.hotspot.debug.BenchmarkCounters$Options.TimedDynamicCounters:Lorg/graalvm/compiler/options/OptionKey;
103: invokestatic org.graalvm.compiler.options.OptionDescriptor.create:(Ljava/lang/String;Lorg/graalvm/compiler/options/OptionType;Ljava/lang/Class;Ljava/lang/String;Ljava/lang/Class;Ljava/lang/String;Lorg/graalvm/compiler/options/OptionKey;)Lorg/graalvm/compiler/options/OptionDescriptor;
areturn
104: StackMap locals:
StackMap stack:
aconst_null
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 105 0 this Lorg/graalvm/compiler/hotspot/debug/BenchmarkCounters_OptionDescriptors;
0 105 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:
public Options = org.graalvm.compiler.hotspot.debug.BenchmarkCounters$Options of org.graalvm.compiler.hotspot.debug.BenchmarkCounters
org.graalvm.compiler.hotspot.debug.BenchmarkCounters_OptionDescriptors$1