public final class org.graalvm.compiler.hotspot.test.CompileTheWorld
minor version: 0
major version: 59
flags: flags: (0x0031) ACC_PUBLIC, ACC_FINAL, ACC_SUPER
this_class: org.graalvm.compiler.hotspot.test.CompileTheWorld
super_class: java.lang.Object
{
public static final java.lang.String SUN_BOOT_CLASS_PATH;
descriptor: Ljava/lang/String;
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
ConstantValue: "sun.boot.class.path"
public static final java.lang.String JRT_CLASS_PATH_ENTRY;
descriptor: Ljava/lang/String;
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
ConstantValue: "<jrt>"
private final jdk.vm.ci.hotspot.HotSpotJVMCIRuntime jvmciRuntime;
descriptor: Ljdk/vm/ci/hotspot/HotSpotJVMCIRuntime;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final org.graalvm.compiler.hotspot.HotSpotGraalCompiler compiler;
descriptor: Lorg/graalvm/compiler/hotspot/HotSpotGraalCompiler;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final java.lang.String inputClassPath;
descriptor: Ljava/lang/String;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final int startAt;
descriptor: I
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final int stopAt;
descriptor: I
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final int maxClasses;
descriptor: I
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final org.graalvm.compiler.debug.MethodFilter[] methodFilters;
descriptor: [Lorg/graalvm/compiler/debug/MethodFilter;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final org.graalvm.compiler.debug.MethodFilter[] excludeMethodFilters;
descriptor: [Lorg/graalvm/compiler/debug/MethodFilter;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private int classFileCounter;
descriptor: I
flags: (0x0002) ACC_PRIVATE
private java.util.concurrent.atomic.AtomicLong compiledMethodsCounter;
descriptor: Ljava/util/concurrent/atomic/AtomicLong;
flags: (0x0002) ACC_PRIVATE
private java.util.concurrent.atomic.AtomicLong compileTime;
descriptor: Ljava/util/concurrent/atomic/AtomicLong;
flags: (0x0002) ACC_PRIVATE
private java.util.concurrent.atomic.AtomicLong memoryUsed;
descriptor: Ljava/util/concurrent/atomic/AtomicLong;
flags: (0x0002) ACC_PRIVATE
private boolean verbose;
descriptor: Z
flags: (0x0002) ACC_PRIVATE
private boolean running;
descriptor: Z
flags: (0x0002) ACC_PRIVATE
private java.util.concurrent.ThreadPoolExecutor threadPool;
descriptor: Ljava/util/concurrent/ThreadPoolExecutor;
flags: (0x0002) ACC_PRIVATE
private final org.graalvm.compiler.options.OptionValues harnessOptions;
descriptor: Lorg/graalvm/compiler/options/OptionValues;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final org.graalvm.compiler.options.OptionValues compilerOptions;
descriptor: Lorg/graalvm/compiler/options/OptionValues;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private static final sun.misc.Unsafe UNSAFE;
descriptor: Lsun/misc/Unsafe;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=1, locals=0, args_size=0
0: ldc "jdk.internal.vm.compiler"
invokestatic org.graalvm.compiler.api.test.ModuleSupport.exportAndOpenAllPackagesToUnnamed:(Ljava/lang/String;)V
1: invokestatic org.graalvm.compiler.serviceprovider.GraalUnsafeAccess.getUnsafe:()Lsun/misc/Unsafe;
putstatic org.graalvm.compiler.hotspot.test.CompileTheWorld.UNSAFE:Lsun/misc/Unsafe;
return
LocalVariableTable:
Start End Slot Name Signature
public static jdk.internal.vm.compiler.collections.EconomicMap<org.graalvm.compiler.options.OptionKey<?>, java.lang.Object> parseOptions(java.lang.String);
descriptor: (Ljava/lang/String;)Ljdk/internal/vm/compiler/collections/EconomicMap;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=3, locals=7, args_size=1
start local 0 0: invokestatic org.graalvm.compiler.options.OptionValues.newOptionMap:()Ljdk/internal/vm/compiler/collections/EconomicMap;
astore 1
start local 1 1: aload 0
ifnull 10
2: invokestatic jdk.internal.vm.compiler.collections.EconomicMap.create:()Ljdk/internal/vm/compiler/collections/EconomicMap;
astore 2
start local 2 3: aload 0
ldc "\\s+|#"
invokevirtual java.lang.String.split:(Ljava/lang/String;)[Ljava/lang/String;
dup
astore 6
arraylength
istore 5
iconst_0
istore 4
goto 7
StackMap locals: java.lang.String jdk.internal.vm.compiler.collections.EconomicMap jdk.internal.vm.compiler.collections.EconomicMap top int int java.lang.String[]
StackMap stack:
4: aload 6
iload 4
aaload
astore 3
start local 3 5: aload 3
aload 2
invokestatic org.graalvm.compiler.options.OptionsParser.parseOptionSettingTo:(Ljava/lang/String;Ljdk/internal/vm/compiler/collections/EconomicMap;)V
end local 3 6: iinc 4 1
StackMap locals:
StackMap stack:
7: iload 4
iload 5
if_icmplt 4
8: ldc Lorg/graalvm/compiler/options/OptionDescriptors;
ldc Lorg/graalvm/compiler/options/OptionDescriptors;
invokevirtual java.lang.Class.getClassLoader:()Ljava/lang/ClassLoader;
invokestatic java.util.ServiceLoader.load:(Ljava/lang/Class;Ljava/lang/ClassLoader;)Ljava/util/ServiceLoader;
astore 3
start local 3 9: aload 2
aload 1
aload 3
invokestatic org.graalvm.compiler.options.OptionsParser.parseOptions:(Ljdk/internal/vm/compiler/collections/EconomicMap;Ljdk/internal/vm/compiler/collections/EconomicMap;Ljava/lang/Iterable;)V
end local 3 end local 2 10: StackMap locals: java.lang.String jdk.internal.vm.compiler.collections.EconomicMap
StackMap stack:
aload 1
getstatic org.graalvm.compiler.core.phases.HighTier$Options.Inline:Lorg/graalvm/compiler/options/OptionKey;
invokeinterface jdk.internal.vm.compiler.collections.EconomicMap.containsKey:(Ljava/lang/Object;)Z
ifne 12
11: aload 1
getstatic org.graalvm.compiler.core.phases.HighTier$Options.Inline:Lorg/graalvm/compiler/options/OptionKey;
iconst_0
invokestatic java.lang.Boolean.valueOf:(Z)Ljava/lang/Boolean;
invokeinterface jdk.internal.vm.compiler.collections.EconomicMap.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
12: StackMap locals:
StackMap stack:
aload 1
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 13 0 options Ljava/lang/String;
1 13 1 values Ljdk/internal/vm/compiler/collections/EconomicMap<Lorg/graalvm/compiler/options/OptionKey<*>;Ljava/lang/Object;>;
3 10 2 optionSettings Ljdk/internal/vm/compiler/collections/EconomicMap<Ljava/lang/String;Ljava/lang/String;>;
5 6 3 optionSetting Ljava/lang/String;
9 10 3 loader Ljava/util/ServiceLoader<Lorg/graalvm/compiler/options/OptionDescriptors;>;
Signature: (Ljava/lang/String;)Ljdk/internal/vm/compiler/collections/EconomicMap<Lorg/graalvm/compiler/options/OptionKey<*>;Ljava/lang/Object;>;
MethodParameters:
Name Flags
options
public void <init>(jdk.vm.ci.hotspot.HotSpotJVMCIRuntime, org.graalvm.compiler.hotspot.HotSpotGraalCompiler, java.lang.String, int, int, int, java.lang.String, java.lang.String, boolean, org.graalvm.compiler.options.OptionValues, org.graalvm.compiler.options.OptionValues);
descriptor: (Ljdk/vm/ci/hotspot/HotSpotJVMCIRuntime;Lorg/graalvm/compiler/hotspot/HotSpotGraalCompiler;Ljava/lang/String;IIILjava/lang/String;Ljava/lang/String;ZLorg/graalvm/compiler/options/OptionValues;Lorg/graalvm/compiler/options/OptionValues;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=13, args_size=12
start local 0 start local 1 start local 2 start local 3 start local 4 start local 5 start local 6 start local 7 start local 8 start local 9 start local 10 start local 11 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
iconst_0
putfield org.graalvm.compiler.hotspot.test.CompileTheWorld.classFileCounter:I
2: aload 0
new java.util.concurrent.atomic.AtomicLong
dup
invokespecial java.util.concurrent.atomic.AtomicLong.<init>:()V
putfield org.graalvm.compiler.hotspot.test.CompileTheWorld.compiledMethodsCounter:Ljava/util/concurrent/atomic/AtomicLong;
3: aload 0
new java.util.concurrent.atomic.AtomicLong
dup
invokespecial java.util.concurrent.atomic.AtomicLong.<init>:()V
putfield org.graalvm.compiler.hotspot.test.CompileTheWorld.compileTime:Ljava/util/concurrent/atomic/AtomicLong;
4: aload 0
new java.util.concurrent.atomic.AtomicLong
dup
invokespecial java.util.concurrent.atomic.AtomicLong.<init>:()V
putfield org.graalvm.compiler.hotspot.test.CompileTheWorld.memoryUsed:Ljava/util/concurrent/atomic/AtomicLong;
5: aload 0
aload 1
putfield org.graalvm.compiler.hotspot.test.CompileTheWorld.jvmciRuntime:Ljdk/vm/ci/hotspot/HotSpotJVMCIRuntime;
6: aload 0
aload 2
putfield org.graalvm.compiler.hotspot.test.CompileTheWorld.compiler:Lorg/graalvm/compiler/hotspot/HotSpotGraalCompiler;
7: aload 0
aload 3
putfield org.graalvm.compiler.hotspot.test.CompileTheWorld.inputClassPath:Ljava/lang/String;
8: aload 0
iload 4
iconst_1
invokestatic java.lang.Math.max:(II)I
putfield org.graalvm.compiler.hotspot.test.CompileTheWorld.startAt:I
9: aload 0
iload 5
iconst_1
invokestatic java.lang.Math.max:(II)I
putfield org.graalvm.compiler.hotspot.test.CompileTheWorld.stopAt:I
10: aload 0
iload 6
iconst_1
invokestatic java.lang.Math.max:(II)I
putfield org.graalvm.compiler.hotspot.test.CompileTheWorld.maxClasses:I
11: aload 0
aload 7
ifnull 12
aload 7
invokevirtual java.lang.String.isEmpty:()Z
ifeq 13
StackMap locals: org.graalvm.compiler.hotspot.test.CompileTheWorld jdk.vm.ci.hotspot.HotSpotJVMCIRuntime org.graalvm.compiler.hotspot.HotSpotGraalCompiler java.lang.String int int int java.lang.String java.lang.String int org.graalvm.compiler.options.OptionValues org.graalvm.compiler.options.OptionValues
StackMap stack: org.graalvm.compiler.hotspot.test.CompileTheWorld
12: aconst_null
goto 14
StackMap locals:
StackMap stack: org.graalvm.compiler.hotspot.test.CompileTheWorld
13: aload 7
invokestatic org.graalvm.compiler.debug.MethodFilter.parse:(Ljava/lang/String;)[Lorg/graalvm/compiler/debug/MethodFilter;
StackMap locals: org.graalvm.compiler.hotspot.test.CompileTheWorld jdk.vm.ci.hotspot.HotSpotJVMCIRuntime org.graalvm.compiler.hotspot.HotSpotGraalCompiler java.lang.String int int int java.lang.String java.lang.String int org.graalvm.compiler.options.OptionValues org.graalvm.compiler.options.OptionValues
StackMap stack: org.graalvm.compiler.hotspot.test.CompileTheWorld org.graalvm.compiler.debug.MethodFilter[]
14: putfield org.graalvm.compiler.hotspot.test.CompileTheWorld.methodFilters:[Lorg/graalvm/compiler/debug/MethodFilter;
15: aload 0
aload 8
ifnull 16
aload 8
invokevirtual java.lang.String.isEmpty:()Z
ifeq 17
StackMap locals:
StackMap stack: org.graalvm.compiler.hotspot.test.CompileTheWorld
16: aconst_null
goto 18
StackMap locals:
StackMap stack: org.graalvm.compiler.hotspot.test.CompileTheWorld
17: aload 8
invokestatic org.graalvm.compiler.debug.MethodFilter.parse:(Ljava/lang/String;)[Lorg/graalvm/compiler/debug/MethodFilter;
StackMap locals: org.graalvm.compiler.hotspot.test.CompileTheWorld jdk.vm.ci.hotspot.HotSpotJVMCIRuntime org.graalvm.compiler.hotspot.HotSpotGraalCompiler java.lang.String int int int java.lang.String java.lang.String int org.graalvm.compiler.options.OptionValues org.graalvm.compiler.options.OptionValues
StackMap stack: org.graalvm.compiler.hotspot.test.CompileTheWorld org.graalvm.compiler.debug.MethodFilter[]
18: putfield org.graalvm.compiler.hotspot.test.CompileTheWorld.excludeMethodFilters:[Lorg/graalvm/compiler/debug/MethodFilter;
19: aload 0
iload 9
putfield org.graalvm.compiler.hotspot.test.CompileTheWorld.verbose:Z
20: aload 0
aload 10
putfield org.graalvm.compiler.hotspot.test.CompileTheWorld.harnessOptions:Lorg/graalvm/compiler/options/OptionValues;
21: aload 11
invokevirtual org.graalvm.compiler.options.OptionValues.getMap:()Ljdk/internal/vm/compiler/collections/UnmodifiableEconomicMap;
invokestatic jdk.internal.vm.compiler.collections.EconomicMap.create:(Ljdk/internal/vm/compiler/collections/UnmodifiableEconomicMap;)Ljdk/internal/vm/compiler/collections/EconomicMap;
astore 12
start local 12 22: getstatic org.graalvm.compiler.core.GraalCompilerOptions.CompilationBailoutAsFailure:Lorg/graalvm/compiler/options/OptionKey;
aload 12
iconst_1
invokestatic java.lang.Boolean.valueOf:(Z)Ljava/lang/Boolean;
invokevirtual org.graalvm.compiler.options.OptionKey.putIfAbsent:(Ljdk/internal/vm/compiler/collections/EconomicMap;Ljava/lang/Object;)V
23: getstatic org.graalvm.compiler.core.GraalCompilerOptions.CompilationFailureAction:Lorg/graalvm/compiler/options/EnumOptionKey;
aload 12
getstatic org.graalvm.compiler.core.CompilationWrapper$ExceptionAction.Print:Lorg/graalvm/compiler/core/CompilationWrapper$ExceptionAction;
invokevirtual org.graalvm.compiler.options.EnumOptionKey.putIfAbsent:(Ljdk/internal/vm/compiler/collections/EconomicMap;Ljava/lang/Object;)V
24: getstatic org.graalvm.compiler.debug.DebugOptions.MetricsThreadFilter:Lorg/graalvm/compiler/options/OptionKey;
aload 12
ldc "^CompileTheWorld"
invokevirtual org.graalvm.compiler.options.OptionKey.putIfAbsent:(Ljdk/internal/vm/compiler/collections/EconomicMap;Ljava/lang/Object;)V
25: aload 0
new org.graalvm.compiler.options.OptionValues
dup
aload 12
invokespecial org.graalvm.compiler.options.OptionValues.<init>:(Ljdk/internal/vm/compiler/collections/UnmodifiableEconomicMap;)V
putfield org.graalvm.compiler.hotspot.test.CompileTheWorld.compilerOptions:Lorg/graalvm/compiler/options/OptionValues;
26: return
end local 12 end local 11 end local 10 end local 9 end local 8 end local 7 end local 6 end local 5 end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 27 0 this Lorg/graalvm/compiler/hotspot/test/CompileTheWorld;
0 27 1 jvmciRuntime Ljdk/vm/ci/hotspot/HotSpotJVMCIRuntime;
0 27 2 compiler Lorg/graalvm/compiler/hotspot/HotSpotGraalCompiler;
0 27 3 files Ljava/lang/String;
0 27 4 startAt I
0 27 5 stopAt I
0 27 6 maxClasses I
0 27 7 methodFilters Ljava/lang/String;
0 27 8 excludeMethodFilters Ljava/lang/String;
0 27 9 verbose Z
0 27 10 harnessOptions Lorg/graalvm/compiler/options/OptionValues;
0 27 11 compilerOptions Lorg/graalvm/compiler/options/OptionValues;
22 27 12 compilerOptionsMap Ljdk/internal/vm/compiler/collections/EconomicMap<Lorg/graalvm/compiler/options/OptionKey<*>;Ljava/lang/Object;>;
MethodParameters:
Name Flags
jvmciRuntime
compiler
files
startAt
stopAt
maxClasses
methodFilters
excludeMethodFilters
verbose
harnessOptions
compilerOptions
public void <init>(jdk.vm.ci.hotspot.HotSpotJVMCIRuntime, org.graalvm.compiler.hotspot.HotSpotGraalCompiler, org.graalvm.compiler.options.OptionValues, org.graalvm.compiler.options.OptionValues);
descriptor: (Ljdk/vm/ci/hotspot/HotSpotJVMCIRuntime;Lorg/graalvm/compiler/hotspot/HotSpotGraalCompiler;Lorg/graalvm/compiler/options/OptionValues;Lorg/graalvm/compiler/options/OptionValues;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=16, locals=5, args_size=5
start local 0 start local 1 start local 2 start local 3 start local 4 0: aload 0
aload 1
aload 2
getstatic org.graalvm.compiler.hotspot.test.CompileTheWorld$Options.Classpath:Lorg/graalvm/compiler/options/OptionKey;
aload 3
invokevirtual org.graalvm.compiler.options.OptionKey.getValue:(Lorg/graalvm/compiler/options/OptionValues;)Ljava/lang/Object;
checkcast java.lang.String
1: getstatic org.graalvm.compiler.hotspot.test.CompileTheWorld$Options.StartAt:Lorg/graalvm/compiler/options/OptionKey;
aload 3
invokevirtual org.graalvm.compiler.options.OptionKey.getValue:(Lorg/graalvm/compiler/options/OptionValues;)Ljava/lang/Object;
checkcast java.lang.Integer
invokevirtual java.lang.Integer.intValue:()I
2: getstatic org.graalvm.compiler.hotspot.test.CompileTheWorld$Options.StopAt:Lorg/graalvm/compiler/options/OptionKey;
aload 3
invokevirtual org.graalvm.compiler.options.OptionKey.getValue:(Lorg/graalvm/compiler/options/OptionValues;)Ljava/lang/Object;
checkcast java.lang.Integer
invokevirtual java.lang.Integer.intValue:()I
3: getstatic org.graalvm.compiler.hotspot.test.CompileTheWorld$Options.MaxClasses:Lorg/graalvm/compiler/options/OptionKey;
aload 3
invokevirtual org.graalvm.compiler.options.OptionKey.getValue:(Lorg/graalvm/compiler/options/OptionValues;)Ljava/lang/Object;
checkcast java.lang.Integer
invokevirtual java.lang.Integer.intValue:()I
4: getstatic org.graalvm.compiler.hotspot.test.CompileTheWorld$Options.MethodFilter:Lorg/graalvm/compiler/options/OptionKey;
aload 3
invokevirtual org.graalvm.compiler.options.OptionKey.getValue:(Lorg/graalvm/compiler/options/OptionValues;)Ljava/lang/Object;
checkcast java.lang.String
5: getstatic org.graalvm.compiler.hotspot.test.CompileTheWorld$Options.ExcludeMethodFilter:Lorg/graalvm/compiler/options/OptionKey;
aload 3
invokevirtual org.graalvm.compiler.options.OptionKey.getValue:(Lorg/graalvm/compiler/options/OptionValues;)Ljava/lang/Object;
checkcast java.lang.String
6: getstatic org.graalvm.compiler.hotspot.test.CompileTheWorld$Options.Verbose:Lorg/graalvm/compiler/options/OptionKey;
aload 3
invokevirtual org.graalvm.compiler.options.OptionKey.hasBeenSet:(Lorg/graalvm/compiler/options/OptionValues;)Z
ifeq 7
getstatic org.graalvm.compiler.hotspot.test.CompileTheWorld$Options.Verbose:Lorg/graalvm/compiler/options/OptionKey;
aload 3
invokevirtual org.graalvm.compiler.options.OptionKey.getValue:(Lorg/graalvm/compiler/options/OptionValues;)Ljava/lang/Object;
checkcast java.lang.Boolean
invokevirtual java.lang.Boolean.booleanValue:()Z
goto 9
StackMap locals: uninitialized-this jdk.vm.ci.hotspot.HotSpotJVMCIRuntime org.graalvm.compiler.hotspot.HotSpotGraalCompiler org.graalvm.compiler.options.OptionValues org.graalvm.compiler.options.OptionValues
StackMap stack: uninitialized-this jdk.vm.ci.hotspot.HotSpotJVMCIRuntime org.graalvm.compiler.hotspot.HotSpotGraalCompiler java.lang.String int int int java.lang.String java.lang.String
7: getstatic org.graalvm.compiler.hotspot.test.CompileTheWorld$Options.MultiThreaded:Lorg/graalvm/compiler/options/OptionKey;
aload 3
invokevirtual org.graalvm.compiler.options.OptionKey.getValue:(Lorg/graalvm/compiler/options/OptionValues;)Ljava/lang/Object;
checkcast java.lang.Boolean
invokevirtual java.lang.Boolean.booleanValue:()Z
ifeq 8
iconst_0
goto 9
StackMap locals: uninitialized-this jdk.vm.ci.hotspot.HotSpotJVMCIRuntime org.graalvm.compiler.hotspot.HotSpotGraalCompiler org.graalvm.compiler.options.OptionValues org.graalvm.compiler.options.OptionValues
StackMap stack: uninitialized-this jdk.vm.ci.hotspot.HotSpotJVMCIRuntime org.graalvm.compiler.hotspot.HotSpotGraalCompiler java.lang.String int int int java.lang.String java.lang.String
8: iconst_1
9: StackMap locals: uninitialized-this jdk.vm.ci.hotspot.HotSpotJVMCIRuntime org.graalvm.compiler.hotspot.HotSpotGraalCompiler org.graalvm.compiler.options.OptionValues org.graalvm.compiler.options.OptionValues
StackMap stack: uninitialized-this jdk.vm.ci.hotspot.HotSpotJVMCIRuntime org.graalvm.compiler.hotspot.HotSpotGraalCompiler java.lang.String int int int java.lang.String java.lang.String int
aload 3
10: new org.graalvm.compiler.options.OptionValues
dup
aload 4
getstatic org.graalvm.compiler.hotspot.test.CompileTheWorld$Options.Config:Lorg/graalvm/compiler/options/OptionKey;
aload 3
invokevirtual org.graalvm.compiler.options.OptionKey.getValue:(Lorg/graalvm/compiler/options/OptionValues;)Ljava/lang/Object;
checkcast java.lang.String
invokestatic org.graalvm.compiler.hotspot.test.CompileTheWorld.parseOptions:(Ljava/lang/String;)Ljdk/internal/vm/compiler/collections/EconomicMap;
invokespecial org.graalvm.compiler.options.OptionValues.<init>:(Lorg/graalvm/compiler/options/OptionValues;Ljdk/internal/vm/compiler/collections/UnmodifiableEconomicMap;)V
invokespecial org.graalvm.compiler.hotspot.test.CompileTheWorld.<init>:(Ljdk/vm/ci/hotspot/HotSpotJVMCIRuntime;Lorg/graalvm/compiler/hotspot/HotSpotGraalCompiler;Ljava/lang/String;IIILjava/lang/String;Ljava/lang/String;ZLorg/graalvm/compiler/options/OptionValues;Lorg/graalvm/compiler/options/OptionValues;)V
11: return
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 12 0 this Lorg/graalvm/compiler/hotspot/test/CompileTheWorld;
0 12 1 jvmciRuntime Ljdk/vm/ci/hotspot/HotSpotJVMCIRuntime;
0 12 2 compiler Lorg/graalvm/compiler/hotspot/HotSpotGraalCompiler;
0 12 3 harnessOptions Lorg/graalvm/compiler/options/OptionValues;
0 12 4 compilerOptions Lorg/graalvm/compiler/options/OptionValues;
MethodParameters:
Name Flags
jvmciRuntime
compiler
harnessOptions
compilerOptions
public void compile();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=7, locals=9, args_size=1
start local 0 0: aconst_null
astore 1
aconst_null
astore 2
1: invokestatic jdk.internal.vm.compiler.libgraal.LibGraal.isAvailable:()Z
ifeq 2
new org.graalvm.compiler.hotspot.test.CompileTheWorld$LibGraalParams
dup
aload 0
getfield org.graalvm.compiler.hotspot.test.CompileTheWorld.compilerOptions:Lorg/graalvm/compiler/options/OptionValues;
invokespecial org.graalvm.compiler.hotspot.test.CompileTheWorld$LibGraalParams.<init>:(Lorg/graalvm/compiler/options/OptionValues;)V
goto 3
StackMap locals: java.lang.Throwable java.lang.Throwable
StackMap stack:
2: aconst_null
StackMap locals:
StackMap stack: org.graalvm.compiler.hotspot.test.CompileTheWorld$LibGraalParams
3: astore 3
start local 3 4: ldc "sun.boot.class.path"
aload 0
getfield org.graalvm.compiler.hotspot.test.CompileTheWorld.inputClassPath:Ljava/lang/String;
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 21
5: aconst_null
astore 4
start local 4 6: getstatic org.graalvm.compiler.serviceprovider.JavaVersionUtil.JAVA_SPEC:I
bipush 8
if_icmpgt 18
7: ldc "sun.boot.class.path"
invokestatic java.lang.System.getProperty:(Ljava/lang/String;)Ljava/lang/String;
getstatic java.io.File.pathSeparator:Ljava/lang/String;
invokevirtual java.lang.String.split:(Ljava/lang/String;)[Ljava/lang/String;
astore 5
start local 5 8: iconst_0
istore 6
start local 6 9: goto 15
10: StackMap locals: org.graalvm.compiler.hotspot.test.CompileTheWorld java.lang.Throwable java.lang.Throwable org.graalvm.compiler.hotspot.test.CompileTheWorld$LibGraalParams java.lang.String java.lang.String[] int
StackMap stack:
aload 5
iload 6
aaload
astore 7
start local 7 11: new java.io.File
dup
aload 7
invokespecial java.io.File.<init>:(Ljava/lang/String;)V
astore 8
start local 8 12: aload 8
invokevirtual java.io.File.getName:()Ljava/lang/String;
ldc "rt.jar"
invokevirtual java.lang.String.endsWith:(Ljava/lang/String;)Z
ifeq 14
aload 8
invokevirtual java.io.File.isFile:()Z
ifeq 14
13: aload 7
astore 4
end local 8 end local 7 14: StackMap locals:
StackMap stack:
iinc 6 1
StackMap locals:
StackMap stack:
15: iload 6
aload 5
arraylength
if_icmpge 16
aload 4
ifnull 10
end local 6 16: StackMap locals:
StackMap stack:
aload 4
ifnonnull 19
17: new org.graalvm.compiler.debug.GraalError
dup
ldc "Could not find rt.jar on boot class path %s"
iconst_1
anewarray java.lang.Object
dup
iconst_0
ldc "sun.boot.class.path"
invokestatic java.lang.System.getProperty:(Ljava/lang/String;)Ljava/lang/String;
aastore
invokespecial org.graalvm.compiler.debug.GraalError.<init>:(Ljava/lang/String;[Ljava/lang/Object;)V
athrow
end local 5 18: StackMap locals:
StackMap stack:
ldc "<jrt>"
astore 4
19: StackMap locals:
StackMap stack:
aload 0
aload 4
aload 3
invokevirtual org.graalvm.compiler.hotspot.test.CompileTheWorld.compile:(Ljava/lang/String;Lorg/graalvm/compiler/hotspot/test/CompileTheWorld$LibGraalParams;)V
end local 4 20: goto 22
21: StackMap locals:
StackMap stack:
aload 0
aload 0
getfield org.graalvm.compiler.hotspot.test.CompileTheWorld.inputClassPath:Ljava/lang/String;
aload 3
invokevirtual org.graalvm.compiler.hotspot.test.CompileTheWorld.compile:(Ljava/lang/String;Lorg/graalvm/compiler/hotspot/test/CompileTheWorld$LibGraalParams;)V
22: StackMap locals:
StackMap stack:
aload 3
ifnull 28
aload 3
invokevirtual org.graalvm.compiler.hotspot.test.CompileTheWorld$LibGraalParams.close:()V
goto 28
StackMap locals:
StackMap stack: java.lang.Throwable
23: astore 1
aload 3
ifnull 24
aload 3
invokevirtual org.graalvm.compiler.hotspot.test.CompileTheWorld$LibGraalParams.close:()V
end local 3 StackMap locals:
StackMap stack:
24: aload 1
athrow
StackMap locals:
StackMap stack: java.lang.Throwable
25: astore 2
aload 1
ifnonnull 26
aload 2
astore 1
goto 27
StackMap locals:
StackMap stack:
26: aload 1
aload 2
if_acmpeq 27
aload 1
aload 2
invokevirtual java.lang.Throwable.addSuppressed:(Ljava/lang/Throwable;)V
StackMap locals:
StackMap stack:
27: aload 1
athrow
28: StackMap locals:
StackMap stack:
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 29 0 this Lorg/graalvm/compiler/hotspot/test/CompileTheWorld;
4 24 3 libgraal Lorg/graalvm/compiler/hotspot/test/CompileTheWorld$LibGraalParams;
6 20 4 bcpEntry Ljava/lang/String;
8 18 5 entries [Ljava/lang/String;
9 16 6 i I
11 14 7 entry Ljava/lang/String;
12 14 8 entryFile Ljava/io/File;
Exception table:
from to target type
4 22 23 any
1 25 25 any
Exceptions:
throws java.lang.Throwable
public void println();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
ldc ""
invokevirtual org.graalvm.compiler.hotspot.test.CompileTheWorld.println:(Ljava/lang/String;)V
1: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/graalvm/compiler/hotspot/test/CompileTheWorld;
public void println(java.lang.String, java.lang.Object[]);
descriptor: (Ljava/lang/String;[Ljava/lang/Object;)V
flags: (0x0081) ACC_PUBLIC, ACC_VARARGS
Code:
stack=3, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
aload 1
aload 2
invokestatic java.lang.String.format:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
invokevirtual org.graalvm.compiler.hotspot.test.CompileTheWorld.println:(Ljava/lang/String;)V
1: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/graalvm/compiler/hotspot/test/CompileTheWorld;
0 2 1 format Ljava/lang/String;
0 2 2 args [Ljava/lang/Object;
MethodParameters:
Name Flags
format
args
public void println(java.lang.String);
descriptor: (Ljava/lang/String;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield org.graalvm.compiler.hotspot.test.CompileTheWorld.verbose:Z
aload 1
invokestatic org.graalvm.compiler.hotspot.test.CompileTheWorld.println:(ZLjava/lang/String;)V
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/graalvm/compiler/hotspot/test/CompileTheWorld;
0 2 1 s Ljava/lang/String;
MethodParameters:
Name Flags
s
public static void println(boolean, java.lang.String);
descriptor: (ZLjava/lang/String;)V
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=1, locals=2, args_size=2
start local 0 start local 1 0: iload 0
ifeq 2
1: aload 1
invokestatic org.graalvm.compiler.debug.TTY.println:(Ljava/lang/String;)V
2: StackMap locals:
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 cond Z
0 3 1 s Ljava/lang/String;
MethodParameters:
Name Flags
cond
s
public void printStackTrace(java.lang.Throwable);
descriptor: (Ljava/lang/Throwable;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield org.graalvm.compiler.hotspot.test.CompileTheWorld.verbose:Z
ifeq 2
1: aload 1
getstatic org.graalvm.compiler.debug.TTY.out:Ljava/io/PrintStream;
invokevirtual java.lang.Throwable.printStackTrace:(Ljava/io/PrintStream;)V
2: StackMap locals:
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/graalvm/compiler/hotspot/test/CompileTheWorld;
0 3 1 t Ljava/lang/Throwable;
MethodParameters:
Name Flags
t
private static void dummy();
descriptor: ()V
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=0, locals=0, args_size=0
0: return
LocalVariableTable:
Start End Slot Name Signature
private boolean isClassIncluded(java.lang.String);
descriptor: (Ljava/lang/String;)Z
flags: (0x0002) ACC_PRIVATE
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield org.graalvm.compiler.hotspot.test.CompileTheWorld.methodFilters:[Lorg/graalvm/compiler/debug/MethodFilter;
ifnull 2
aload 0
getfield org.graalvm.compiler.hotspot.test.CompileTheWorld.methodFilters:[Lorg/graalvm/compiler/debug/MethodFilter;
aload 1
invokestatic org.graalvm.compiler.debug.MethodFilter.matchesClassName:([Lorg/graalvm/compiler/debug/MethodFilter;Ljava/lang/String;)Z
ifne 2
1: iconst_0
ireturn
2: StackMap locals:
StackMap stack:
aload 0
getfield org.graalvm.compiler.hotspot.test.CompileTheWorld.excludeMethodFilters:[Lorg/graalvm/compiler/debug/MethodFilter;
ifnull 4
aload 0
getfield org.graalvm.compiler.hotspot.test.CompileTheWorld.excludeMethodFilters:[Lorg/graalvm/compiler/debug/MethodFilter;
aload 1
invokestatic org.graalvm.compiler.debug.MethodFilter.matchesClassName:([Lorg/graalvm/compiler/debug/MethodFilter;Ljava/lang/String;)Z
ifeq 4
3: iconst_0
ireturn
4: StackMap locals:
StackMap stack:
iconst_1
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lorg/graalvm/compiler/hotspot/test/CompileTheWorld;
0 5 1 className Ljava/lang/String;
MethodParameters:
Name Flags
className
private org.graalvm.compiler.hotspot.test.CompileTheWorld$ClassPathEntry openClassPathEntry(java.lang.String);
descriptor: (Ljava/lang/String;)Lorg/graalvm/compiler/hotspot/test/CompileTheWorld$ClassPathEntry;
flags: (0x0002) ACC_PRIVATE
Code:
stack=5, locals=2, args_size=2
start local 0 start local 1 0: aload 1
ldc ".zip"
invokevirtual java.lang.String.endsWith:(Ljava/lang/String;)Z
ifne 1
aload 1
ldc ".jar"
invokevirtual java.lang.String.endsWith:(Ljava/lang/String;)Z
ifeq 2
1: StackMap locals:
StackMap stack:
new org.graalvm.compiler.hotspot.test.CompileTheWorld$JarClassPathEntry
dup
aload 1
invokespecial org.graalvm.compiler.hotspot.test.CompileTheWorld$JarClassPathEntry.<init>:(Ljava/lang/String;)V
areturn
2: StackMap locals:
StackMap stack:
aload 1
ldc "<jrt>"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 4
3: new org.graalvm.compiler.hotspot.test.CompileTheWorld$JRTClassPathEntry
dup
aload 1
getstatic org.graalvm.compiler.hotspot.test.CompileTheWorld$Options.LimitModules:Lorg/graalvm/compiler/options/OptionKey;
aload 0
getfield org.graalvm.compiler.hotspot.test.CompileTheWorld.harnessOptions:Lorg/graalvm/compiler/options/OptionValues;
invokevirtual org.graalvm.compiler.options.OptionKey.getValue:(Lorg/graalvm/compiler/options/OptionValues;)Ljava/lang/Object;
checkcast java.lang.String
invokespecial org.graalvm.compiler.hotspot.test.CompileTheWorld$JRTClassPathEntry.<init>:(Ljava/lang/String;Ljava/lang/String;)V
areturn
4: StackMap locals:
StackMap stack:
new java.io.File
dup
aload 1
invokespecial java.io.File.<init>:(Ljava/lang/String;)V
invokevirtual java.io.File.isDirectory:()Z
ifne 6
5: aconst_null
areturn
6: StackMap locals:
StackMap stack:
new org.graalvm.compiler.hotspot.test.CompileTheWorld$DirClassPathEntry
dup
aload 1
invokespecial org.graalvm.compiler.hotspot.test.CompileTheWorld$DirClassPathEntry.<init>:(Ljava/lang/String;)V
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Lorg/graalvm/compiler/hotspot/test/CompileTheWorld;
0 7 1 entry Ljava/lang/String;
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
entry
private void compile(java.lang.String, org.graalvm.compiler.hotspot.test.CompileTheWorld$LibGraalParams);
descriptor: (Ljava/lang/String;Lorg/graalvm/compiler/hotspot/test/CompileTheWorld$LibGraalParams;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=12, locals=29, args_size=3
start local 0 start local 1 start local 2 0: aload 1
getstatic java.io.File.pathSeparator:Ljava/lang/String;
invokevirtual java.lang.String.split:(Ljava/lang/String;)[Ljava/lang/String;
astore 3
start local 3 1: invokestatic java.lang.System.nanoTime:()J
lstore 4
start local 4 2: invokestatic java.lang.Thread.getAllStackTraces:()Ljava/util/Map;
astore 6
start local 6 3: aload 2
ifnonnull 15
4: invokestatic jdk.vm.ci.runtime.JVMCI.getRuntime:()Ljdk/vm/ci/runtime/JVMCIRuntime;
invokeinterface jdk.vm.ci.runtime.JVMCIRuntime.getHostJVMCIBackend:()Ljdk/vm/ci/runtime/JVMCIBackend;
invokevirtual jdk.vm.ci.runtime.JVMCIBackend.getMetaAccess:()Ljdk/vm/ci/meta/MetaAccessProvider;
5: ldc Lorg/graalvm/compiler/hotspot/test/CompileTheWorld;
ldc "dummy"
iconst_0
anewarray java.lang.Class
invokevirtual java.lang.Class.getDeclaredMethod:(Ljava/lang/String;[Ljava/lang/Class;)Ljava/lang/reflect/Method;
6: invokeinterface jdk.vm.ci.meta.MetaAccessProvider.lookupJavaMethod:(Ljava/lang/reflect/Executable;)Ljdk/vm/ci/meta/ResolvedJavaMethod;
checkcast jdk.vm.ci.hotspot.HotSpotResolvedJavaMethod
astore 7
start local 7 7: iconst_m1
istore 8
start local 8 8: iconst_0
istore 9
start local 9 9: iconst_0
istore 10
start local 10 10: new org.graalvm.compiler.hotspot.CompilationTask
dup
aload 0
getfield org.graalvm.compiler.hotspot.test.CompileTheWorld.jvmciRuntime:Ljdk/vm/ci/hotspot/HotSpotJVMCIRuntime;
aload 0
getfield org.graalvm.compiler.hotspot.test.CompileTheWorld.compiler:Lorg/graalvm/compiler/hotspot/HotSpotGraalCompiler;
new jdk.vm.ci.hotspot.HotSpotCompilationRequest
dup
aload 7
iload 8
lconst_0
invokespecial jdk.vm.ci.hotspot.HotSpotCompilationRequest.<init>:(Ljdk/vm/ci/hotspot/HotSpotResolvedJavaMethod;IJ)V
iload 9
iload 10
invokespecial org.graalvm.compiler.hotspot.CompilationTask.<init>:(Ljdk/vm/ci/hotspot/HotSpotJVMCIRuntime;Lorg/graalvm/compiler/hotspot/HotSpotGraalCompiler;Ljdk/vm/ci/hotspot/HotSpotCompilationRequest;ZZ)V
astore 11
start local 11 11: aload 11
aload 0
getfield org.graalvm.compiler.hotspot.test.CompileTheWorld.compilerOptions:Lorg/graalvm/compiler/options/OptionValues;
invokevirtual org.graalvm.compiler.hotspot.CompilationTask.runCompilation:(Lorg/graalvm/compiler/options/OptionValues;)Ljdk/vm/ci/hotspot/HotSpotCompilationRequestResult;
pop
end local 11 end local 10 end local 9 end local 8 end local 7 12: goto 15
StackMap locals: org.graalvm.compiler.hotspot.test.CompileTheWorld java.lang.String org.graalvm.compiler.hotspot.test.CompileTheWorld$LibGraalParams java.lang.String[] long java.util.Map
StackMap stack: java.lang.Exception
13: astore 7
start local 7 14: aload 0
aload 7
invokevirtual org.graalvm.compiler.hotspot.test.CompileTheWorld.printStackTrace:(Ljava/lang/Throwable;)V
end local 7 15: StackMap locals:
StackMap stack:
iconst_1
istore 7
start local 7 16: getstatic org.graalvm.compiler.hotspot.test.CompileTheWorld$Options.MultiThreaded:Lorg/graalvm/compiler/options/OptionKey;
aload 0
getfield org.graalvm.compiler.hotspot.test.CompileTheWorld.harnessOptions:Lorg/graalvm/compiler/options/OptionValues;
invokevirtual org.graalvm.compiler.options.OptionKey.getValue:(Lorg/graalvm/compiler/options/OptionValues;)Ljava/lang/Object;
checkcast java.lang.Boolean
invokevirtual java.lang.Boolean.booleanValue:()Z
ifeq 21
17: getstatic org.graalvm.compiler.hotspot.test.CompileTheWorld$Options.Threads:Lorg/graalvm/compiler/options/OptionKey;
aload 0
getfield org.graalvm.compiler.hotspot.test.CompileTheWorld.harnessOptions:Lorg/graalvm/compiler/options/OptionValues;
invokevirtual org.graalvm.compiler.options.OptionKey.getValue:(Lorg/graalvm/compiler/options/OptionValues;)Ljava/lang/Object;
checkcast java.lang.Integer
invokevirtual java.lang.Integer.intValue:()I
istore 7
18: iload 7
ifne 22
19: invokestatic java.lang.Runtime.getRuntime:()Ljava/lang/Runtime;
invokevirtual java.lang.Runtime.availableProcessors:()I
istore 7
20: goto 22
21: StackMap locals: int
StackMap stack:
aload 0
iconst_1
putfield org.graalvm.compiler.hotspot.test.CompileTheWorld.running:Z
22: StackMap locals:
StackMap stack:
aload 0
new java.util.concurrent.ThreadPoolExecutor
dup
iload 7
iload 7
lconst_0
getstatic java.util.concurrent.TimeUnit.MILLISECONDS:Ljava/util/concurrent/TimeUnit;
new java.util.concurrent.LinkedBlockingQueue
dup
invokespecial java.util.concurrent.LinkedBlockingQueue.<init>:()V
new org.graalvm.compiler.core.CompilerThreadFactory
dup
ldc "CompileTheWorld"
invokespecial org.graalvm.compiler.core.CompilerThreadFactory.<init>:(Ljava/lang/String;)V
invokespecial java.util.concurrent.ThreadPoolExecutor.<init>:(IIJLjava/util/concurrent/TimeUnit;Ljava/util/concurrent/BlockingQueue;Ljava/util/concurrent/ThreadFactory;)V
putfield org.graalvm.compiler.hotspot.test.CompileTheWorld.threadPool:Ljava/util/concurrent/ThreadPoolExecutor;
23: aload 0
getfield org.graalvm.compiler.hotspot.test.CompileTheWorld.startAt:I
istore 8
start local 8 24: aload 0
getfield org.graalvm.compiler.hotspot.test.CompileTheWorld.stopAt:I
istore 9
start local 9 25: iconst_1
istore 10
start local 10 26: aload 0
getfield org.graalvm.compiler.hotspot.test.CompileTheWorld.maxClasses:I
ldc 2147483647
if_icmpeq 48
27: iconst_0
istore 11
start local 11 28: aload 3
dup
astore 15
arraylength
istore 14
iconst_0
istore 13
goto 41
StackMap locals: org.graalvm.compiler.hotspot.test.CompileTheWorld java.lang.String org.graalvm.compiler.hotspot.test.CompileTheWorld$LibGraalParams java.lang.String[] long java.util.Map int int int int int top int int java.lang.String[]
StackMap stack:
29: aload 15
iload 13
aaload
astore 12
start local 12 30: aconst_null
astore 16
aconst_null
astore 17
31: aload 0
aload 12
invokevirtual org.graalvm.compiler.hotspot.test.CompileTheWorld.openClassPathEntry:(Ljava/lang/String;)Lorg/graalvm/compiler/hotspot/test/CompileTheWorld$ClassPathEntry;
astore 18
start local 18 32: aload 18
ifnull 34
33: iload 11
aload 18
invokevirtual org.graalvm.compiler.hotspot.test.CompileTheWorld$ClassPathEntry.getClassNames:()Ljava/util/List;
invokeinterface java.util.List.size:()I
iadd
istore 11
34: StackMap locals: org.graalvm.compiler.hotspot.test.CompileTheWorld java.lang.String org.graalvm.compiler.hotspot.test.CompileTheWorld$LibGraalParams java.lang.String[] long java.util.Map int int int int int java.lang.String int int java.lang.String[] java.lang.Throwable java.lang.Throwable org.graalvm.compiler.hotspot.test.CompileTheWorld$ClassPathEntry
StackMap stack:
aload 18
ifnull 40
aload 18
invokevirtual org.graalvm.compiler.hotspot.test.CompileTheWorld$ClassPathEntry.close:()V
goto 40
StackMap locals:
StackMap stack: java.lang.Throwable
35: astore 16
aload 18
ifnull 36
aload 18
invokevirtual org.graalvm.compiler.hotspot.test.CompileTheWorld$ClassPathEntry.close:()V
end local 18 StackMap locals:
StackMap stack:
36: aload 16
athrow
StackMap locals:
StackMap stack: java.lang.Throwable
37: astore 17
aload 16
ifnonnull 38
aload 17
astore 16
goto 39
StackMap locals:
StackMap stack:
38: aload 16
aload 17
if_acmpeq 39
aload 16
aload 17
invokevirtual java.lang.Throwable.addSuppressed:(Ljava/lang/Throwable;)V
StackMap locals:
StackMap stack:
39: aload 16
athrow
end local 12 40: StackMap locals: org.graalvm.compiler.hotspot.test.CompileTheWorld java.lang.String org.graalvm.compiler.hotspot.test.CompileTheWorld$LibGraalParams java.lang.String[] long java.util.Map int int int int int top int int java.lang.String[]
StackMap stack:
iinc 13 1
StackMap locals:
StackMap stack:
41: iload 13
iload 14
if_icmplt 29
42: iload 11
iconst_1
isub
istore 12
start local 12 43: aload 0
getfield org.graalvm.compiler.hotspot.test.CompileTheWorld.startAt:I
iload 12
invokestatic java.lang.Math.min:(II)I
istore 8
44: aload 0
getfield org.graalvm.compiler.hotspot.test.CompileTheWorld.stopAt:I
iload 12
invokestatic java.lang.Math.min:(II)I
istore 9
45: iload 9
iload 8
isub
iconst_1
iadd
istore 13
start local 13 46: aload 0
getfield org.graalvm.compiler.hotspot.test.CompileTheWorld.maxClasses:I
iload 13
if_icmpge 48
47: iload 13
aload 0
getfield org.graalvm.compiler.hotspot.test.CompileTheWorld.maxClasses:I
idiv
istore 10
end local 13 end local 12 end local 11 48: StackMap locals: org.graalvm.compiler.hotspot.test.CompileTheWorld java.lang.String org.graalvm.compiler.hotspot.test.CompileTheWorld$LibGraalParams java.lang.String[] long java.util.Map int int int int
StackMap stack:
iconst_0
istore 11
start local 11 49: goto 128
50: StackMap locals: int
StackMap stack:
aload 3
iload 11
aaload
astore 12
start local 12 51: aconst_null
astore 13
aconst_null
astore 14
52: aload 0
aload 12
invokevirtual org.graalvm.compiler.hotspot.test.CompileTheWorld.openClassPathEntry:(Ljava/lang/String;)Lorg/graalvm/compiler/hotspot/test/CompileTheWorld$ClassPathEntry;
astore 15
start local 15 53: aload 15
ifnonnull 58
54: aload 0
new java.lang.StringBuilder
dup
ldc "CompileTheWorld : Skipped classes in "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 12
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokevirtual org.graalvm.compiler.hotspot.test.CompileTheWorld.println:(Ljava/lang/String;)V
55: aload 0
invokevirtual org.graalvm.compiler.hotspot.test.CompileTheWorld.println:()V
56: aload 15
ifnull 127
aload 15
invokevirtual org.graalvm.compiler.hotspot.test.CompileTheWorld$ClassPathEntry.close:()V
57: goto 127
58: StackMap locals: org.graalvm.compiler.hotspot.test.CompileTheWorld java.lang.String org.graalvm.compiler.hotspot.test.CompileTheWorld$LibGraalParams java.lang.String[] long java.util.Map int int int int int java.lang.String java.lang.Throwable java.lang.Throwable org.graalvm.compiler.hotspot.test.CompileTheWorld$ClassPathEntry
StackMap stack:
aload 0
getfield org.graalvm.compiler.hotspot.test.CompileTheWorld.methodFilters:[Lorg/graalvm/compiler/debug/MethodFilter;
ifnull 59
aload 0
getfield org.graalvm.compiler.hotspot.test.CompileTheWorld.methodFilters:[Lorg/graalvm/compiler/debug/MethodFilter;
arraylength
ifne 61
59: StackMap locals:
StackMap stack:
aload 0
new java.lang.StringBuilder
dup
ldc "CompileTheWorld : Compiling all classes in "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 12
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokevirtual org.graalvm.compiler.hotspot.test.CompileTheWorld.println:(Ljava/lang/String;)V
60: goto 63
61: StackMap locals:
StackMap stack:
aload 0
getfield org.graalvm.compiler.hotspot.test.CompileTheWorld.methodFilters:[Lorg/graalvm/compiler/debug/MethodFilter;
invokestatic java.util.Arrays.asList:([Ljava/lang/Object;)Ljava/util/List;
invokeinterface java.util.List.stream:()Ljava/util/stream/Stream;
invokedynamic apply()Ljava/util/function/Function;
Bootstrap: invokestatic java.lang.invoke.LambdaMetafactory.metafactory:(Ljava/lang/invoke/MethodHandles$Lookup;Ljava/lang/String;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodHandle;Ljava/lang/invoke/MethodType;)Ljava/lang/invoke/CallSite;
Method arguments:
(Ljava/lang/Object;)Ljava/lang/Object;
org/graalvm/compiler/debug/MethodFilter.toString()Ljava/lang/String; (5)
(Lorg/graalvm/compiler/debug/MethodFilter;)Ljava/lang/String;
invokeinterface java.util.stream.Stream.map:(Ljava/util/function/Function;)Ljava/util/stream/Stream;
ldc ", "
invokestatic java.util.stream.Collectors.joining:(Ljava/lang/CharSequence;)Ljava/util/stream/Collector;
invokeinterface java.util.stream.Stream.collect:(Ljava/util/stream/Collector;)Ljava/lang/Object;
checkcast java.lang.String
astore 16
start local 16 62: aload 0
new java.lang.StringBuilder
dup
ldc "CompileTheWorld : Compiling all methods in "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 12
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
ldc " matching one of the following filters: "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 16
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokevirtual org.graalvm.compiler.hotspot.test.CompileTheWorld.println:(Ljava/lang/String;)V
end local 16 63: StackMap locals:
StackMap stack:
aload 0
getfield org.graalvm.compiler.hotspot.test.CompileTheWorld.excludeMethodFilters:[Lorg/graalvm/compiler/debug/MethodFilter;
ifnull 66
aload 0
getfield org.graalvm.compiler.hotspot.test.CompileTheWorld.excludeMethodFilters:[Lorg/graalvm/compiler/debug/MethodFilter;
arraylength
ifle 66
64: aload 0
getfield org.graalvm.compiler.hotspot.test.CompileTheWorld.excludeMethodFilters:[Lorg/graalvm/compiler/debug/MethodFilter;
invokestatic java.util.Arrays.asList:([Ljava/lang/Object;)Ljava/util/List;
invokeinterface java.util.List.stream:()Ljava/util/stream/Stream;
invokedynamic apply()Ljava/util/function/Function;
Bootstrap: invokestatic java.lang.invoke.LambdaMetafactory.metafactory:(Ljava/lang/invoke/MethodHandles$Lookup;Ljava/lang/String;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodHandle;Ljava/lang/invoke/MethodType;)Ljava/lang/invoke/CallSite;
Method arguments:
(Ljava/lang/Object;)Ljava/lang/Object;
org/graalvm/compiler/debug/MethodFilter.toString()Ljava/lang/String; (5)
(Lorg/graalvm/compiler/debug/MethodFilter;)Ljava/lang/String;
invokeinterface java.util.stream.Stream.map:(Ljava/util/function/Function;)Ljava/util/stream/Stream;
ldc ", "
invokestatic java.util.stream.Collectors.joining:(Ljava/lang/CharSequence;)Ljava/util/stream/Collector;
invokeinterface java.util.stream.Stream.collect:(Ljava/util/stream/Collector;)Ljava/lang/Object;
checkcast java.lang.String
astore 16
start local 16 65: aload 0
new java.lang.StringBuilder
dup
ldc "CompileTheWorld : Excluding all methods matching one of the following filters: "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 16
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokevirtual org.graalvm.compiler.hotspot.test.CompileTheWorld.println:(Ljava/lang/String;)V
end local 16 66: StackMap locals:
StackMap stack:
aload 0
invokevirtual org.graalvm.compiler.hotspot.test.CompileTheWorld.println:()V
67: aload 15
invokevirtual org.graalvm.compiler.hotspot.test.CompileTheWorld$ClassPathEntry.createClassLoader:()Ljava/lang/ClassLoader;
astore 16
start local 16 68: aload 15
invokevirtual org.graalvm.compiler.hotspot.test.CompileTheWorld$ClassPathEntry.getClassNames:()Ljava/util/List;
invokeinterface java.util.List.iterator:()Ljava/util/Iterator;
astore 18
goto 120
StackMap locals: org.graalvm.compiler.hotspot.test.CompileTheWorld java.lang.String org.graalvm.compiler.hotspot.test.CompileTheWorld$LibGraalParams java.lang.String[] long java.util.Map int int int int int java.lang.String java.lang.Throwable java.lang.Throwable org.graalvm.compiler.hotspot.test.CompileTheWorld$ClassPathEntry java.lang.ClassLoader top java.util.Iterator
StackMap stack:
69: aload 18
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast java.lang.String
astore 17
start local 17 70: aload 0
getfield org.graalvm.compiler.hotspot.test.CompileTheWorld.classFileCounter:I
iload 9
if_icmplt 72
71: goto 121
72: StackMap locals: org.graalvm.compiler.hotspot.test.CompileTheWorld java.lang.String org.graalvm.compiler.hotspot.test.CompileTheWorld$LibGraalParams java.lang.String[] long java.util.Map int int int int int java.lang.String java.lang.Throwable java.lang.Throwable org.graalvm.compiler.hotspot.test.CompileTheWorld$ClassPathEntry java.lang.ClassLoader java.lang.String java.util.Iterator
StackMap stack:
aload 0
dup
getfield org.graalvm.compiler.hotspot.test.CompileTheWorld.classFileCounter:I
iconst_1
iadd
putfield org.graalvm.compiler.hotspot.test.CompileTheWorld.classFileCounter:I
73: iload 10
iconst_1
if_icmple 75
aload 0
getfield org.graalvm.compiler.hotspot.test.CompileTheWorld.classFileCounter:I
iload 8
isub
iload 10
irem
ifeq 75
74: goto 120
75: StackMap locals:
StackMap stack:
aload 17
ldc "jdk.management."
invokevirtual java.lang.String.startsWith:(Ljava/lang/String;)Z
ifne 120
76: aload 17
ldc "jdk.internal.cmm.*"
invokevirtual java.lang.String.startsWith:(Ljava/lang/String;)Z
ifne 120
77: aload 17
ldc "sun.tools.jconsole."
invokevirtual java.lang.String.startsWith:(Ljava/lang/String;)Z
ifeq 79
78: goto 120
79: StackMap locals:
StackMap stack:
aload 0
aload 17
invokevirtual org.graalvm.compiler.hotspot.test.CompileTheWorld.isClassIncluded:(Ljava/lang/String;)Z
ifne 81
80: goto 120
81: StackMap locals:
StackMap stack:
aload 17
iconst_1
aload 16
invokestatic java.lang.Class.forName:(Ljava/lang/String;ZLjava/lang/ClassLoader;)Ljava/lang/Class;
astore 19
start local 19 82: invokestatic jdk.vm.ci.runtime.JVMCI.getRuntime:()Ljdk/vm/ci/runtime/JVMCIRuntime;
invokeinterface jdk.vm.ci.runtime.JVMCIRuntime.getHostJVMCIBackend:()Ljdk/vm/ci/runtime/JVMCIBackend;
invokevirtual jdk.vm.ci.runtime.JVMCIBackend.getMetaAccess:()Ljdk/vm/ci/meta/MetaAccessProvider;
astore 20
start local 20 83: aload 20
aload 19
invokeinterface jdk.vm.ci.meta.MetaAccessProvider.lookupJavaType:(Ljava/lang/Class;)Ljdk/vm/ci/meta/ResolvedJavaType;
checkcast jdk.vm.ci.hotspot.HotSpotResolvedObjectType
astore 21
start local 21 84: aload 21
invokeinterface jdk.vm.ci.hotspot.HotSpotResolvedObjectType.getConstantPool:()Ljdk/vm/ci/meta/ConstantPool;
astore 22
start local 22 85: iconst_1
istore 23
start local 23 86: goto 89
87: StackMap locals: org.graalvm.compiler.hotspot.test.CompileTheWorld java.lang.String org.graalvm.compiler.hotspot.test.CompileTheWorld$LibGraalParams java.lang.String[] long java.util.Map int int int int int java.lang.String java.lang.Throwable java.lang.Throwable org.graalvm.compiler.hotspot.test.CompileTheWorld$ClassPathEntry java.lang.ClassLoader java.lang.String java.util.Iterator java.lang.Class jdk.vm.ci.meta.MetaAccessProvider jdk.vm.ci.hotspot.HotSpotResolvedObjectType jdk.vm.ci.meta.ConstantPool int
StackMap stack:
aload 22
iload 23
bipush 18
invokeinterface jdk.vm.ci.meta.ConstantPool.loadReferencedType:(II)V
88: iinc 23 1
StackMap locals:
StackMap stack:
89: iload 23
aload 22
invokeinterface jdk.vm.ci.meta.ConstantPool.length:()I
if_icmplt 87
end local 23 end local 22 end local 21 90: goto 95
StackMap locals: org.graalvm.compiler.hotspot.test.CompileTheWorld java.lang.String org.graalvm.compiler.hotspot.test.CompileTheWorld$LibGraalParams java.lang.String[] long java.util.Map int int int int int java.lang.String java.lang.Throwable java.lang.Throwable org.graalvm.compiler.hotspot.test.CompileTheWorld$ClassPathEntry java.lang.ClassLoader java.lang.String java.util.Iterator java.lang.Class jdk.vm.ci.meta.MetaAccessProvider
StackMap stack: java.lang.Throwable
91: astore 21
start local 21 92: aload 0
aload 17
invokevirtual org.graalvm.compiler.hotspot.test.CompileTheWorld.isClassIncluded:(Ljava/lang/String;)Z
ifeq 120
93: aload 0
ldc "Preloading failed for (%d) %s: %s"
iconst_3
anewarray java.lang.Object
dup
iconst_0
aload 0
getfield org.graalvm.compiler.hotspot.test.CompileTheWorld.classFileCounter:I
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
aastore
dup
iconst_1
aload 17
aastore
dup
iconst_2
aload 21
aastore
invokevirtual org.graalvm.compiler.hotspot.test.CompileTheWorld.println:(Ljava/lang/String;[Ljava/lang/Object;)V
94: goto 120
end local 21 95: StackMap locals:
StackMap stack:
aload 0
getfield org.graalvm.compiler.hotspot.test.CompileTheWorld.classFileCounter:I
iload 8
if_icmplt 120
96: invokestatic java.lang.System.nanoTime:()J
lstore 21
start local 21 97: aload 19
invokevirtual java.lang.Class.getDeclaredConstructors:()[Ljava/lang/reflect/Constructor;
dup
astore 26
arraylength
istore 25
iconst_0
istore 24
goto 103
StackMap locals: org.graalvm.compiler.hotspot.test.CompileTheWorld java.lang.String org.graalvm.compiler.hotspot.test.CompileTheWorld$LibGraalParams java.lang.String[] long java.util.Map int int int int int java.lang.String java.lang.Throwable java.lang.Throwable org.graalvm.compiler.hotspot.test.CompileTheWorld$ClassPathEntry java.lang.ClassLoader java.lang.String java.util.Iterator java.lang.Class jdk.vm.ci.meta.MetaAccessProvider long top int int java.lang.reflect.Constructor[]
StackMap stack:
98: aload 26
iload 24
aaload
astore 23
start local 23 99: aload 20
aload 23
invokeinterface jdk.vm.ci.meta.MetaAccessProvider.lookupJavaMethod:(Ljava/lang/reflect/Executable;)Ljdk/vm/ci/meta/ResolvedJavaMethod;
checkcast jdk.vm.ci.hotspot.HotSpotResolvedJavaMethod
astore 27
start local 27 100: aload 0
aload 27
aload 23
invokevirtual java.lang.reflect.Constructor.getModifiers:()I
invokevirtual org.graalvm.compiler.hotspot.test.CompileTheWorld.canBeCompiled:(Ljdk/vm/ci/hotspot/HotSpotResolvedJavaMethod;I)Z
ifeq 102
101: aload 0
aload 27
aload 2
invokevirtual org.graalvm.compiler.hotspot.test.CompileTheWorld.compileMethod:(Ljdk/vm/ci/hotspot/HotSpotResolvedJavaMethod;Lorg/graalvm/compiler/hotspot/test/CompileTheWorld$LibGraalParams;)V
end local 27 end local 23 102: StackMap locals:
StackMap stack:
iinc 24 1
StackMap locals:
StackMap stack:
103: iload 24
iload 25
if_icmplt 98
104: aload 19
invokevirtual java.lang.Class.getDeclaredMethods:()[Ljava/lang/reflect/Method;
dup
astore 26
arraylength
istore 25
iconst_0
istore 24
goto 110
StackMap locals: org.graalvm.compiler.hotspot.test.CompileTheWorld java.lang.String org.graalvm.compiler.hotspot.test.CompileTheWorld$LibGraalParams java.lang.String[] long java.util.Map int int int int int java.lang.String java.lang.Throwable java.lang.Throwable org.graalvm.compiler.hotspot.test.CompileTheWorld$ClassPathEntry java.lang.ClassLoader java.lang.String java.util.Iterator java.lang.Class jdk.vm.ci.meta.MetaAccessProvider long top int int java.lang.reflect.Method[]
StackMap stack:
105: aload 26
iload 24
aaload
astore 23
start local 23 106: aload 20
aload 23
invokeinterface jdk.vm.ci.meta.MetaAccessProvider.lookupJavaMethod:(Ljava/lang/reflect/Executable;)Ljdk/vm/ci/meta/ResolvedJavaMethod;
checkcast jdk.vm.ci.hotspot.HotSpotResolvedJavaMethod
astore 27
start local 27 107: aload 0
aload 27
aload 23
invokevirtual java.lang.reflect.Method.getModifiers:()I
invokevirtual org.graalvm.compiler.hotspot.test.CompileTheWorld.canBeCompiled:(Ljdk/vm/ci/hotspot/HotSpotResolvedJavaMethod;I)Z
ifeq 109
108: aload 0
aload 27
aload 2
invokevirtual org.graalvm.compiler.hotspot.test.CompileTheWorld.compileMethod:(Ljdk/vm/ci/hotspot/HotSpotResolvedJavaMethod;Lorg/graalvm/compiler/hotspot/test/CompileTheWorld$LibGraalParams;)V
end local 27 end local 23 109: StackMap locals:
StackMap stack:
iinc 24 1
StackMap locals:
StackMap stack:
110: iload 24
iload 25
if_icmplt 105
111: aload 20
aload 19
invokeinterface jdk.vm.ci.meta.MetaAccessProvider.lookupJavaType:(Ljava/lang/Class;)Ljdk/vm/ci/meta/ResolvedJavaType;
invokeinterface jdk.vm.ci.meta.ResolvedJavaType.getClassInitializer:()Ljdk/vm/ci/meta/ResolvedJavaMethod;
checkcast jdk.vm.ci.hotspot.HotSpotResolvedJavaMethod
astore 23
start local 23 112: aload 23
ifnull 114
aload 0
aload 23
aload 23
invokeinterface jdk.vm.ci.hotspot.HotSpotResolvedJavaMethod.getModifiers:()I
invokevirtual org.graalvm.compiler.hotspot.test.CompileTheWorld.canBeCompiled:(Ljdk/vm/ci/hotspot/HotSpotResolvedJavaMethod;I)Z
ifeq 114
113: aload 0
aload 23
aload 2
invokevirtual org.graalvm.compiler.hotspot.test.CompileTheWorld.compileMethod:(Ljdk/vm/ci/hotspot/HotSpotResolvedJavaMethod;Lorg/graalvm/compiler/hotspot/test/CompileTheWorld$LibGraalParams;)V
114: StackMap locals: org.graalvm.compiler.hotspot.test.CompileTheWorld java.lang.String org.graalvm.compiler.hotspot.test.CompileTheWorld$LibGraalParams java.lang.String[] long java.util.Map int int int int int java.lang.String java.lang.Throwable java.lang.Throwable org.graalvm.compiler.hotspot.test.CompileTheWorld$ClassPathEntry java.lang.ClassLoader java.lang.String java.util.Iterator java.lang.Class jdk.vm.ci.meta.MetaAccessProvider long jdk.vm.ci.hotspot.HotSpotResolvedJavaMethod
StackMap stack:
aload 0
ldc "CompileTheWorld (%d) : %s (%d us)"
iconst_3
anewarray java.lang.Object
dup
iconst_0
aload 0
getfield org.graalvm.compiler.hotspot.test.CompileTheWorld.classFileCounter:I
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
aastore
dup
iconst_1
aload 17
aastore
dup
iconst_2
invokestatic java.lang.System.nanoTime:()J
lload 21
lsub
ldc 1000
ldiv
invokestatic java.lang.Long.valueOf:(J)Ljava/lang/Long;
aastore
invokevirtual org.graalvm.compiler.hotspot.test.CompileTheWorld.println:(Ljava/lang/String;[Ljava/lang/Object;)V
end local 23 end local 21 end local 20 end local 19 115: goto 120
StackMap locals: org.graalvm.compiler.hotspot.test.CompileTheWorld java.lang.String org.graalvm.compiler.hotspot.test.CompileTheWorld$LibGraalParams java.lang.String[] long java.util.Map int int int int int java.lang.String java.lang.Throwable java.lang.Throwable org.graalvm.compiler.hotspot.test.CompileTheWorld$ClassPathEntry java.lang.ClassLoader java.lang.String java.util.Iterator
StackMap stack: java.lang.Throwable
116: astore 19
start local 19 117: aload 0
aload 17
invokevirtual org.graalvm.compiler.hotspot.test.CompileTheWorld.isClassIncluded:(Ljava/lang/String;)Z
ifeq 120
118: aload 0
ldc "CompileTheWorld (%d) : Skipping %s %s"
iconst_3
anewarray java.lang.Object
dup
iconst_0
aload 0
getfield org.graalvm.compiler.hotspot.test.CompileTheWorld.classFileCounter:I
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
aastore
dup
iconst_1
aload 17
aastore
dup
iconst_2
aload 19
invokevirtual java.lang.Throwable.toString:()Ljava/lang/String;
aastore
invokevirtual org.graalvm.compiler.hotspot.test.CompileTheWorld.println:(Ljava/lang/String;[Ljava/lang/Object;)V
119: aload 0
aload 19
invokevirtual org.graalvm.compiler.hotspot.test.CompileTheWorld.printStackTrace:(Ljava/lang/Throwable;)V
end local 19 end local 17 120: StackMap locals: org.graalvm.compiler.hotspot.test.CompileTheWorld java.lang.String org.graalvm.compiler.hotspot.test.CompileTheWorld$LibGraalParams java.lang.String[] long java.util.Map int int int int int java.lang.String java.lang.Throwable java.lang.Throwable org.graalvm.compiler.hotspot.test.CompileTheWorld$ClassPathEntry java.lang.ClassLoader top java.util.Iterator
StackMap stack:
aload 18
invokeinterface java.util.Iterator.hasNext:()Z
ifne 69
end local 16 121: StackMap locals: org.graalvm.compiler.hotspot.test.CompileTheWorld java.lang.String org.graalvm.compiler.hotspot.test.CompileTheWorld$LibGraalParams java.lang.String[] long java.util.Map int int int int int java.lang.String java.lang.Throwable java.lang.Throwable org.graalvm.compiler.hotspot.test.CompileTheWorld$ClassPathEntry
StackMap stack:
aload 15
ifnull 127
aload 15
invokevirtual org.graalvm.compiler.hotspot.test.CompileTheWorld$ClassPathEntry.close:()V
goto 127
StackMap locals:
StackMap stack: java.lang.Throwable
122: astore 13
aload 15
ifnull 123
aload 15
invokevirtual org.graalvm.compiler.hotspot.test.CompileTheWorld$ClassPathEntry.close:()V
end local 15 StackMap locals:
StackMap stack:
123: aload 13
athrow
StackMap locals:
StackMap stack: java.lang.Throwable
124: astore 14
aload 13
ifnonnull 125
aload 14
astore 13
goto 126
StackMap locals:
StackMap stack:
125: aload 13
aload 14
if_acmpeq 126
aload 13
aload 14
invokevirtual java.lang.Throwable.addSuppressed:(Ljava/lang/Throwable;)V
StackMap locals:
StackMap stack:
126: aload 13
athrow
end local 12 127: StackMap locals:
StackMap stack:
iinc 11 1
StackMap locals:
StackMap stack:
128: iload 11
aload 3
arraylength
if_icmplt 50
end local 11 129: aload 0
getfield org.graalvm.compiler.hotspot.test.CompileTheWorld.running:Z
ifne 131
130: aload 0
invokevirtual org.graalvm.compiler.hotspot.test.CompileTheWorld.startThreads:()V
131: StackMap locals:
StackMap stack:
iconst_0
istore 11
start local 11 132: lconst_0
lstore 12
start local 12 133: aload 0
getfield org.graalvm.compiler.hotspot.test.CompileTheWorld.threadPool:Ljava/util/concurrent/ThreadPoolExecutor;
invokevirtual java.util.concurrent.ThreadPoolExecutor.getCompletedTaskCount:()J
lstore 14
start local 14 134: goto 143
135: StackMap locals: int long long
StackMap stack:
iload 11
bipush 15
irem
ifne 138
136: ldc "CompileTheWorld : Waiting for %d compiles, just completed %d compiles%n"
iconst_2
anewarray java.lang.Object
dup
iconst_0
aload 0
getfield org.graalvm.compiler.hotspot.test.CompileTheWorld.threadPool:Ljava/util/concurrent/ThreadPoolExecutor;
invokevirtual java.util.concurrent.ThreadPoolExecutor.getTaskCount:()J
lload 14
lsub
invokestatic java.lang.Long.valueOf:(J)Ljava/lang/Long;
aastore
dup
iconst_1
lload 14
lload 12
lsub
invokestatic java.lang.Long.valueOf:(J)Ljava/lang/Long;
aastore
invokestatic org.graalvm.compiler.debug.TTY.printf:(Ljava/lang/String;[Ljava/lang/Object;)V
137: lload 14
lstore 12
138: StackMap locals:
StackMap stack:
aload 0
getfield org.graalvm.compiler.hotspot.test.CompileTheWorld.threadPool:Ljava/util/concurrent/ThreadPoolExecutor;
lconst_1
getstatic java.util.concurrent.TimeUnit.SECONDS:Ljava/util/concurrent/TimeUnit;
invokevirtual java.util.concurrent.ThreadPoolExecutor.awaitTermination:(JLjava/util/concurrent/TimeUnit;)Z
pop
139: iinc 11 1
140: goto 142
StackMap locals:
StackMap stack: java.lang.InterruptedException
141: pop
142: StackMap locals:
StackMap stack:
aload 0
getfield org.graalvm.compiler.hotspot.test.CompileTheWorld.threadPool:Ljava/util/concurrent/ThreadPoolExecutor;
invokevirtual java.util.concurrent.ThreadPoolExecutor.getCompletedTaskCount:()J
lstore 14
StackMap locals:
StackMap stack:
143: lload 14
aload 0
getfield org.graalvm.compiler.hotspot.test.CompileTheWorld.threadPool:Ljava/util/concurrent/ThreadPoolExecutor;
invokevirtual java.util.concurrent.ThreadPoolExecutor.getTaskCount:()J
lcmp
ifne 135
end local 14 144: aload 0
getfield org.graalvm.compiler.hotspot.test.CompileTheWorld.threadPool:Ljava/util/concurrent/ThreadPoolExecutor;
invokevirtual java.util.concurrent.ThreadPoolExecutor.shutdown:()V
145: aload 0
aconst_null
putfield org.graalvm.compiler.hotspot.test.CompileTheWorld.threadPool:Ljava/util/concurrent/ThreadPoolExecutor;
146: invokestatic java.lang.System.nanoTime:()J
lload 4
lsub
lstore 14
start local 14 147: aload 0
invokevirtual org.graalvm.compiler.hotspot.test.CompileTheWorld.println:()V
148: aload 0
getfield org.graalvm.compiler.hotspot.test.CompileTheWorld.classFileCounter:I
iload 8
if_icmple 149
aload 0
getfield org.graalvm.compiler.hotspot.test.CompileTheWorld.classFileCounter:I
iload 8
isub
goto 150
StackMap locals:
StackMap stack:
149: iconst_0
StackMap locals:
StackMap stack: int
150: istore 16
start local 16 151: getstatic org.graalvm.compiler.hotspot.test.CompileTheWorld$Options.MultiThreaded:Lorg/graalvm/compiler/options/OptionKey;
aload 0
getfield org.graalvm.compiler.hotspot.test.CompileTheWorld.harnessOptions:Lorg/graalvm/compiler/options/OptionValues;
invokevirtual org.graalvm.compiler.options.OptionKey.getValue:(Lorg/graalvm/compiler/options/OptionValues;)Ljava/lang/Object;
checkcast java.lang.Boolean
invokevirtual java.lang.Boolean.booleanValue:()Z
ifeq 156
152: ldc "CompileTheWorld : Done (%d classes, %d methods, %d ms elapsed, %d ms compile time, %d bytes of memory used)"
iconst_5
anewarray java.lang.Object
dup
iconst_0
iload 16
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
aastore
dup
iconst_1
aload 0
getfield org.graalvm.compiler.hotspot.test.CompileTheWorld.compiledMethodsCounter:Ljava/util/concurrent/atomic/AtomicLong;
invokevirtual java.util.concurrent.atomic.AtomicLong.get:()J
invokestatic java.lang.Long.valueOf:(J)Ljava/lang/Long;
aastore
dup
iconst_2
lload 14
invokestatic java.lang.Long.valueOf:(J)Ljava/lang/Long;
aastore
dup
iconst_3
153: aload 0
getfield org.graalvm.compiler.hotspot.test.CompileTheWorld.compileTime:Ljava/util/concurrent/atomic/AtomicLong;
invokevirtual java.util.concurrent.atomic.AtomicLong.get:()J
ldc 1000000
ldiv
invokestatic java.lang.Long.valueOf:(J)Ljava/lang/Long;
aastore
dup
iconst_4
aload 0
getfield org.graalvm.compiler.hotspot.test.CompileTheWorld.memoryUsed:Ljava/util/concurrent/atomic/AtomicLong;
invokevirtual java.util.concurrent.atomic.AtomicLong.get:()J
invokestatic java.lang.Long.valueOf:(J)Ljava/lang/Long;
aastore
154: invokestatic org.graalvm.compiler.debug.TTY.println:(Ljava/lang/String;[Ljava/lang/Object;)V
155: goto 157
156: StackMap locals: int
StackMap stack:
ldc "CompileTheWorld : Done (%d classes, %d methods, %d ms, %d bytes of memory used)"
iconst_4
anewarray java.lang.Object
dup
iconst_0
iload 16
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
aastore
dup
iconst_1
aload 0
getfield org.graalvm.compiler.hotspot.test.CompileTheWorld.compiledMethodsCounter:Ljava/util/concurrent/atomic/AtomicLong;
invokevirtual java.util.concurrent.atomic.AtomicLong.get:()J
invokestatic java.lang.Long.valueOf:(J)Ljava/lang/Long;
aastore
dup
iconst_2
aload 0
getfield org.graalvm.compiler.hotspot.test.CompileTheWorld.compileTime:Ljava/util/concurrent/atomic/AtomicLong;
invokevirtual java.util.concurrent.atomic.AtomicLong.get:()J
invokestatic java.lang.Long.valueOf:(J)Ljava/lang/Long;
aastore
dup
iconst_3
aload 0
getfield org.graalvm.compiler.hotspot.test.CompileTheWorld.memoryUsed:Ljava/util/concurrent/atomic/AtomicLong;
invokevirtual java.util.concurrent.atomic.AtomicLong.get:()J
invokestatic java.lang.Long.valueOf:(J)Ljava/lang/Long;
aastore
invokestatic org.graalvm.compiler.debug.TTY.println:(Ljava/lang/String;[Ljava/lang/Object;)V
157: StackMap locals:
StackMap stack:
aload 0
getfield org.graalvm.compiler.hotspot.test.CompileTheWorld.compiler:Lorg/graalvm/compiler/hotspot/HotSpotGraalCompiler;
invokevirtual org.graalvm.compiler.hotspot.HotSpotGraalCompiler.getGraalRuntime:()Lorg/graalvm/compiler/hotspot/HotSpotGraalRuntimeProvider;
checkcast org.graalvm.compiler.hotspot.HotSpotGraalRuntime
invokevirtual org.graalvm.compiler.hotspot.HotSpotGraalRuntime.getMetricValues:()Lorg/graalvm/compiler/debug/GlobalMetrics;
astore 17
start local 17 158: aload 17
invokevirtual org.graalvm.compiler.debug.GlobalMetrics.asKeyValueMap:()Ljdk/internal/vm/compiler/collections/EconomicMap;
astore 18
start local 18 159: aload 18
getstatic org.graalvm.compiler.hotspot.CompilationTask.CompiledAndInstalledBytecodes:Lorg/graalvm/compiler/debug/CounterKey;
invokeinterface jdk.internal.vm.compiler.collections.EconomicMap.get:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast java.lang.Long
astore 19
start local 19 160: aload 18
getstatic org.graalvm.compiler.hotspot.CompilationTask.CompilationTime:Lorg/graalvm/compiler/debug/TimerKey;
invokeinterface jdk.internal.vm.compiler.collections.EconomicMap.get:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast java.lang.Long
astore 20
start local 20 161: aload 19
ifnull 165
aload 20
ifnull 165
162: ldc "CompileTheWorld : Aggregate compile speed %d bytecodes per second (%d / %d)"
iconst_3
anewarray java.lang.Object
dup
iconst_0
aload 19
invokevirtual java.lang.Long.longValue:()J
l2d
aload 20
invokevirtual java.lang.Long.longValue:()J
l2d
ldc 1.0E9
ddiv
ddiv
d2i
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
aastore
dup
iconst_1
163: aload 19
aastore
dup
iconst_2
aload 20
aastore
164: invokestatic org.graalvm.compiler.debug.TTY.println:(Ljava/lang/String;[Ljava/lang/Object;)V
165: StackMap locals: org.graalvm.compiler.hotspot.test.CompileTheWorld java.lang.String org.graalvm.compiler.hotspot.test.CompileTheWorld$LibGraalParams java.lang.String[] long java.util.Map int int int int int long long int org.graalvm.compiler.debug.GlobalMetrics jdk.internal.vm.compiler.collections.EconomicMap java.lang.Long java.lang.Long
StackMap stack:
aload 17
aload 0
getfield org.graalvm.compiler.hotspot.test.CompileTheWorld.compilerOptions:Lorg/graalvm/compiler/options/OptionValues;
invokevirtual org.graalvm.compiler.debug.GlobalMetrics.print:(Lorg/graalvm/compiler/options/OptionValues;)V
166: aload 17
invokevirtual org.graalvm.compiler.debug.GlobalMetrics.clear:()V
167: new java.util.HashMap
dup
invokespecial java.util.HashMap.<init>:()V
astore 21
start local 21 168: invokestatic java.lang.Thread.getAllStackTraces:()Ljava/util/Map;
invokeinterface java.util.Map.entrySet:()Ljava/util/Set;
invokeinterface java.util.Set.iterator:()Ljava/util/Iterator;
astore 23
goto 173
StackMap locals: org.graalvm.compiler.hotspot.test.CompileTheWorld java.lang.String org.graalvm.compiler.hotspot.test.CompileTheWorld$LibGraalParams java.lang.String[] long java.util.Map int int int int int long long int org.graalvm.compiler.debug.GlobalMetrics jdk.internal.vm.compiler.collections.EconomicMap java.lang.Long java.lang.Long java.util.Map top java.util.Iterator
StackMap stack:
169: aload 23
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast java.util.Map$Entry
astore 22
start local 22 170: aload 22
invokeinterface java.util.Map$Entry.getKey:()Ljava/lang/Object;
checkcast java.lang.Thread
astore 24
start local 24 171: aload 24
invokestatic java.lang.Thread.currentThread:()Ljava/lang/Thread;
if_acmpeq 173
aload 6
aload 24
invokeinterface java.util.Map.containsKey:(Ljava/lang/Object;)Z
ifne 173
aload 24
invokevirtual java.lang.Thread.isDaemon:()Z
ifne 173
aload 24
invokevirtual java.lang.Thread.isAlive:()Z
ifeq 173
172: aload 21
aload 24
aload 22
invokeinterface java.util.Map$Entry.getValue:()Ljava/lang/Object;
checkcast java.lang.StackTraceElement[]
invokeinterface java.util.Map.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
end local 24 end local 22 173: StackMap locals:
StackMap stack:
aload 23
invokeinterface java.util.Iterator.hasNext:()Z
ifne 169
174: aload 21
invokeinterface java.util.Map.isEmpty:()Z
ifne 188
175: ldc "--- Non-daemon threads started during CTW ---"
invokestatic org.graalvm.compiler.debug.TTY.println:(Ljava/lang/String;)V
176: aload 21
invokeinterface java.util.Map.entrySet:()Ljava/util/Set;
invokeinterface java.util.Set.iterator:()Ljava/util/Iterator;
astore 23
goto 186
StackMap locals:
StackMap stack:
177: aload 23
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast java.util.Map$Entry
astore 22
start local 22 178: aload 22
invokeinterface java.util.Map$Entry.getKey:()Ljava/lang/Object;
checkcast java.lang.Thread
astore 24
start local 24 179: aload 24
invokevirtual java.lang.Thread.isAlive:()Z
ifeq 186
180: new java.lang.StringBuilder
dup
aload 24
invokevirtual java.lang.Thread.toString:()Ljava/lang/String;
invokestatic java.lang.String.valueOf:(Ljava/lang/Object;)Ljava/lang/String;
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
ldc " "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 24
invokevirtual java.lang.Thread.getState:()Ljava/lang/Thread$State;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokestatic org.graalvm.compiler.debug.TTY.println:(Ljava/lang/String;)V
181: aload 22
invokeinterface java.util.Map$Entry.getValue:()Ljava/lang/Object;
checkcast java.lang.StackTraceElement[]
dup
astore 28
arraylength
istore 27
iconst_0
istore 26
goto 185
StackMap locals: org.graalvm.compiler.hotspot.test.CompileTheWorld java.lang.String org.graalvm.compiler.hotspot.test.CompileTheWorld$LibGraalParams java.lang.String[] long java.util.Map int int int int int long long int org.graalvm.compiler.debug.GlobalMetrics jdk.internal.vm.compiler.collections.EconomicMap java.lang.Long java.lang.Long java.util.Map java.util.Map$Entry java.util.Iterator java.lang.Thread top int int java.lang.StackTraceElement[]
StackMap stack:
182: aload 28
iload 26
aaload
astore 25
start local 25 183: new java.lang.StringBuilder
dup
ldc "\tat "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 25
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokestatic org.graalvm.compiler.debug.TTY.println:(Ljava/lang/String;)V
end local 25 184: iinc 26 1
StackMap locals:
StackMap stack:
185: iload 26
iload 27
if_icmplt 182
end local 24 end local 22 186: StackMap locals: org.graalvm.compiler.hotspot.test.CompileTheWorld java.lang.String org.graalvm.compiler.hotspot.test.CompileTheWorld$LibGraalParams java.lang.String[] long java.util.Map int int int int int long long int org.graalvm.compiler.debug.GlobalMetrics jdk.internal.vm.compiler.collections.EconomicMap java.lang.Long java.lang.Long java.util.Map top java.util.Iterator
StackMap stack:
aload 23
invokeinterface java.util.Iterator.hasNext:()Z
ifne 177
187: ldc "---------------------------------------------"
invokestatic org.graalvm.compiler.debug.TTY.println:(Ljava/lang/String;)V
188: StackMap locals: org.graalvm.compiler.hotspot.test.CompileTheWorld java.lang.String org.graalvm.compiler.hotspot.test.CompileTheWorld$LibGraalParams java.lang.String[] long java.util.Map int int int int int long long int org.graalvm.compiler.debug.GlobalMetrics jdk.internal.vm.compiler.collections.EconomicMap java.lang.Long java.lang.Long java.util.Map
StackMap stack:
return
end local 21 end local 20 end local 19 end local 18 end local 17 end local 16 end local 14 end local 12 end local 11 end local 10 end local 9 end local 8 end local 7 end local 6 end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 189 0 this Lorg/graalvm/compiler/hotspot/test/CompileTheWorld;
0 189 1 classPath Ljava/lang/String;
0 189 2 libgraal Lorg/graalvm/compiler/hotspot/test/CompileTheWorld$LibGraalParams;
1 189 3 entries [Ljava/lang/String;
2 189 4 start J
3 189 6 initialThreads Ljava/util/Map<Ljava/lang/Thread;[Ljava/lang/StackTraceElement;>;
7 12 7 dummyMethod Ljdk/vm/ci/hotspot/HotSpotResolvedJavaMethod;
8 12 8 entryBCI I
9 12 9 useProfilingInfo Z
10 12 10 installAsDefault Z
11 12 11 task Lorg/graalvm/compiler/hotspot/CompilationTask;
14 15 7 e1 Ljava/lang/Exception;
16 189 7 threadCount I
24 189 8 compileStartAt I
25 189 9 compileStopAt I
26 189 10 compileStep I
28 48 11 totalClassFileCount I
30 40 12 entry Ljava/lang/String;
32 36 18 cpe Lorg/graalvm/compiler/hotspot/test/CompileTheWorld$ClassPathEntry;
43 48 12 lastClassFile I
46 48 13 range I
49 129 11 i I
51 127 12 entry Ljava/lang/String;
53 123 15 cpe Lorg/graalvm/compiler/hotspot/test/CompileTheWorld$ClassPathEntry;
62 63 16 include Ljava/lang/String;
65 66 16 exclude Ljava/lang/String;
68 121 16 loader Ljava/lang/ClassLoader;
70 120 17 className Ljava/lang/String;
82 115 19 javaClass Ljava/lang/Class<*>;
83 115 20 metaAccess Ljdk/vm/ci/meta/MetaAccessProvider;
84 90 21 objectType Ljdk/vm/ci/hotspot/HotSpotResolvedObjectType;
85 90 22 constantPool Ljdk/vm/ci/meta/ConstantPool;
86 90 23 cpi I
92 95 21 t Ljava/lang/Throwable;
97 115 21 start0 J
99 102 23 constructor Ljava/lang/reflect/Constructor<*>;
100 102 27 javaMethod Ljdk/vm/ci/hotspot/HotSpotResolvedJavaMethod;
106 109 23 method Ljava/lang/reflect/Method;
107 109 27 javaMethod Ljdk/vm/ci/hotspot/HotSpotResolvedJavaMethod;
112 115 23 clinit Ljdk/vm/ci/hotspot/HotSpotResolvedJavaMethod;
117 120 19 t Ljava/lang/Throwable;
132 189 11 wakeups I
133 189 12 lastCompletedTaskCount J
134 144 14 completedTaskCount J
147 189 14 elapsedTime J
151 189 16 compiledClasses I
158 189 17 metricValues Lorg/graalvm/compiler/debug/GlobalMetrics;
159 189 18 map Ljdk/internal/vm/compiler/collections/EconomicMap<Lorg/graalvm/compiler/debug/MetricKey;Ljava/lang/Long;>;
160 189 19 compiledAndInstalledBytecodes Ljava/lang/Long;
161 189 20 compilationTime Ljava/lang/Long;
168 189 21 suspiciousThreads Ljava/util/Map<Ljava/lang/Thread;[Ljava/lang/StackTraceElement;>;
170 173 22 e Ljava/util/Map$Entry<Ljava/lang/Thread;[Ljava/lang/StackTraceElement;>;
171 173 24 thread Ljava/lang/Thread;
178 186 22 e Ljava/util/Map$Entry<Ljava/lang/Thread;[Ljava/lang/StackTraceElement;>;
179 186 24 thread Ljava/lang/Thread;
183 184 25 ste Ljava/lang/StackTraceElement;
Exception table:
from to target type
4 12 13 Class java.lang.NoSuchMethodException
4 12 13 Class java.lang.SecurityException
32 34 35 any
31 37 37 any
83 90 91 Class java.lang.Throwable
81 94 116 Class java.lang.Throwable
95 115 116 Class java.lang.Throwable
53 56 122 any
58 121 122 any
52 57 124 any
58 124 124 any
138 140 141 Class java.lang.InterruptedException
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
classPath
libgraal
private synchronized void startThreads();
descriptor: ()V
flags: (0x0022) ACC_PRIVATE, ACC_SYNCHRONIZED
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
iconst_1
putfield org.graalvm.compiler.hotspot.test.CompileTheWorld.running:Z
1: aload 0
invokevirtual java.lang.Object.notifyAll:()V
2: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/graalvm/compiler/hotspot/test/CompileTheWorld;
private synchronized void waitToRun();
descriptor: ()V
flags: (0x0022) ACC_PRIVATE, ACC_SYNCHRONIZED
Code:
stack=1, locals=1, args_size=1
start local 0 0: goto 4
1: StackMap locals:
StackMap stack:
aload 0
invokevirtual java.lang.Object.wait:()V
2: goto 4
StackMap locals:
StackMap stack: java.lang.InterruptedException
3: pop
4: StackMap locals:
StackMap stack:
aload 0
getfield org.graalvm.compiler.hotspot.test.CompileTheWorld.running:Z
ifeq 1
5: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lorg/graalvm/compiler/hotspot/test/CompileTheWorld;
Exception table:
from to target type
1 2 3 Class java.lang.InterruptedException
private void compileMethod(jdk.vm.ci.hotspot.HotSpotResolvedJavaMethod, org.graalvm.compiler.hotspot.test.CompileTheWorld$LibGraalParams);
descriptor: (Ljdk/vm/ci/hotspot/HotSpotResolvedJavaMethod;Lorg/graalvm/compiler/hotspot/test/CompileTheWorld$LibGraalParams;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=6, locals=4, args_size=3
start local 0 start local 1 start local 2 0: aload 0
getfield org.graalvm.compiler.hotspot.test.CompileTheWorld.methodFilters:[Lorg/graalvm/compiler/debug/MethodFilter;
ifnull 2
aload 0
getfield org.graalvm.compiler.hotspot.test.CompileTheWorld.methodFilters:[Lorg/graalvm/compiler/debug/MethodFilter;
aload 1
invokestatic org.graalvm.compiler.debug.MethodFilter.matches:([Lorg/graalvm/compiler/debug/MethodFilter;Ljdk/vm/ci/meta/JavaMethod;)Z
ifne 2
1: return
2: StackMap locals:
StackMap stack:
aload 0
getfield org.graalvm.compiler.hotspot.test.CompileTheWorld.excludeMethodFilters:[Lorg/graalvm/compiler/debug/MethodFilter;
ifnull 4
aload 0
getfield org.graalvm.compiler.hotspot.test.CompileTheWorld.excludeMethodFilters:[Lorg/graalvm/compiler/debug/MethodFilter;
aload 1
invokestatic org.graalvm.compiler.debug.MethodFilter.matches:([Lorg/graalvm/compiler/debug/MethodFilter;Ljdk/vm/ci/meta/JavaMethod;)Z
ifeq 4
3: return
4: StackMap locals:
StackMap stack:
aload 0
getfield org.graalvm.compiler.hotspot.test.CompileTheWorld.threadPool:Ljava/util/concurrent/ThreadPoolExecutor;
new org.graalvm.compiler.hotspot.test.CompileTheWorld$1
dup
aload 0
aload 1
aload 2
invokespecial org.graalvm.compiler.hotspot.test.CompileTheWorld$1.<init>:(Lorg/graalvm/compiler/hotspot/test/CompileTheWorld;Ljdk/vm/ci/hotspot/HotSpotResolvedJavaMethod;Lorg/graalvm/compiler/hotspot/test/CompileTheWorld$LibGraalParams;)V
invokevirtual java.util.concurrent.ThreadPoolExecutor.submit:(Ljava/lang/Runnable;)Ljava/util/concurrent/Future;
astore 3
start local 3 5: aload 0
getfield org.graalvm.compiler.hotspot.test.CompileTheWorld.threadPool:Ljava/util/concurrent/ThreadPoolExecutor;
invokevirtual java.util.concurrent.ThreadPoolExecutor.getCorePoolSize:()I
iconst_1
if_icmpne 7
6: aload 3
invokeinterface java.util.concurrent.Future.get:()Ljava/lang/Object;
pop
7: StackMap locals: java.util.concurrent.Future
StackMap stack:
return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 this Lorg/graalvm/compiler/hotspot/test/CompileTheWorld;
0 8 1 method Ljdk/vm/ci/hotspot/HotSpotResolvedJavaMethod;
0 8 2 libgraal Lorg/graalvm/compiler/hotspot/test/CompileTheWorld$LibGraalParams;
5 8 3 task Ljava/util/concurrent/Future<*>;
Exceptions:
throws java.lang.InterruptedException, java.util.concurrent.ExecutionException
MethodParameters:
Name Flags
method
libgraal
static native long compileMethodInLibgraal(long, long, boolean, boolean, long, int, int, long, int);
descriptor: (JJZZJIIJI)J
flags: (0x0108) ACC_STATIC, ACC_NATIVE
MethodParameters:
Name Flags
isolateThread
methodHandle
useProfilingInfo
installAsDefault
optionsAddress
optionsSize
optionsHash
encodedThrowableBufferAddress
encodedThrowableBufferSize
private void compileMethod(jdk.vm.ci.hotspot.HotSpotResolvedJavaMethod, int, org.graalvm.compiler.hotspot.test.CompileTheWorld$LibGraalParams);
descriptor: (Ljdk/vm/ci/hotspot/HotSpotResolvedJavaMethod;ILorg/graalvm/compiler/hotspot/test/CompileTheWorld$LibGraalParams;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=13, locals=27, args_size=4
start local 0 start local 1 start local 2 start local 3 0: invokestatic java.lang.System.nanoTime:()J
lstore 4
start local 4 1: invokestatic org.graalvm.compiler.debug.MemUseTrackerKey.getCurrentThreadAllocatedBytes:()J
lstore 6
start local 6 2: iconst_0
istore 8
start local 8 3: iconst_0
istore 9
start local 9 4: aload 3
ifnull 36
5: invokestatic jdk.vm.ci.hotspot.HotSpotJVMCIRuntime.runtime:()Ljdk/vm/ci/hotspot/HotSpotJVMCIRuntime;
astore 11
start local 11 6: aconst_null
astore 12
aconst_null
astore 13
7: new jdk.internal.vm.compiler.libgraal.LibGraalScope
dup
aload 11
invokespecial jdk.internal.vm.compiler.libgraal.LibGraalScope.<init>:(Ljdk/vm/ci/hotspot/HotSpotJVMCIRuntime;)V
astore 14
start local 14 8: aload 11
aload 1
invokestatic jdk.internal.vm.compiler.libgraal.LibGraal.translate:(Ljdk/vm/ci/hotspot/HotSpotJVMCIRuntime;Ljava/lang/Object;)J
lstore 15
start local 15 9: invokestatic jdk.internal.vm.compiler.libgraal.LibGraalScope.getIsolateThread:()J
lstore 17
start local 17 10: aload 3
invokevirtual org.graalvm.compiler.hotspot.test.CompileTheWorld$LibGraalParams.getStackTraceBuffer:()Lorg/graalvm/compiler/hotspot/test/CompileTheWorld$LibGraalParams$StackTraceBuffer;
astore 19
start local 19 11: aload 19
invokevirtual org.graalvm.compiler.hotspot.test.CompileTheWorld$LibGraalParams$StackTraceBuffer.getAddress:()J
lstore 20
start local 20 12: lload 17
13: lload 15
14: iload 8
15: iload 9
16: aload 3
getfield org.graalvm.compiler.hotspot.test.CompileTheWorld$LibGraalParams.options:Lorg/graalvm/compiler/hotspot/test/CompileTheWorld$LibGraalParams$OptionsBuffer;
invokevirtual org.graalvm.compiler.hotspot.test.CompileTheWorld$LibGraalParams$OptionsBuffer.getAddress:()J
17: aload 3
getfield org.graalvm.compiler.hotspot.test.CompileTheWorld$LibGraalParams.options:Lorg/graalvm/compiler/hotspot/test/CompileTheWorld$LibGraalParams$OptionsBuffer;
getfield org.graalvm.compiler.hotspot.test.CompileTheWorld$LibGraalParams$OptionsBuffer.size:I
18: aload 3
getfield org.graalvm.compiler.hotspot.test.CompileTheWorld$LibGraalParams.options:Lorg/graalvm/compiler/hotspot/test/CompileTheWorld$LibGraalParams$OptionsBuffer;
getfield org.graalvm.compiler.hotspot.test.CompileTheWorld$LibGraalParams$OptionsBuffer.hash:I
19: lload 20
20: aload 19
getfield org.graalvm.compiler.hotspot.test.CompileTheWorld$LibGraalParams$StackTraceBuffer.size:I
21: invokestatic org.graalvm.compiler.hotspot.test.CompileTheWorld.compileMethodInLibgraal:(JJZZJIIJI)J
lstore 22
start local 22 22: aload 11
ldc Ljdk/vm/ci/hotspot/HotSpotInstalledCode;
lload 22
invokestatic jdk.internal.vm.compiler.libgraal.LibGraal.unhand:(Ljdk/vm/ci/hotspot/HotSpotJVMCIRuntime;Ljava/lang/Class;J)Ljava/lang/Object;
checkcast jdk.vm.ci.hotspot.HotSpotInstalledCode
astore 10
start local 10 23: aload 10
ifnonnull 30
24: getstatic org.graalvm.compiler.hotspot.test.CompileTheWorld.UNSAFE:Lsun/misc/Unsafe;
lload 20
invokevirtual sun.misc.Unsafe.getInt:(J)I
istore 24
start local 24 25: iload 24
newarray 8
astore 25
start local 25 26: getstatic org.graalvm.compiler.hotspot.test.CompileTheWorld.UNSAFE:Lsun/misc/Unsafe;
aconst_null
lload 20
ldc 4
ladd
aload 25
getstatic sun.misc.Unsafe.ARRAY_BYTE_BASE_OFFSET:I
i2l
iload 24
i2l
invokevirtual sun.misc.Unsafe.copyMemory:(Ljava/lang/Object;JLjava/lang/Object;JJ)V
27: new java.lang.String
dup
aload 25
invokespecial java.lang.String.<init>:([B)V
invokevirtual java.lang.String.trim:()Ljava/lang/String;
astore 26
start local 26 28: iconst_1
ldc "CompileTheWorld (%d) : Error compiling method: %s"
iconst_2
anewarray java.lang.Object
dup
iconst_0
iload 2
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
aastore
dup
iconst_1
aload 1
ldc "%H.%n(%p):%r"
invokeinterface jdk.vm.ci.hotspot.HotSpotResolvedJavaMethod.format:(Ljava/lang/String;)Ljava/lang/String;
aastore
invokestatic java.lang.String.format:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
invokestatic org.graalvm.compiler.hotspot.test.CompileTheWorld.println:(ZLjava/lang/String;)V
29: iconst_1
aload 26
invokestatic org.graalvm.compiler.hotspot.test.CompileTheWorld.println:(ZLjava/lang/String;)V
end local 26 end local 25 end local 24 end local 22 end local 20 end local 19 end local 17 end local 15 30: StackMap locals: org.graalvm.compiler.hotspot.test.CompileTheWorld jdk.vm.ci.hotspot.HotSpotResolvedJavaMethod int org.graalvm.compiler.hotspot.test.CompileTheWorld$LibGraalParams long long int int jdk.vm.ci.hotspot.HotSpotInstalledCode jdk.vm.ci.hotspot.HotSpotJVMCIRuntime java.lang.Throwable java.lang.Throwable jdk.internal.vm.compiler.libgraal.LibGraalScope
StackMap stack:
aload 14
ifnull 41
aload 14
invokevirtual jdk.internal.vm.compiler.libgraal.LibGraalScope.close:()V
goto 41
end local 10 StackMap locals: org.graalvm.compiler.hotspot.test.CompileTheWorld jdk.vm.ci.hotspot.HotSpotResolvedJavaMethod int org.graalvm.compiler.hotspot.test.CompileTheWorld$LibGraalParams long long int int top jdk.vm.ci.hotspot.HotSpotJVMCIRuntime java.lang.Throwable java.lang.Throwable jdk.internal.vm.compiler.libgraal.LibGraalScope
StackMap stack: java.lang.Throwable
31: astore 12
aload 14
ifnull 32
aload 14
invokevirtual jdk.internal.vm.compiler.libgraal.LibGraalScope.close:()V
end local 14 StackMap locals:
StackMap stack:
32: aload 12
athrow
StackMap locals:
StackMap stack: java.lang.Throwable
33: astore 13
aload 12
ifnonnull 34
aload 13
astore 12
goto 35
StackMap locals:
StackMap stack:
34: aload 12
aload 13
if_acmpeq 35
aload 12
aload 13
invokevirtual java.lang.Throwable.addSuppressed:(Ljava/lang/Throwable;)V
StackMap locals:
StackMap stack:
35: aload 12
athrow
end local 11 36: StackMap locals: org.graalvm.compiler.hotspot.test.CompileTheWorld jdk.vm.ci.hotspot.HotSpotResolvedJavaMethod int org.graalvm.compiler.hotspot.test.CompileTheWorld$LibGraalParams long long int int
StackMap stack:
iconst_m1
istore 11
start local 11 37: new jdk.vm.ci.hotspot.HotSpotCompilationRequest
dup
aload 1
iload 11
lconst_0
invokespecial jdk.vm.ci.hotspot.HotSpotCompilationRequest.<init>:(Ljdk/vm/ci/hotspot/HotSpotResolvedJavaMethod;IJ)V
astore 12
start local 12 38: new org.graalvm.compiler.hotspot.CompilationTask
dup
aload 0
getfield org.graalvm.compiler.hotspot.test.CompileTheWorld.jvmciRuntime:Ljdk/vm/ci/hotspot/HotSpotJVMCIRuntime;
aload 0
getfield org.graalvm.compiler.hotspot.test.CompileTheWorld.compiler:Lorg/graalvm/compiler/hotspot/HotSpotGraalCompiler;
aload 12
iload 8
iload 9
invokespecial org.graalvm.compiler.hotspot.CompilationTask.<init>:(Ljdk/vm/ci/hotspot/HotSpotJVMCIRuntime;Lorg/graalvm/compiler/hotspot/HotSpotGraalCompiler;Ljdk/vm/ci/hotspot/HotSpotCompilationRequest;ZZ)V
astore 13
start local 13 39: aload 13
aload 0
getfield org.graalvm.compiler.hotspot.test.CompileTheWorld.compilerOptions:Lorg/graalvm/compiler/options/OptionValues;
invokevirtual org.graalvm.compiler.hotspot.CompilationTask.runCompilation:(Lorg/graalvm/compiler/options/OptionValues;)Ljdk/vm/ci/hotspot/HotSpotCompilationRequestResult;
pop
40: aload 13
invokevirtual org.graalvm.compiler.hotspot.CompilationTask.getInstalledCode:()Ljdk/vm/ci/hotspot/HotSpotInstalledCode;
astore 10
end local 13 end local 12 end local 11 start local 10 41: StackMap locals: jdk.vm.ci.hotspot.HotSpotInstalledCode
StackMap stack:
aload 10
ifnull 43
getstatic org.graalvm.compiler.hotspot.test.CompileTheWorld$Options.InvalidateInstalledCode:Lorg/graalvm/compiler/options/OptionKey;
aload 0
getfield org.graalvm.compiler.hotspot.test.CompileTheWorld.compilerOptions:Lorg/graalvm/compiler/options/OptionValues;
invokevirtual org.graalvm.compiler.options.OptionKey.getValue:(Lorg/graalvm/compiler/options/OptionValues;)Ljava/lang/Object;
checkcast java.lang.Boolean
invokevirtual java.lang.Boolean.booleanValue:()Z
ifeq 43
42: aload 10
invokevirtual jdk.vm.ci.hotspot.HotSpotInstalledCode.invalidate:()V
43: StackMap locals:
StackMap stack:
aload 0
getfield org.graalvm.compiler.hotspot.test.CompileTheWorld.memoryUsed:Ljava/util/concurrent/atomic/AtomicLong;
invokestatic org.graalvm.compiler.debug.MemUseTrackerKey.getCurrentThreadAllocatedBytes:()J
lload 6
lsub
invokevirtual java.util.concurrent.atomic.AtomicLong.getAndAdd:(J)J
pop2
44: aload 0
getfield org.graalvm.compiler.hotspot.test.CompileTheWorld.compileTime:Ljava/util/concurrent/atomic/AtomicLong;
invokestatic java.lang.System.nanoTime:()J
lload 4
lsub
invokevirtual java.util.concurrent.atomic.AtomicLong.getAndAdd:(J)J
pop2
45: aload 0
getfield org.graalvm.compiler.hotspot.test.CompileTheWorld.compiledMethodsCounter:Ljava/util/concurrent/atomic/AtomicLong;
invokevirtual java.util.concurrent.atomic.AtomicLong.incrementAndGet:()J
pop2
end local 10 end local 9 end local 8 end local 6 end local 4 46: goto 50
StackMap locals: org.graalvm.compiler.hotspot.test.CompileTheWorld jdk.vm.ci.hotspot.HotSpotResolvedJavaMethod int org.graalvm.compiler.hotspot.test.CompileTheWorld$LibGraalParams
StackMap stack: java.lang.Throwable
47: astore 4
start local 4 48: aload 0
ldc "CompileTheWorld (%d) : Error compiling method: %s"
iconst_2
anewarray java.lang.Object
dup
iconst_0
iload 2
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
aastore
dup
iconst_1
aload 1
ldc "%H.%n(%p):%r"
invokeinterface jdk.vm.ci.hotspot.HotSpotResolvedJavaMethod.format:(Ljava/lang/String;)Ljava/lang/String;
aastore
invokevirtual org.graalvm.compiler.hotspot.test.CompileTheWorld.println:(Ljava/lang/String;[Ljava/lang/Object;)V
49: aload 0
aload 4
invokevirtual org.graalvm.compiler.hotspot.test.CompileTheWorld.printStackTrace:(Ljava/lang/Throwable;)V
end local 4 50: StackMap locals:
StackMap stack:
return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 51 0 this Lorg/graalvm/compiler/hotspot/test/CompileTheWorld;
0 51 1 method Ljdk/vm/ci/hotspot/HotSpotResolvedJavaMethod;
0 51 2 counter I
0 51 3 libgraal Lorg/graalvm/compiler/hotspot/test/CompileTheWorld$LibGraalParams;
1 46 4 start J
2 46 6 allocatedAtStart J
3 46 8 useProfilingInfo Z
4 46 9 installAsDefault Z
23 31 10 installedCode Ljdk/vm/ci/hotspot/HotSpotInstalledCode;
41 46 10 installedCode Ljdk/vm/ci/hotspot/HotSpotInstalledCode;
6 36 11 runtime Ljdk/vm/ci/hotspot/HotSpotJVMCIRuntime;
8 32 14 scope Ljdk/internal/vm/compiler/libgraal/LibGraalScope;
9 30 15 methodHandle J
10 30 17 isolateThread J
11 30 19 stackTraceBuffer Lorg/graalvm/compiler/hotspot/test/CompileTheWorld$LibGraalParams$StackTraceBuffer;
12 30 20 stackTraceBufferAddress J
22 30 22 installedCodeHandle J
25 30 24 length I
26 30 25 data [B
28 30 26 stackTrace Ljava/lang/String;
37 41 11 entryBCI I
38 41 12 request Ljdk/vm/ci/hotspot/HotSpotCompilationRequest;
39 41 13 task Lorg/graalvm/compiler/hotspot/CompilationTask;
48 50 4 t Ljava/lang/Throwable;
Exception table:
from to target type
8 30 31 any
7 33 33 any
0 46 47 Class java.lang.Throwable
MethodParameters:
Name Flags
method
counter
libgraal
private boolean canBeCompiled(jdk.vm.ci.hotspot.HotSpotResolvedJavaMethod, int);
descriptor: (Ljdk/vm/ci/hotspot/HotSpotResolvedJavaMethod;I)Z
flags: (0x0002) ACC_PRIVATE
Code:
stack=7, locals=8, args_size=3
start local 0 start local 1 start local 2 0: iload 2
invokestatic java.lang.reflect.Modifier.isAbstract:(I)Z
ifne 1
iload 2
invokestatic java.lang.reflect.Modifier.isNative:(I)Z
ifeq 2
1: StackMap locals:
StackMap stack:
iconst_0
ireturn
2: StackMap locals:
StackMap stack:
aload 0
getfield org.graalvm.compiler.hotspot.test.CompileTheWorld.compiler:Lorg/graalvm/compiler/hotspot/HotSpotGraalCompiler;
invokevirtual org.graalvm.compiler.hotspot.HotSpotGraalCompiler.getGraalRuntime:()Lorg/graalvm/compiler/hotspot/HotSpotGraalRuntimeProvider;
invokeinterface org.graalvm.compiler.hotspot.HotSpotGraalRuntimeProvider.getVMConfig:()Lorg/graalvm/compiler/hotspot/GraalHotSpotVMConfig;
astore 3
start local 3 3: aload 3
getfield org.graalvm.compiler.hotspot.GraalHotSpotVMConfig.dontCompileHugeMethods:Z
ifeq 12
aload 1
invokeinterface jdk.vm.ci.hotspot.HotSpotResolvedJavaMethod.getCodeSize:()I
aload 3
getfield org.graalvm.compiler.hotspot.GraalHotSpotVMConfig.hugeMethodLimit:I
if_icmple 12
4: aload 0
getfield org.graalvm.compiler.hotspot.test.CompileTheWorld.verbose:Z
ifne 5
aload 0
getfield org.graalvm.compiler.hotspot.test.CompileTheWorld.methodFilters:[Lorg/graalvm/compiler/debug/MethodFilter;
ifnonnull 5
iconst_0
goto 6
StackMap locals: org.graalvm.compiler.hotspot.GraalHotSpotVMConfig
StackMap stack:
5: iconst_1
6: StackMap locals:
StackMap stack: int
ldc "CompileTheWorld (%d) : Skipping huge method %s (use -XX:-DontCompileHugeMethods or -XX:HugeMethodLimit=%d to include it)"
iconst_3
anewarray java.lang.Object
dup
iconst_0
aload 0
getfield org.graalvm.compiler.hotspot.test.CompileTheWorld.classFileCounter:I
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
aastore
dup
iconst_1
7: aload 1
ldc "%H.%n(%p):%r"
invokeinterface jdk.vm.ci.hotspot.HotSpotResolvedJavaMethod.format:(Ljava/lang/String;)Ljava/lang/String;
aastore
dup
iconst_2
8: aload 1
invokeinterface jdk.vm.ci.hotspot.HotSpotResolvedJavaMethod.getCodeSize:()I
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
aastore
9: invokestatic java.lang.String.format:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
10: invokestatic org.graalvm.compiler.hotspot.test.CompileTheWorld.println:(ZLjava/lang/String;)V
11: iconst_0
ireturn
12: StackMap locals:
StackMap stack:
aload 1
invokeinterface jdk.vm.ci.hotspot.HotSpotResolvedJavaMethod.canBeInlined:()Z
ifne 14
13: iconst_0
ireturn
14: StackMap locals:
StackMap stack:
aload 1
invokeinterface jdk.vm.ci.hotspot.HotSpotResolvedJavaMethod.getAnnotations:()[Ljava/lang/annotation/Annotation;
dup
astore 7
arraylength
istore 6
iconst_0
istore 5
goto 19
StackMap locals: org.graalvm.compiler.hotspot.test.CompileTheWorld jdk.vm.ci.hotspot.HotSpotResolvedJavaMethod int org.graalvm.compiler.hotspot.GraalHotSpotVMConfig top int int java.lang.annotation.Annotation[]
StackMap stack:
15: aload 7
iload 5
aaload
astore 4
start local 4 16: aload 4
invokeinterface java.lang.annotation.Annotation.annotationType:()Ljava/lang/Class;
ldc Lorg/graalvm/compiler/api/replacements/Snippet;
invokevirtual java.lang.Object.equals:(Ljava/lang/Object;)Z
ifeq 18
17: iconst_0
ireturn
end local 4 18: StackMap locals:
StackMap stack:
iinc 5 1
StackMap locals:
StackMap stack:
19: iload 5
iload 6
if_icmplt 15
20: iconst_1
ireturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 21 0 this Lorg/graalvm/compiler/hotspot/test/CompileTheWorld;
0 21 1 javaMethod Ljdk/vm/ci/hotspot/HotSpotResolvedJavaMethod;
0 21 2 modifiers I
3 21 3 c Lorg/graalvm/compiler/hotspot/GraalHotSpotVMConfig;
16 18 4 annotation Ljava/lang/annotation/Annotation;
MethodParameters:
Name Flags
javaMethod
modifiers
public static org.graalvm.compiler.options.OptionValues loadHarnessOptions();
descriptor: ()Lorg/graalvm/compiler/options/OptionValues;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=4, locals=3, args_size=0
0: invokestatic org.graalvm.compiler.options.OptionValues.newOptionMap:()Ljdk/internal/vm/compiler/collections/EconomicMap;
astore 0
start local 0 1: getstatic org.graalvm.compiler.hotspot.test.CompileTheWorld$Options.DESCRIPTORS:Lorg/graalvm/compiler/core/test/ReflectionOptionDescriptors;
invokestatic java.util.Collections.singletonList:(Ljava/lang/Object;)Ljava/util/List;
astore 1
start local 1 2: invokestatic java.lang.System.getProperties:()Ljava/util/Properties;
ldc "CompileTheWorld."
iconst_1
invokestatic org.graalvm.compiler.core.test.ReflectionOptionDescriptors.extractEntries:(Ljava/util/Properties;Ljava/lang/String;Z)Ljdk/internal/vm/compiler/collections/EconomicMap;
aload 0
aload 1
invokestatic org.graalvm.compiler.options.OptionsParser.parseOptions:(Ljdk/internal/vm/compiler/collections/EconomicMap;Ljdk/internal/vm/compiler/collections/EconomicMap;Ljava/lang/Iterable;)V
3: new org.graalvm.compiler.options.OptionValues
dup
aload 0
invokespecial org.graalvm.compiler.options.OptionValues.<init>:(Ljdk/internal/vm/compiler/collections/UnmodifiableEconomicMap;)V
astore 2
start local 2 4: getstatic org.graalvm.compiler.hotspot.test.CompileTheWorld$Options.Help:Lorg/graalvm/compiler/options/OptionKey;
aload 2
invokevirtual org.graalvm.compiler.options.OptionKey.getValue:(Lorg/graalvm/compiler/options/OptionValues;)Ljava/lang/Object;
checkcast java.lang.Boolean
invokevirtual java.lang.Boolean.booleanValue:()Z
ifeq 7
5: aload 2
aload 1
getstatic java.lang.System.out:Ljava/io/PrintStream;
ldc "CompileTheWorld."
invokevirtual org.graalvm.compiler.options.OptionValues.printHelp:(Ljava/lang/Iterable;Ljava/io/PrintStream;Ljava/lang/String;)V
6: iconst_0
invokestatic java.lang.System.exit:(I)V
7: StackMap locals: jdk.internal.vm.compiler.collections.EconomicMap java.util.List org.graalvm.compiler.options.OptionValues
StackMap stack:
aload 2
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
1 8 0 values Ljdk/internal/vm/compiler/collections/EconomicMap<Lorg/graalvm/compiler/options/OptionKey<*>;Ljava/lang/Object;>;
2 8 1 loader Ljava/util/List<Lorg/graalvm/compiler/options/OptionDescriptors;>;
4 8 2 options Lorg/graalvm/compiler/options/OptionValues;
public static void main(java.lang.String[]);
descriptor: ([Ljava/lang/String;)V
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=6, locals=9, args_size=1
start local 0 0: invokestatic jdk.vm.ci.hotspot.HotSpotJVMCIRuntime.runtime:()Ljdk/vm/ci/hotspot/HotSpotJVMCIRuntime;
astore 1
start local 1 1: aload 1
invokevirtual jdk.vm.ci.hotspot.HotSpotJVMCIRuntime.getCompiler:()Ljdk/vm/ci/runtime/JVMCICompiler;
checkcast org.graalvm.compiler.hotspot.HotSpotGraalCompiler
astore 2
start local 2 2: aload 2
invokevirtual org.graalvm.compiler.hotspot.HotSpotGraalCompiler.getGraalRuntime:()Lorg/graalvm/compiler/hotspot/HotSpotGraalRuntimeProvider;
astore 3
start local 3 3: aload 3
invokeinterface org.graalvm.compiler.hotspot.HotSpotGraalRuntimeProvider.getHostProviders:()Lorg/graalvm/compiler/hotspot/meta/HotSpotProviders;
invokevirtual org.graalvm.compiler.hotspot.meta.HotSpotProviders.getCodeCache:()Ljdk/vm/ci/hotspot/HotSpotCodeCacheProvider;
astore 4
start local 4 4: invokestatic org.graalvm.compiler.hotspot.test.CompileTheWorld.loadHarnessOptions:()Lorg/graalvm/compiler/options/OptionValues;
astore 5
start local 5 5: getstatic org.graalvm.compiler.hotspot.test.CompileTheWorld$Options.Iterations:Lorg/graalvm/compiler/options/OptionKey;
aload 5
invokevirtual org.graalvm.compiler.options.OptionKey.getValue:(Lorg/graalvm/compiler/options/OptionValues;)Ljava/lang/Object;
checkcast java.lang.Integer
invokevirtual java.lang.Integer.intValue:()I
istore 6
start local 6 6: iconst_0
istore 7
start local 7 7: goto 15
8: StackMap locals: java.lang.String[] jdk.vm.ci.hotspot.HotSpotJVMCIRuntime org.graalvm.compiler.hotspot.HotSpotGraalCompiler org.graalvm.compiler.hotspot.HotSpotGraalRuntimeProvider jdk.vm.ci.hotspot.HotSpotCodeCacheProvider org.graalvm.compiler.options.OptionValues int int
StackMap stack:
aload 4
invokevirtual jdk.vm.ci.hotspot.HotSpotCodeCacheProvider.resetCompilationStatistics:()V
9: new java.lang.StringBuilder
dup
ldc "CompileTheWorld : iteration "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
iload 7
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokestatic org.graalvm.compiler.debug.TTY.println:(Ljava/lang/String;)V
10: new org.graalvm.compiler.hotspot.test.CompileTheWorld
dup
aload 1
aload 2
aload 5
aload 3
invokeinterface org.graalvm.compiler.hotspot.HotSpotGraalRuntimeProvider.getOptions:()Lorg/graalvm/compiler/options/OptionValues;
invokespecial org.graalvm.compiler.hotspot.test.CompileTheWorld.<init>:(Ljdk/vm/ci/hotspot/HotSpotJVMCIRuntime;Lorg/graalvm/compiler/hotspot/HotSpotGraalCompiler;Lorg/graalvm/compiler/options/OptionValues;Lorg/graalvm/compiler/options/OptionValues;)V
astore 8
start local 8 11: aload 8
invokevirtual org.graalvm.compiler.hotspot.test.CompileTheWorld.compile:()V
12: iload 6
iconst_1
if_icmple 14
13: invokestatic java.lang.System.gc:()V
end local 8 14: StackMap locals:
StackMap stack:
iinc 7 1
StackMap locals:
StackMap stack:
15: iload 7
iload 6
if_icmplt 8
end local 7 16: iconst_0
invokestatic java.lang.System.exit:(I)V
17: return
end local 6 end local 5 end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 18 0 args [Ljava/lang/String;
1 18 1 jvmciRuntime Ljdk/vm/ci/hotspot/HotSpotJVMCIRuntime;
2 18 2 compiler Lorg/graalvm/compiler/hotspot/HotSpotGraalCompiler;
3 18 3 graalRuntime Lorg/graalvm/compiler/hotspot/HotSpotGraalRuntimeProvider;
4 18 4 codeCache Ljdk/vm/ci/hotspot/HotSpotCodeCacheProvider;
5 18 5 harnessOptions Lorg/graalvm/compiler/options/OptionValues;
6 18 6 iterations I
7 16 7 i I
11 14 8 ctw Lorg/graalvm/compiler/hotspot/test/CompileTheWorld;
Exceptions:
throws java.lang.Throwable
MethodParameters:
Name Flags
args
}
SourceFile: "CompileTheWorld.java"
NestMembers:
org.graalvm.compiler.hotspot.test.CompileTheWorld$1 org.graalvm.compiler.hotspot.test.CompileTheWorld$ClassPathEntry org.graalvm.compiler.hotspot.test.CompileTheWorld$DirClassPathEntry org.graalvm.compiler.hotspot.test.CompileTheWorld$DirClassPathEntry$1 org.graalvm.compiler.hotspot.test.CompileTheWorld$JRTClassPathEntry org.graalvm.compiler.hotspot.test.CompileTheWorld$JarClassPathEntry org.graalvm.compiler.hotspot.test.CompileTheWorld$LibGraalParams org.graalvm.compiler.hotspot.test.CompileTheWorld$LibGraalParams$1 org.graalvm.compiler.hotspot.test.CompileTheWorld$LibGraalParams$OptionsBuffer org.graalvm.compiler.hotspot.test.CompileTheWorld$LibGraalParams$StackTraceBuffer org.graalvm.compiler.hotspot.test.CompileTheWorld$Options
InnerClasses:
public final State = java.lang.Thread$State of java.lang.Thread
public final Lookup = java.lang.invoke.MethodHandles$Lookup of java.lang.invoke.MethodHandles
public abstract Entry = java.util.Map$Entry of java.util.Map
public final ExceptionAction = org.graalvm.compiler.core.CompilationWrapper$ExceptionAction of org.graalvm.compiler.core.CompilationWrapper
public Options = org.graalvm.compiler.core.phases.HighTier$Options of org.graalvm.compiler.core.phases.HighTier
org.graalvm.compiler.hotspot.test.CompileTheWorld$1
abstract ClassPathEntry = org.graalvm.compiler.hotspot.test.CompileTheWorld$ClassPathEntry of org.graalvm.compiler.hotspot.test.CompileTheWorld
DirClassPathEntry = org.graalvm.compiler.hotspot.test.CompileTheWorld$DirClassPathEntry of org.graalvm.compiler.hotspot.test.CompileTheWorld
JRTClassPathEntry = org.graalvm.compiler.hotspot.test.CompileTheWorld$JRTClassPathEntry of org.graalvm.compiler.hotspot.test.CompileTheWorld
JarClassPathEntry = org.graalvm.compiler.hotspot.test.CompileTheWorld$JarClassPathEntry of org.graalvm.compiler.hotspot.test.CompileTheWorld
LibGraalParams = org.graalvm.compiler.hotspot.test.CompileTheWorld$LibGraalParams of org.graalvm.compiler.hotspot.test.CompileTheWorld
OptionsBuffer = org.graalvm.compiler.hotspot.test.CompileTheWorld$LibGraalParams$OptionsBuffer of org.graalvm.compiler.hotspot.test.CompileTheWorld$LibGraalParams
StackTraceBuffer = org.graalvm.compiler.hotspot.test.CompileTheWorld$LibGraalParams$StackTraceBuffer of org.graalvm.compiler.hotspot.test.CompileTheWorld$LibGraalParams
Options = org.graalvm.compiler.hotspot.test.CompileTheWorld$Options of org.graalvm.compiler.hotspot.test.CompileTheWorld