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