public final class org.graalvm.compiler.hotspot.CompileTheWorld
minor version: 0
major version: 59
flags: flags: (0x0031) ACC_PUBLIC, ACC_FINAL, ACC_SUPER
this_class: org.graalvm.compiler.hotspot.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"
private final jdk.vm.ci.hotspot.HotSpotJVMCIRuntimeProvider jvmciRuntime;
descriptor: Ljdk/vm/ci/hotspot/HotSpotJVMCIRuntimeProvider;
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 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 final org.graalvm.compiler.hotspot.CompileTheWorld$Config config;
descriptor: Lorg/graalvm/compiler/hotspot/CompileTheWorld$Config;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private boolean running;
descriptor: Z
flags: (0x0002) ACC_PRIVATE
private java.util.concurrent.ThreadPoolExecutor threadPool;
descriptor: Ljava/util/concurrent/ThreadPoolExecutor;
flags: (0x0002) ACC_PRIVATE
public static final java.lang.String LIMITMODS_PROPERTY_NAME;
descriptor: Ljava/lang/String;
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
ConstantValue: "CompileTheWorld.limitmods"
static final boolean $assertionsDisabled;
descriptor: Z
flags: (0x1018) ACC_STATIC, ACC_FINAL, ACC_SYNTHETIC
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=1, locals=0, args_size=0
0: ldc Lorg/graalvm/compiler/hotspot/CompileTheWorld;
invokevirtual java.lang.Class.desiredAssertionStatus:()Z
ifne 1
iconst_1
goto 2
StackMap locals:
StackMap stack:
1: iconst_0
StackMap locals:
StackMap stack: int
2: putstatic org.graalvm.compiler.hotspot.CompileTheWorld.$assertionsDisabled:Z
3: return
LocalVariableTable:
Start End Slot Name Signature
public void <init>(jdk.vm.ci.hotspot.HotSpotJVMCIRuntimeProvider, org.graalvm.compiler.hotspot.HotSpotGraalCompiler, java.lang.String, org.graalvm.compiler.hotspot.CompileTheWorld$Config, int, int, java.lang.String, java.lang.String, boolean);
descriptor: (Ljdk/vm/ci/hotspot/HotSpotJVMCIRuntimeProvider;Lorg/graalvm/compiler/hotspot/HotSpotGraalCompiler;Ljava/lang/String;Lorg/graalvm/compiler/hotspot/CompileTheWorld$Config;IILjava/lang/String;Ljava/lang/String;Z)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=10, args_size=10
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 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
iconst_0
putfield org.graalvm.compiler.hotspot.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.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.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.CompileTheWorld.memoryUsed:Ljava/util/concurrent/atomic/AtomicLong;
5: aload 0
aload 1
putfield org.graalvm.compiler.hotspot.CompileTheWorld.jvmciRuntime:Ljdk/vm/ci/hotspot/HotSpotJVMCIRuntimeProvider;
6: aload 0
aload 2
putfield org.graalvm.compiler.hotspot.CompileTheWorld.compiler:Lorg/graalvm/compiler/hotspot/HotSpotGraalCompiler;
7: aload 0
aload 3
putfield org.graalvm.compiler.hotspot.CompileTheWorld.inputClassPath:Ljava/lang/String;
8: aload 0
iload 5
putfield org.graalvm.compiler.hotspot.CompileTheWorld.startAt:I
9: aload 0
iload 6
putfield org.graalvm.compiler.hotspot.CompileTheWorld.stopAt:I
10: aload 0
aload 7
ifnull 11
aload 7
invokevirtual java.lang.String.isEmpty:()Z
ifeq 12
StackMap locals: org.graalvm.compiler.hotspot.CompileTheWorld jdk.vm.ci.hotspot.HotSpotJVMCIRuntimeProvider org.graalvm.compiler.hotspot.HotSpotGraalCompiler java.lang.String org.graalvm.compiler.hotspot.CompileTheWorld$Config int int java.lang.String java.lang.String int
StackMap stack: org.graalvm.compiler.hotspot.CompileTheWorld
11: aconst_null
goto 13
StackMap locals:
StackMap stack: org.graalvm.compiler.hotspot.CompileTheWorld
12: aload 7
invokestatic org.graalvm.compiler.debug.MethodFilter.parse:(Ljava/lang/String;)[Lorg/graalvm/compiler/debug/MethodFilter;
StackMap locals: org.graalvm.compiler.hotspot.CompileTheWorld jdk.vm.ci.hotspot.HotSpotJVMCIRuntimeProvider org.graalvm.compiler.hotspot.HotSpotGraalCompiler java.lang.String org.graalvm.compiler.hotspot.CompileTheWorld$Config int int java.lang.String java.lang.String int
StackMap stack: org.graalvm.compiler.hotspot.CompileTheWorld org.graalvm.compiler.debug.MethodFilter[]
13: putfield org.graalvm.compiler.hotspot.CompileTheWorld.methodFilters:[Lorg/graalvm/compiler/debug/MethodFilter;
14: aload 0
aload 8
ifnull 15
aload 8
invokevirtual java.lang.String.isEmpty:()Z
ifeq 16
StackMap locals:
StackMap stack: org.graalvm.compiler.hotspot.CompileTheWorld
15: aconst_null
goto 17
StackMap locals:
StackMap stack: org.graalvm.compiler.hotspot.CompileTheWorld
16: aload 8
invokestatic org.graalvm.compiler.debug.MethodFilter.parse:(Ljava/lang/String;)[Lorg/graalvm/compiler/debug/MethodFilter;
StackMap locals: org.graalvm.compiler.hotspot.CompileTheWorld jdk.vm.ci.hotspot.HotSpotJVMCIRuntimeProvider org.graalvm.compiler.hotspot.HotSpotGraalCompiler java.lang.String org.graalvm.compiler.hotspot.CompileTheWorld$Config int int java.lang.String java.lang.String int
StackMap stack: org.graalvm.compiler.hotspot.CompileTheWorld org.graalvm.compiler.debug.MethodFilter[]
17: putfield org.graalvm.compiler.hotspot.CompileTheWorld.excludeMethodFilters:[Lorg/graalvm/compiler/debug/MethodFilter;
18: aload 0
iload 9
putfield org.graalvm.compiler.hotspot.CompileTheWorld.verbose:Z
19: aload 0
aload 4
putfield org.graalvm.compiler.hotspot.CompileTheWorld.config:Lorg/graalvm/compiler/hotspot/CompileTheWorld$Config;
20: aload 4
getstatic org.graalvm.compiler.core.GraalCompilerOptions.ExitVMOnException:Lorg/graalvm/compiler/options/OptionValue;
iconst_0
invokestatic java.lang.Boolean.valueOf:(Z)Ljava/lang/Boolean;
invokevirtual org.graalvm.compiler.hotspot.CompileTheWorld$Config.putIfAbsent:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
21: aload 4
getstatic org.graalvm.compiler.core.GraalCompilerOptions.PrintBailout:Lorg/graalvm/compiler/options/OptionValue;
iconst_1
invokestatic java.lang.Boolean.valueOf:(Z)Ljava/lang/Boolean;
invokevirtual org.graalvm.compiler.hotspot.CompileTheWorld$Config.putIfAbsent:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
22: aload 4
getstatic org.graalvm.compiler.core.GraalCompilerOptions.PrintStackTraceOnException:Lorg/graalvm/compiler/options/OptionValue;
iconst_1
invokestatic java.lang.Boolean.valueOf:(Z)Ljava/lang/Boolean;
invokevirtual org.graalvm.compiler.hotspot.CompileTheWorld$Config.putIfAbsent:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
23: return
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 24 0 this Lorg/graalvm/compiler/hotspot/CompileTheWorld;
0 24 1 jvmciRuntime Ljdk/vm/ci/hotspot/HotSpotJVMCIRuntimeProvider;
0 24 2 compiler Lorg/graalvm/compiler/hotspot/HotSpotGraalCompiler;
0 24 3 files Ljava/lang/String;
0 24 4 config Lorg/graalvm/compiler/hotspot/CompileTheWorld$Config;
0 24 5 startAt I
0 24 6 stopAt I
0 24 7 methodFilters Ljava/lang/String;
0 24 8 excludeMethodFilters Ljava/lang/String;
0 24 9 verbose Z
MethodParameters:
Name Flags
jvmciRuntime
compiler
files
config
startAt
stopAt
methodFilters
excludeMethodFilters
verbose
public void <init>(jdk.vm.ci.hotspot.HotSpotJVMCIRuntimeProvider, org.graalvm.compiler.hotspot.HotSpotGraalCompiler);
descriptor: (Ljdk/vm/ci/hotspot/HotSpotJVMCIRuntimeProvider;Lorg/graalvm/compiler/hotspot/HotSpotGraalCompiler;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=10, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
aload 1
aload 2
getstatic org.graalvm.compiler.hotspot.CompileTheWorldOptions.CompileTheWorldClasspath:Lorg/graalvm/compiler/options/OptionValue;
invokevirtual org.graalvm.compiler.options.OptionValue.getValue:()Ljava/lang/Object;
checkcast java.lang.String
new org.graalvm.compiler.hotspot.CompileTheWorld$Config
dup
getstatic org.graalvm.compiler.hotspot.CompileTheWorldOptions.CompileTheWorldConfig:Lorg/graalvm/compiler/options/OptionValue;
invokevirtual org.graalvm.compiler.options.OptionValue.getValue:()Ljava/lang/Object;
checkcast java.lang.String
invokespecial org.graalvm.compiler.hotspot.CompileTheWorld$Config.<init>:(Ljava/lang/String;)V
getstatic org.graalvm.compiler.hotspot.CompileTheWorldOptions.CompileTheWorldStartAt:Lorg/graalvm/compiler/options/OptionValue;
invokevirtual org.graalvm.compiler.options.OptionValue.getValue:()Ljava/lang/Object;
checkcast java.lang.Integer
invokevirtual java.lang.Integer.intValue:()I
getstatic org.graalvm.compiler.hotspot.CompileTheWorldOptions.CompileTheWorldStopAt:Lorg/graalvm/compiler/options/OptionValue;
invokevirtual org.graalvm.compiler.options.OptionValue.getValue:()Ljava/lang/Object;
checkcast java.lang.Integer
invokevirtual java.lang.Integer.intValue:()I
1: getstatic org.graalvm.compiler.hotspot.CompileTheWorldOptions.CompileTheWorldMethodFilter:Lorg/graalvm/compiler/options/OptionValue;
invokevirtual org.graalvm.compiler.options.OptionValue.getValue:()Ljava/lang/Object;
checkcast java.lang.String
getstatic org.graalvm.compiler.hotspot.CompileTheWorldOptions.CompileTheWorldExcludeMethodFilter:Lorg/graalvm/compiler/options/OptionValue;
invokevirtual org.graalvm.compiler.options.OptionValue.getValue:()Ljava/lang/Object;
checkcast java.lang.String
getstatic org.graalvm.compiler.hotspot.CompileTheWorldOptions.CompileTheWorldVerbose:Lorg/graalvm/compiler/options/OptionValue;
invokevirtual org.graalvm.compiler.options.OptionValue.getValue:()Ljava/lang/Object;
checkcast java.lang.Boolean
invokevirtual java.lang.Boolean.booleanValue:()Z
invokespecial org.graalvm.compiler.hotspot.CompileTheWorld.<init>:(Ljdk/vm/ci/hotspot/HotSpotJVMCIRuntimeProvider;Lorg/graalvm/compiler/hotspot/HotSpotGraalCompiler;Ljava/lang/String;Lorg/graalvm/compiler/hotspot/CompileTheWorld$Config;IILjava/lang/String;Ljava/lang/String;Z)V
2: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/graalvm/compiler/hotspot/CompileTheWorld;
0 3 1 jvmciRuntime Ljdk/vm/ci/hotspot/HotSpotJVMCIRuntimeProvider;
0 3 2 compiler Lorg/graalvm/compiler/hotspot/HotSpotGraalCompiler;
MethodParameters:
Name Flags
jvmciRuntime
compiler
public void compile();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=6, args_size=1
start local 0 0: getstatic org.graalvm.compiler.debug.GraalDebugConfig$Options.DebugValueThreadFilter:Lorg/graalvm/compiler/options/OptionValue;
invokevirtual org.graalvm.compiler.options.OptionValue.hasBeenSet:()Z
ifne 2
1: getstatic org.graalvm.compiler.debug.GraalDebugConfig$Options.DebugValueThreadFilter:Lorg/graalvm/compiler/options/OptionValue;
ldc "^CompileTheWorld"
invokevirtual org.graalvm.compiler.options.OptionValue.setValue:(Ljava/lang/Object;)V
2: StackMap locals:
StackMap stack:
ldc "sun.boot.class.path"
aload 0
getfield org.graalvm.compiler.hotspot.CompileTheWorld.inputClassPath:Ljava/lang/String;
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 18
3: aconst_null
astore 1
start local 1 4: getstatic org.graalvm.compiler.core.common.util.Util.Java8OrEarlier:Z
ifeq 15
5: 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 2
start local 2 6: iconst_0
istore 3
start local 3 7: goto 13
8: StackMap locals: java.lang.String java.lang.String[] int
StackMap stack:
aload 2
iload 3
aaload
astore 4
start local 4 9: new java.io.File
dup
aload 4
invokespecial java.io.File.<init>:(Ljava/lang/String;)V
astore 5
start local 5 10: aload 5
invokevirtual java.io.File.getName:()Ljava/lang/String;
ldc "rt.jar"
invokevirtual java.lang.String.endsWith:(Ljava/lang/String;)Z
ifeq 12
aload 5
invokevirtual java.io.File.isFile:()Z
ifeq 12
11: aload 4
astore 1
end local 5 end local 4 12: StackMap locals:
StackMap stack:
iinc 3 1
StackMap locals:
StackMap stack:
13: iload 3
aload 2
arraylength
if_icmpge 16
aload 1
ifnull 8
end local 3 end local 2 14: goto 16
15: StackMap locals:
StackMap stack:
new java.lang.StringBuilder
dup
ldc "java.home"
invokestatic java.lang.System.getProperty:(Ljava/lang/String;)Ljava/lang/String;
invokestatic java.lang.String.valueOf:(Ljava/lang/Object;)Ljava/lang/String;
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
ldc "/lib/modules"
bipush 47
getstatic java.io.File.separatorChar:C
invokevirtual java.lang.String.replace:(CC)Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
astore 1
16: StackMap locals:
StackMap stack:
aload 0
aload 1
invokevirtual org.graalvm.compiler.hotspot.CompileTheWorld.compile:(Ljava/lang/String;)V
end local 1 17: goto 19
18: StackMap locals:
StackMap stack:
aload 0
aload 0
getfield org.graalvm.compiler.hotspot.CompileTheWorld.inputClassPath:Ljava/lang/String;
invokevirtual org.graalvm.compiler.hotspot.CompileTheWorld.compile:(Ljava/lang/String;)V
19: StackMap locals:
StackMap stack:
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 20 0 this Lorg/graalvm/compiler/hotspot/CompileTheWorld;
4 17 1 bcpEntry Ljava/lang/String;
6 14 2 entries [Ljava/lang/String;
7 14 3 i I
9 12 4 entry Ljava/lang/String;
10 12 5 entryFile Ljava/io/File;
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.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/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.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/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.CompileTheWorld.verbose:Z
aload 1
invokestatic org.graalvm.compiler.hotspot.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/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.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/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
static boolean isJImage(java.lang.String);
descriptor: (Ljava/lang/String;)Z
flags: (0x0008) ACC_STATIC
Code:
stack=6, locals=4, args_size=1
start local 0 0: aload 0
iconst_0
anewarray java.lang.String
invokestatic java.nio.file.Paths.get:(Ljava/lang/String;[Ljava/lang/String;)Ljava/nio/file/Path;
iconst_1
anewarray java.nio.file.OpenOption
dup
iconst_0
getstatic java.nio.file.StandardOpenOption.READ:Ljava/nio/file/StandardOpenOption;
aastore
invokestatic java.nio.channels.FileChannel.open:(Ljava/nio/file/Path;[Ljava/nio/file/OpenOption;)Ljava/nio/channels/FileChannel;
astore 1
start local 1 1: aload 1
getstatic java.nio.channels.FileChannel$MapMode.READ_ONLY:Ljava/nio/channels/FileChannel$MapMode;
lconst_0
aload 1
invokevirtual java.nio.channels.FileChannel.size:()J
invokevirtual java.nio.channels.FileChannel.map:(Ljava/nio/channels/FileChannel$MapMode;JJ)Ljava/nio/MappedByteBuffer;
astore 2
start local 2 2: aload 2
invokestatic java.nio.ByteOrder.nativeOrder:()Ljava/nio/ByteOrder;
invokevirtual java.nio.ByteBuffer.order:(Ljava/nio/ByteOrder;)Ljava/nio/ByteBuffer;
invokevirtual java.nio.ByteBuffer.asIntBuffer:()Ljava/nio/IntBuffer;
iconst_0
invokevirtual java.nio.IntBuffer.get:(I)I
pop
3: aload 2
invokevirtual java.nio.ByteBuffer.asIntBuffer:()Ljava/nio/IntBuffer;
iconst_0
invokevirtual java.nio.IntBuffer.get:(I)I
istore 3
start local 3 4: iload 3
ldc -889267494
if_icmpne 7
5: iconst_1
ireturn
end local 3 end local 2 end local 1 6: StackMap locals:
StackMap stack: java.io.IOException
pop
7: StackMap locals:
StackMap stack:
iconst_0
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 path Ljava/lang/String;
1 6 1 channel Ljava/nio/channels/FileChannel;
2 6 2 map Ljava/nio/ByteBuffer;
4 6 3 magic I
Exception table:
from to target type
0 5 6 Class java.io.IOException
MethodParameters:
Name Flags
path
private void compile(java.lang.String);
descriptor: (Ljava/lang/String;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=10, locals=23, args_size=2
start local 0 start local 1 0: aload 1
getstatic java.io.File.pathSeparator:Ljava/lang/String;
invokevirtual java.lang.String.split:(Ljava/lang/String;)[Ljava/lang/String;
astore 2
start local 2 1: invokestatic java.lang.System.currentTimeMillis:()J
lstore 3
start local 3 2: new org.graalvm.compiler.core.CompilerThreadFactory
dup
ldc "CompileTheWorld"
new org.graalvm.compiler.hotspot.CompileTheWorld$1
dup
aload 0
invokespecial org.graalvm.compiler.hotspot.CompileTheWorld$1.<init>:(Lorg/graalvm/compiler/hotspot/CompileTheWorld;)V
invokespecial org.graalvm.compiler.core.CompilerThreadFactory.<init>:(Ljava/lang/String;Lorg/graalvm/compiler/core/CompilerThreadFactory$DebugConfigAccess;)V
astore 5
start local 5 3: 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;
4: ldc Lorg/graalvm/compiler/hotspot/CompileTheWorld;
ldc "dummy"
iconst_0
anewarray java.lang.Class
invokevirtual java.lang.Class.getDeclaredMethod:(Ljava/lang/String;[Ljava/lang/Class;)Ljava/lang/reflect/Method;
5: invokeinterface jdk.vm.ci.meta.MetaAccessProvider.lookupJavaMethod:(Ljava/lang/reflect/Executable;)Ljdk/vm/ci/meta/ResolvedJavaMethod;
checkcast jdk.vm.ci.hotspot.HotSpotResolvedJavaMethod
astore 6
start local 6 6: iconst_m1
istore 7
start local 7 7: iconst_0
istore 8
start local 8 8: iconst_0
istore 9
start local 9 9: new org.graalvm.compiler.hotspot.CompilationTask
dup
aload 0
getfield org.graalvm.compiler.hotspot.CompileTheWorld.jvmciRuntime:Ljdk/vm/ci/hotspot/HotSpotJVMCIRuntimeProvider;
aload 0
getfield org.graalvm.compiler.hotspot.CompileTheWorld.compiler:Lorg/graalvm/compiler/hotspot/HotSpotGraalCompiler;
new jdk.vm.ci.hotspot.HotSpotCompilationRequest
dup
aload 6
iload 7
lconst_0
invokespecial jdk.vm.ci.hotspot.HotSpotCompilationRequest.<init>:(Ljdk/vm/ci/hotspot/HotSpotResolvedJavaMethod;IJ)V
iload 8
iload 9
invokespecial org.graalvm.compiler.hotspot.CompilationTask.<init>:(Ljdk/vm/ci/hotspot/HotSpotJVMCIRuntimeProvider;Lorg/graalvm/compiler/hotspot/HotSpotGraalCompiler;Ljdk/vm/ci/hotspot/HotSpotCompilationRequest;ZZ)V
astore 10
start local 10 10: aload 10
invokevirtual org.graalvm.compiler.hotspot.CompilationTask.runCompilation:()Ljdk/vm/ci/hotspot/HotSpotCompilationRequestResult;
pop
end local 10 end local 9 end local 8 end local 7 end local 6 11: goto 14
StackMap locals: org.graalvm.compiler.hotspot.CompileTheWorld java.lang.String java.lang.String[] long org.graalvm.compiler.core.CompilerThreadFactory
StackMap stack: java.lang.Exception
12: astore 6
start local 6 13: aload 0
aload 6
invokevirtual org.graalvm.compiler.hotspot.CompileTheWorld.printStackTrace:(Ljava/lang/Throwable;)V
end local 6 14: StackMap locals:
StackMap stack:
iconst_1
istore 6
start local 6 15: getstatic org.graalvm.compiler.hotspot.CompileTheWorldOptions.CompileTheWorldMultiThreaded:Lorg/graalvm/compiler/options/OptionValue;
invokevirtual org.graalvm.compiler.options.OptionValue.getValue:()Ljava/lang/Object;
checkcast java.lang.Boolean
invokevirtual java.lang.Boolean.booleanValue:()Z
ifeq 20
16: getstatic org.graalvm.compiler.hotspot.CompileTheWorldOptions.CompileTheWorldThreads:Lorg/graalvm/compiler/options/OptionValue;
invokevirtual org.graalvm.compiler.options.OptionValue.getValue:()Ljava/lang/Object;
checkcast java.lang.Integer
invokevirtual java.lang.Integer.intValue:()I
istore 6
17: iload 6
ifne 21
18: invokestatic java.lang.Runtime.getRuntime:()Ljava/lang/Runtime;
invokevirtual java.lang.Runtime.availableProcessors:()I
istore 6
19: goto 21
20: StackMap locals: int
StackMap stack:
aload 0
iconst_1
putfield org.graalvm.compiler.hotspot.CompileTheWorld.running:Z
21: StackMap locals:
StackMap stack:
aload 0
new java.util.concurrent.ThreadPoolExecutor
dup
iload 6
iload 6
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
aload 5
invokespecial java.util.concurrent.ThreadPoolExecutor.<init>:(IIJLjava/util/concurrent/TimeUnit;Ljava/util/concurrent/BlockingQueue;Ljava/util/concurrent/ThreadFactory;)V
putfield org.graalvm.compiler.hotspot.CompileTheWorld.threadPool:Ljava/util/concurrent/ThreadPoolExecutor;
22: aconst_null
astore 7
aconst_null
astore 8
23: aload 0
getfield org.graalvm.compiler.hotspot.CompileTheWorld.config:Lorg/graalvm/compiler/hotspot/CompileTheWorld$Config;
invokevirtual org.graalvm.compiler.hotspot.CompileTheWorld$Config.apply:()Lorg/graalvm/compiler/options/OptionValue$OverrideScope;
astore 9
start local 9 24: iconst_0
istore 10
start local 10 25: goto 98
26: StackMap locals: org.graalvm.compiler.hotspot.CompileTheWorld java.lang.String java.lang.String[] long org.graalvm.compiler.core.CompilerThreadFactory int java.lang.Throwable java.lang.Throwable org.graalvm.compiler.options.OptionValue$OverrideScope int
StackMap stack:
aload 2
iload 10
aaload
astore 11
start local 11 27: aload 11
ldc ".zip"
invokevirtual java.lang.String.endsWith:(Ljava/lang/String;)Z
ifne 28
aload 11
ldc ".jar"
invokevirtual java.lang.String.endsWith:(Ljava/lang/String;)Z
ifeq 30
28: StackMap locals: java.lang.String
StackMap stack:
new org.graalvm.compiler.hotspot.CompileTheWorld$JarClassPathEntry
dup
aload 11
invokespecial org.graalvm.compiler.hotspot.CompileTheWorld$JarClassPathEntry.<init>:(Ljava/lang/String;)V
astore 12
start local 12 29: goto 39
end local 12 StackMap locals:
StackMap stack:
30: aload 11
invokestatic org.graalvm.compiler.hotspot.CompileTheWorld.isJImage:(Ljava/lang/String;)Z
ifeq 34
31: getstatic org.graalvm.compiler.hotspot.CompileTheWorld.$assertionsDisabled:Z
ifne 32
getstatic org.graalvm.compiler.core.common.util.Util.Java8OrEarlier:Z
ifeq 32
new java.lang.AssertionError
dup
invokespecial java.lang.AssertionError.<init>:()V
athrow
32: StackMap locals:
StackMap stack:
new org.graalvm.compiler.hotspot.CompileTheWorld$ImageClassPathEntry
dup
aload 11
invokespecial org.graalvm.compiler.hotspot.CompileTheWorld$ImageClassPathEntry.<init>:(Ljava/lang/String;)V
astore 12
start local 12 33: goto 39
end local 12 34: StackMap locals:
StackMap stack:
new java.io.File
dup
aload 11
invokespecial java.io.File.<init>:(Ljava/lang/String;)V
invokevirtual java.io.File.isDirectory:()Z
ifne 38
35: aload 0
new java.lang.StringBuilder
dup
ldc "CompileTheWorld : Skipped classes in "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 11
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokevirtual org.graalvm.compiler.hotspot.CompileTheWorld.println:(Ljava/lang/String;)V
36: aload 0
invokevirtual org.graalvm.compiler.hotspot.CompileTheWorld.println:()V
37: goto 97
38: StackMap locals:
StackMap stack:
new org.graalvm.compiler.hotspot.CompileTheWorld$DirClassPathEntry
dup
aload 11
invokespecial org.graalvm.compiler.hotspot.CompileTheWorld$DirClassPathEntry.<init>:(Ljava/lang/String;)V
astore 12
start local 12 39: StackMap locals: org.graalvm.compiler.hotspot.CompileTheWorld$ClassPathEntry
StackMap stack:
aload 0
getfield org.graalvm.compiler.hotspot.CompileTheWorld.methodFilters:[Lorg/graalvm/compiler/debug/MethodFilter;
ifnull 40
aload 0
getfield org.graalvm.compiler.hotspot.CompileTheWorld.methodFilters:[Lorg/graalvm/compiler/debug/MethodFilter;
arraylength
ifne 42
40: 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 11
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokevirtual org.graalvm.compiler.hotspot.CompileTheWorld.println:(Ljava/lang/String;)V
41: goto 44
42: StackMap locals:
StackMap stack:
aload 0
getfield org.graalvm.compiler.hotspot.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 13
start local 13 43: aload 0
new java.lang.StringBuilder
dup
ldc "CompileTheWorld : Compiling all methods in "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 11
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 13
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokevirtual org.graalvm.compiler.hotspot.CompileTheWorld.println:(Ljava/lang/String;)V
end local 13 44: StackMap locals:
StackMap stack:
aload 0
getfield org.graalvm.compiler.hotspot.CompileTheWorld.excludeMethodFilters:[Lorg/graalvm/compiler/debug/MethodFilter;
ifnull 47
aload 0
getfield org.graalvm.compiler.hotspot.CompileTheWorld.excludeMethodFilters:[Lorg/graalvm/compiler/debug/MethodFilter;
arraylength
ifle 47
45: aload 0
getfield org.graalvm.compiler.hotspot.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 13
start local 13 46: 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 13
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokevirtual org.graalvm.compiler.hotspot.CompileTheWorld.println:(Ljava/lang/String;)V
end local 13 47: StackMap locals:
StackMap stack:
aload 0
invokevirtual org.graalvm.compiler.hotspot.CompileTheWorld.println:()V
48: aload 12
invokevirtual org.graalvm.compiler.hotspot.CompileTheWorld$ClassPathEntry.createClassLoader:()Ljava/lang/ClassLoader;
astore 13
start local 13 49: aload 12
invokevirtual org.graalvm.compiler.hotspot.CompileTheWorld$ClassPathEntry.getClassNames:()Ljava/util/List;
invokeinterface java.util.List.iterator:()Ljava/util/Iterator;
astore 15
goto 95
StackMap locals: org.graalvm.compiler.hotspot.CompileTheWorld java.lang.String java.lang.String[] long org.graalvm.compiler.core.CompilerThreadFactory int java.lang.Throwable java.lang.Throwable org.graalvm.compiler.options.OptionValue$OverrideScope int java.lang.String org.graalvm.compiler.hotspot.CompileTheWorld$ClassPathEntry java.lang.ClassLoader top java.util.Iterator
StackMap stack:
50: aload 15
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast java.lang.String
astore 14
start local 14 51: aload 0
getfield org.graalvm.compiler.hotspot.CompileTheWorld.classFileCounter:I
aload 0
getfield org.graalvm.compiler.hotspot.CompileTheWorld.stopAt:I
if_icmplt 53
52: goto 96
53: StackMap locals: org.graalvm.compiler.hotspot.CompileTheWorld java.lang.String java.lang.String[] long org.graalvm.compiler.core.CompilerThreadFactory int java.lang.Throwable java.lang.Throwable org.graalvm.compiler.options.OptionValue$OverrideScope int java.lang.String org.graalvm.compiler.hotspot.CompileTheWorld$ClassPathEntry java.lang.ClassLoader java.lang.String java.util.Iterator
StackMap stack:
aload 0
dup
getfield org.graalvm.compiler.hotspot.CompileTheWorld.classFileCounter:I
iconst_1
iadd
putfield org.graalvm.compiler.hotspot.CompileTheWorld.classFileCounter:I
54: aload 14
ldc "jdk.management."
invokevirtual java.lang.String.startsWith:(Ljava/lang/String;)Z
ifne 95
aload 14
ldc "jdk.internal.cmm.*"
invokevirtual java.lang.String.startsWith:(Ljava/lang/String;)Z
ifeq 56
55: goto 95
56: StackMap locals:
StackMap stack:
aload 14
iconst_1
aload 13
invokestatic java.lang.Class.forName:(Ljava/lang/String;ZLjava/lang/ClassLoader;)Ljava/lang/Class;
astore 16
start local 16 57: aload 16
invokestatic jdk.vm.ci.hotspot.HotSpotResolvedObjectType.fromObjectClass:(Ljava/lang/Class;)Ljdk/vm/ci/hotspot/HotSpotResolvedObjectType;
astore 17
start local 17 58: aload 17
invokeinterface jdk.vm.ci.hotspot.HotSpotResolvedObjectType.getConstantPool:()Ljdk/vm/ci/meta/ConstantPool;
astore 18
start local 18 59: iconst_1
istore 19
start local 19 60: goto 63
61: StackMap locals: org.graalvm.compiler.hotspot.CompileTheWorld java.lang.String java.lang.String[] long org.graalvm.compiler.core.CompilerThreadFactory int java.lang.Throwable java.lang.Throwable org.graalvm.compiler.options.OptionValue$OverrideScope int java.lang.String org.graalvm.compiler.hotspot.CompileTheWorld$ClassPathEntry java.lang.ClassLoader java.lang.String java.util.Iterator java.lang.Class jdk.vm.ci.hotspot.HotSpotResolvedObjectType jdk.vm.ci.meta.ConstantPool int
StackMap stack:
aload 18
iload 19
bipush 18
invokeinterface jdk.vm.ci.meta.ConstantPool.loadReferencedType:(II)V
62: iinc 19 1
StackMap locals:
StackMap stack:
63: iload 19
aload 18
invokeinterface jdk.vm.ci.meta.ConstantPool.length:()I
if_icmplt 61
end local 19 end local 18 end local 17 64: goto 67
StackMap locals: org.graalvm.compiler.hotspot.CompileTheWorld java.lang.String java.lang.String[] long org.graalvm.compiler.core.CompilerThreadFactory int java.lang.Throwable java.lang.Throwable org.graalvm.compiler.options.OptionValue$OverrideScope int java.lang.String org.graalvm.compiler.hotspot.CompileTheWorld$ClassPathEntry java.lang.ClassLoader java.lang.String java.util.Iterator java.lang.Class
StackMap stack: java.lang.Throwable
65: astore 17
start local 17 66: 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.CompileTheWorld.classFileCounter:I
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
aastore
dup
iconst_1
aload 14
aastore
dup
iconst_2
aload 17
aastore
invokevirtual org.graalvm.compiler.hotspot.CompileTheWorld.println:(Ljava/lang/String;[Ljava/lang/Object;)V
end local 17 67: StackMap locals:
StackMap stack:
aload 0
getfield org.graalvm.compiler.hotspot.CompileTheWorld.methodFilters:[Lorg/graalvm/compiler/debug/MethodFilter;
ifnull 69
aload 0
getfield org.graalvm.compiler.hotspot.CompileTheWorld.methodFilters:[Lorg/graalvm/compiler/debug/MethodFilter;
aload 14
invokestatic org.graalvm.compiler.debug.MethodFilter.matchesClassName:([Lorg/graalvm/compiler/debug/MethodFilter;Ljava/lang/String;)Z
ifne 69
68: goto 95
69: StackMap locals:
StackMap stack:
aload 0
getfield org.graalvm.compiler.hotspot.CompileTheWorld.excludeMethodFilters:[Lorg/graalvm/compiler/debug/MethodFilter;
ifnull 71
aload 0
getfield org.graalvm.compiler.hotspot.CompileTheWorld.excludeMethodFilters:[Lorg/graalvm/compiler/debug/MethodFilter;
aload 14
invokestatic org.graalvm.compiler.debug.MethodFilter.matchesClassName:([Lorg/graalvm/compiler/debug/MethodFilter;Ljava/lang/String;)Z
ifeq 71
70: goto 95
71: StackMap locals:
StackMap stack:
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 17
start local 17 72: aload 0
getfield org.graalvm.compiler.hotspot.CompileTheWorld.classFileCounter:I
aload 0
getfield org.graalvm.compiler.hotspot.CompileTheWorld.startAt:I
if_icmplt 95
73: aload 0
ldc "CompileTheWorld (%d) : %s"
iconst_2
anewarray java.lang.Object
dup
iconst_0
aload 0
getfield org.graalvm.compiler.hotspot.CompileTheWorld.classFileCounter:I
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
aastore
dup
iconst_1
aload 14
aastore
invokevirtual org.graalvm.compiler.hotspot.CompileTheWorld.println:(Ljava/lang/String;[Ljava/lang/Object;)V
74: aload 16
invokevirtual java.lang.Class.getDeclaredConstructors:()[Ljava/lang/reflect/Constructor;
dup
astore 21
arraylength
istore 20
iconst_0
istore 19
goto 80
StackMap locals: org.graalvm.compiler.hotspot.CompileTheWorld java.lang.String java.lang.String[] long org.graalvm.compiler.core.CompilerThreadFactory int java.lang.Throwable java.lang.Throwable org.graalvm.compiler.options.OptionValue$OverrideScope int java.lang.String org.graalvm.compiler.hotspot.CompileTheWorld$ClassPathEntry java.lang.ClassLoader java.lang.String java.util.Iterator java.lang.Class jdk.vm.ci.meta.MetaAccessProvider top int int java.lang.reflect.Constructor[]
StackMap stack:
75: aload 21
iload 19
aaload
astore 18
start local 18 76: aload 17
aload 18
invokeinterface jdk.vm.ci.meta.MetaAccessProvider.lookupJavaMethod:(Ljava/lang/reflect/Executable;)Ljdk/vm/ci/meta/ResolvedJavaMethod;
checkcast jdk.vm.ci.hotspot.HotSpotResolvedJavaMethod
astore 22
start local 22 77: aload 0
aload 22
aload 18
invokevirtual java.lang.reflect.Constructor.getModifiers:()I
invokevirtual org.graalvm.compiler.hotspot.CompileTheWorld.canBeCompiled:(Ljdk/vm/ci/hotspot/HotSpotResolvedJavaMethod;I)Z
ifeq 79
78: aload 0
aload 22
invokevirtual org.graalvm.compiler.hotspot.CompileTheWorld.compileMethod:(Ljdk/vm/ci/hotspot/HotSpotResolvedJavaMethod;)V
end local 22 end local 18 79: StackMap locals:
StackMap stack:
iinc 19 1
StackMap locals:
StackMap stack:
80: iload 19
iload 20
if_icmplt 75
81: aload 16
invokevirtual java.lang.Class.getDeclaredMethods:()[Ljava/lang/reflect/Method;
dup
astore 21
arraylength
istore 20
iconst_0
istore 19
goto 87
StackMap locals: org.graalvm.compiler.hotspot.CompileTheWorld java.lang.String java.lang.String[] long org.graalvm.compiler.core.CompilerThreadFactory int java.lang.Throwable java.lang.Throwable org.graalvm.compiler.options.OptionValue$OverrideScope int java.lang.String org.graalvm.compiler.hotspot.CompileTheWorld$ClassPathEntry java.lang.ClassLoader java.lang.String java.util.Iterator java.lang.Class jdk.vm.ci.meta.MetaAccessProvider top int int java.lang.reflect.Method[]
StackMap stack:
82: aload 21
iload 19
aaload
astore 18
start local 18 83: aload 17
aload 18
invokeinterface jdk.vm.ci.meta.MetaAccessProvider.lookupJavaMethod:(Ljava/lang/reflect/Executable;)Ljdk/vm/ci/meta/ResolvedJavaMethod;
checkcast jdk.vm.ci.hotspot.HotSpotResolvedJavaMethod
astore 22
start local 22 84: aload 0
aload 22
aload 18
invokevirtual java.lang.reflect.Method.getModifiers:()I
invokevirtual org.graalvm.compiler.hotspot.CompileTheWorld.canBeCompiled:(Ljdk/vm/ci/hotspot/HotSpotResolvedJavaMethod;I)Z
ifeq 86
85: aload 0
aload 22
invokevirtual org.graalvm.compiler.hotspot.CompileTheWorld.compileMethod:(Ljdk/vm/ci/hotspot/HotSpotResolvedJavaMethod;)V
end local 22 end local 18 86: StackMap locals:
StackMap stack:
iinc 19 1
StackMap locals:
StackMap stack:
87: iload 19
iload 20
if_icmplt 82
88: aload 17
aload 16
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 18
start local 18 89: aload 18
ifnull 95
aload 0
aload 18
aload 18
invokeinterface jdk.vm.ci.hotspot.HotSpotResolvedJavaMethod.getModifiers:()I
invokevirtual org.graalvm.compiler.hotspot.CompileTheWorld.canBeCompiled:(Ljdk/vm/ci/hotspot/HotSpotResolvedJavaMethod;I)Z
ifeq 95
90: aload 0
aload 18
invokevirtual org.graalvm.compiler.hotspot.CompileTheWorld.compileMethod:(Ljdk/vm/ci/hotspot/HotSpotResolvedJavaMethod;)V
end local 18 end local 17 end local 16 91: goto 95
StackMap locals: org.graalvm.compiler.hotspot.CompileTheWorld java.lang.String java.lang.String[] long org.graalvm.compiler.core.CompilerThreadFactory int java.lang.Throwable java.lang.Throwable org.graalvm.compiler.options.OptionValue$OverrideScope int java.lang.String org.graalvm.compiler.hotspot.CompileTheWorld$ClassPathEntry java.lang.ClassLoader java.lang.String java.util.Iterator
StackMap stack: java.lang.Throwable
92: astore 16
start local 16 93: aload 0
ldc "CompileTheWorld (%d) : Skipping %s %s"
iconst_3
anewarray java.lang.Object
dup
iconst_0
aload 0
getfield org.graalvm.compiler.hotspot.CompileTheWorld.classFileCounter:I
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
aastore
dup
iconst_1
aload 14
aastore
dup
iconst_2
aload 16
invokevirtual java.lang.Throwable.toString:()Ljava/lang/String;
aastore
invokevirtual org.graalvm.compiler.hotspot.CompileTheWorld.println:(Ljava/lang/String;[Ljava/lang/Object;)V
94: aload 0
aload 16
invokevirtual org.graalvm.compiler.hotspot.CompileTheWorld.printStackTrace:(Ljava/lang/Throwable;)V
end local 16 end local 14 95: StackMap locals: org.graalvm.compiler.hotspot.CompileTheWorld java.lang.String java.lang.String[] long org.graalvm.compiler.core.CompilerThreadFactory int java.lang.Throwable java.lang.Throwable org.graalvm.compiler.options.OptionValue$OverrideScope int java.lang.String org.graalvm.compiler.hotspot.CompileTheWorld$ClassPathEntry java.lang.ClassLoader top java.util.Iterator
StackMap stack:
aload 15
invokeinterface java.util.Iterator.hasNext:()Z
ifne 50
96: StackMap locals: org.graalvm.compiler.hotspot.CompileTheWorld java.lang.String java.lang.String[] long org.graalvm.compiler.core.CompilerThreadFactory int java.lang.Throwable java.lang.Throwable org.graalvm.compiler.options.OptionValue$OverrideScope int java.lang.String org.graalvm.compiler.hotspot.CompileTheWorld$ClassPathEntry java.lang.ClassLoader
StackMap stack:
aload 12
invokevirtual org.graalvm.compiler.hotspot.CompileTheWorld$ClassPathEntry.close:()V
end local 13 end local 12 end local 11 97: StackMap locals:
StackMap stack:
iinc 10 1
StackMap locals:
StackMap stack:
98: iload 10
aload 2
arraylength
if_icmplt 26
end local 10 99: aload 9
ifnull 105
aload 9
invokevirtual org.graalvm.compiler.options.OptionValue$OverrideScope.close:()V
goto 105
StackMap locals: org.graalvm.compiler.hotspot.CompileTheWorld java.lang.String java.lang.String[] long org.graalvm.compiler.core.CompilerThreadFactory int java.lang.Throwable java.lang.Throwable org.graalvm.compiler.options.OptionValue$OverrideScope
StackMap stack: java.lang.Throwable
100: astore 7
aload 9
ifnull 101
aload 9
invokevirtual org.graalvm.compiler.options.OptionValue$OverrideScope.close:()V
end local 9 StackMap locals:
StackMap stack:
101: aload 7
athrow
StackMap locals:
StackMap stack: java.lang.Throwable
102: astore 8
aload 7
ifnonnull 103
aload 8
astore 7
goto 104
StackMap locals:
StackMap stack:
103: aload 7
aload 8
if_acmpeq 104
aload 7
aload 8
invokevirtual java.lang.Throwable.addSuppressed:(Ljava/lang/Throwable;)V
StackMap locals:
StackMap stack:
104: aload 7
athrow
105: StackMap locals:
StackMap stack:
aload 0
getfield org.graalvm.compiler.hotspot.CompileTheWorld.running:Z
ifne 107
106: aload 0
invokevirtual org.graalvm.compiler.hotspot.CompileTheWorld.startThreads:()V
107: StackMap locals:
StackMap stack:
iconst_0
istore 7
start local 7 108: goto 115
109: StackMap locals: int
StackMap stack:
iload 7
bipush 15
irem
ifne 111
110: new java.lang.StringBuilder
dup
ldc "CompileTheWorld : Waiting for "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 0
getfield org.graalvm.compiler.hotspot.CompileTheWorld.threadPool:Ljava/util/concurrent/ThreadPoolExecutor;
invokevirtual java.util.concurrent.ThreadPoolExecutor.getTaskCount:()J
aload 0
getfield org.graalvm.compiler.hotspot.CompileTheWorld.threadPool:Ljava/util/concurrent/ThreadPoolExecutor;
invokevirtual java.util.concurrent.ThreadPoolExecutor.getCompletedTaskCount:()J
lsub
invokevirtual java.lang.StringBuilder.append:(J)Ljava/lang/StringBuilder;
ldc " compiles"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokestatic org.graalvm.compiler.debug.TTY.println:(Ljava/lang/String;)V
111: StackMap locals:
StackMap stack:
aload 0
getfield org.graalvm.compiler.hotspot.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
112: iinc 7 1
113: goto 115
StackMap locals:
StackMap stack: java.lang.InterruptedException
114: pop
115: StackMap locals:
StackMap stack:
aload 0
getfield org.graalvm.compiler.hotspot.CompileTheWorld.threadPool:Ljava/util/concurrent/ThreadPoolExecutor;
invokevirtual java.util.concurrent.ThreadPoolExecutor.getCompletedTaskCount:()J
aload 0
getfield org.graalvm.compiler.hotspot.CompileTheWorld.threadPool:Ljava/util/concurrent/ThreadPoolExecutor;
invokevirtual java.util.concurrent.ThreadPoolExecutor.getTaskCount:()J
lcmp
ifne 109
116: aload 0
aconst_null
putfield org.graalvm.compiler.hotspot.CompileTheWorld.threadPool:Ljava/util/concurrent/ThreadPoolExecutor;
117: invokestatic java.lang.System.currentTimeMillis:()J
lload 3
lsub
lstore 8
start local 8 118: aload 0
invokevirtual org.graalvm.compiler.hotspot.CompileTheWorld.println:()V
119: getstatic org.graalvm.compiler.hotspot.CompileTheWorldOptions.CompileTheWorldMultiThreaded:Lorg/graalvm/compiler/options/OptionValue;
invokevirtual org.graalvm.compiler.options.OptionValue.getValue:()Ljava/lang/Object;
checkcast java.lang.Boolean
invokevirtual java.lang.Boolean.booleanValue:()Z
ifeq 124
120: 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
aload 0
getfield org.graalvm.compiler.hotspot.CompileTheWorld.classFileCounter:I
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
aastore
dup
iconst_1
aload 0
getfield org.graalvm.compiler.hotspot.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 8
invokestatic java.lang.Long.valueOf:(J)Ljava/lang/Long;
aastore
dup
iconst_3
121: aload 0
getfield org.graalvm.compiler.hotspot.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_4
aload 0
getfield org.graalvm.compiler.hotspot.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
122: invokestatic org.graalvm.compiler.debug.TTY.println:(Ljava/lang/String;[Ljava/lang/Object;)V
123: goto 125
124: StackMap locals: long
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
aload 0
getfield org.graalvm.compiler.hotspot.CompileTheWorld.classFileCounter:I
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
aastore
dup
iconst_1
aload 0
getfield org.graalvm.compiler.hotspot.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.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.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
125: StackMap locals:
StackMap stack:
return
end local 8 end local 7 end local 6 end local 5 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 126 0 this Lorg/graalvm/compiler/hotspot/CompileTheWorld;
0 126 1 classPath Ljava/lang/String;
1 126 2 entries [Ljava/lang/String;
2 126 3 start J
3 126 5 factory Lorg/graalvm/compiler/core/CompilerThreadFactory;
6 11 6 dummyMethod Ljdk/vm/ci/hotspot/HotSpotResolvedJavaMethod;
7 11 7 entryBCI I
8 11 8 useProfilingInfo Z
9 11 9 installAsDefault Z
10 11 10 task Lorg/graalvm/compiler/hotspot/CompilationTask;
13 14 6 e1 Ljava/lang/Exception;
15 126 6 threadCount I
24 101 9 s Lorg/graalvm/compiler/options/OptionValue$OverrideScope;
25 99 10 i I
27 97 11 entry Ljava/lang/String;
29 30 12 cpe Lorg/graalvm/compiler/hotspot/CompileTheWorld$ClassPathEntry;
33 34 12 cpe Lorg/graalvm/compiler/hotspot/CompileTheWorld$ClassPathEntry;
39 97 12 cpe Lorg/graalvm/compiler/hotspot/CompileTheWorld$ClassPathEntry;
43 44 13 include Ljava/lang/String;
46 47 13 exclude Ljava/lang/String;
49 97 13 loader Ljava/lang/ClassLoader;
51 95 14 className Ljava/lang/String;
57 91 16 javaClass Ljava/lang/Class<*>;
58 64 17 objectType Ljdk/vm/ci/hotspot/HotSpotResolvedObjectType;
59 64 18 constantPool Ljdk/vm/ci/meta/ConstantPool;
60 64 19 cpi I
66 67 17 t Ljava/lang/Throwable;
72 91 17 metaAccess Ljdk/vm/ci/meta/MetaAccessProvider;
76 79 18 constructor Ljava/lang/reflect/Constructor<*>;
77 79 22 javaMethod Ljdk/vm/ci/hotspot/HotSpotResolvedJavaMethod;
83 86 18 method Ljava/lang/reflect/Method;
84 86 22 javaMethod Ljdk/vm/ci/hotspot/HotSpotResolvedJavaMethod;
89 91 18 clinit Ljdk/vm/ci/hotspot/HotSpotResolvedJavaMethod;
93 95 16 t Ljava/lang/Throwable;
108 126 7 wakeups I
118 126 8 elapsedTime J
Exception table:
from to target type
3 11 12 Class java.lang.NoSuchMethodException
3 11 12 Class java.lang.SecurityException
57 64 65 Class java.lang.Throwable
56 68 92 Class java.lang.Throwable
69 70 92 Class java.lang.Throwable
71 91 92 Class java.lang.Throwable
24 99 100 any
23 102 102 any
111 113 114 Class java.lang.InterruptedException
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
classPath
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.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/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.CompileTheWorld.running:Z
ifeq 1
5: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lorg/graalvm/compiler/hotspot/CompileTheWorld;
Exception table:
from to target type
1 2 3 Class java.lang.InterruptedException
private void compileMethod(jdk.vm.ci.hotspot.HotSpotResolvedJavaMethod);
descriptor: (Ljdk/vm/ci/hotspot/HotSpotResolvedJavaMethod;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=5, locals=3, args_size=2
start local 0 start local 1 0: aload 0
getfield org.graalvm.compiler.hotspot.CompileTheWorld.methodFilters:[Lorg/graalvm/compiler/debug/MethodFilter;
ifnull 2
aload 0
getfield org.graalvm.compiler.hotspot.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.CompileTheWorld.excludeMethodFilters:[Lorg/graalvm/compiler/debug/MethodFilter;
ifnull 4
aload 0
getfield org.graalvm.compiler.hotspot.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.CompileTheWorld.threadPool:Ljava/util/concurrent/ThreadPoolExecutor;
new org.graalvm.compiler.hotspot.CompileTheWorld$2
dup
aload 0
aload 1
invokespecial org.graalvm.compiler.hotspot.CompileTheWorld$2.<init>:(Lorg/graalvm/compiler/hotspot/CompileTheWorld;Ljdk/vm/ci/hotspot/HotSpotResolvedJavaMethod;)V
invokevirtual java.util.concurrent.ThreadPoolExecutor.submit:(Ljava/lang/Runnable;)Ljava/util/concurrent/Future;
astore 2
start local 2 5: aload 0
getfield org.graalvm.compiler.hotspot.CompileTheWorld.threadPool:Ljava/util/concurrent/ThreadPoolExecutor;
invokevirtual java.util.concurrent.ThreadPoolExecutor.getCorePoolSize:()I
iconst_1
if_icmpne 7
6: aload 2
invokeinterface java.util.concurrent.Future.get:()Ljava/lang/Object;
pop
7: StackMap locals: java.util.concurrent.Future
StackMap stack:
return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 this Lorg/graalvm/compiler/hotspot/CompileTheWorld;
0 8 1 method Ljdk/vm/ci/hotspot/HotSpotResolvedJavaMethod;
5 8 2 task Ljava/util/concurrent/Future<*>;
Exceptions:
throws java.lang.InterruptedException, java.util.concurrent.ExecutionException
MethodParameters:
Name Flags
method
private void compileMethod(jdk.vm.ci.hotspot.HotSpotResolvedJavaMethod, int);
descriptor: (Ljdk/vm/ci/hotspot/HotSpotResolvedJavaMethod;I)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=7, locals=13, args_size=3
start local 0 start local 1 start local 2 0: invokestatic java.lang.System.currentTimeMillis:()J
lstore 3
start local 3 1: invokestatic org.graalvm.compiler.debug.internal.MemUseTrackerImpl.getCurrentThreadAllocatedBytes:()J
lstore 5
start local 5 2: iconst_m1
istore 7
start local 7 3: new jdk.vm.ci.hotspot.HotSpotCompilationRequest
dup
aload 1
iload 7
lconst_0
invokespecial jdk.vm.ci.hotspot.HotSpotCompilationRequest.<init>:(Ljdk/vm/ci/hotspot/HotSpotResolvedJavaMethod;IJ)V
astore 8
start local 8 4: iconst_0
istore 9
start local 9 5: iconst_0
istore 10
start local 10 6: new org.graalvm.compiler.hotspot.CompilationTask
dup
aload 0
getfield org.graalvm.compiler.hotspot.CompileTheWorld.jvmciRuntime:Ljdk/vm/ci/hotspot/HotSpotJVMCIRuntimeProvider;
aload 0
getfield org.graalvm.compiler.hotspot.CompileTheWorld.compiler:Lorg/graalvm/compiler/hotspot/HotSpotGraalCompiler;
aload 8
iload 9
iload 10
invokespecial org.graalvm.compiler.hotspot.CompilationTask.<init>:(Ljdk/vm/ci/hotspot/HotSpotJVMCIRuntimeProvider;Lorg/graalvm/compiler/hotspot/HotSpotGraalCompiler;Ljdk/vm/ci/hotspot/HotSpotCompilationRequest;ZZ)V
astore 11
start local 11 7: aload 11
invokevirtual org.graalvm.compiler.hotspot.CompilationTask.runCompilation:()Ljdk/vm/ci/hotspot/HotSpotCompilationRequestResult;
pop
8: aload 11
invokevirtual org.graalvm.compiler.hotspot.CompilationTask.getInstalledCode:()Ljdk/vm/ci/hotspot/HotSpotInstalledCode;
astore 12
start local 12 9: aload 12
ifnull 11
10: aload 12
invokevirtual jdk.vm.ci.hotspot.HotSpotInstalledCode.invalidate:()V
11: StackMap locals: org.graalvm.compiler.hotspot.CompileTheWorld jdk.vm.ci.hotspot.HotSpotResolvedJavaMethod int long long int jdk.vm.ci.hotspot.HotSpotCompilationRequest int int org.graalvm.compiler.hotspot.CompilationTask jdk.vm.ci.hotspot.HotSpotInstalledCode
StackMap stack:
aload 0
getfield org.graalvm.compiler.hotspot.CompileTheWorld.memoryUsed:Ljava/util/concurrent/atomic/AtomicLong;
invokestatic org.graalvm.compiler.debug.internal.MemUseTrackerImpl.getCurrentThreadAllocatedBytes:()J
lload 5
lsub
invokevirtual java.util.concurrent.atomic.AtomicLong.getAndAdd:(J)J
pop2
12: aload 0
getfield org.graalvm.compiler.hotspot.CompileTheWorld.compileTime:Ljava/util/concurrent/atomic/AtomicLong;
invokestatic java.lang.System.currentTimeMillis:()J
lload 3
lsub
invokevirtual java.util.concurrent.atomic.AtomicLong.getAndAdd:(J)J
pop2
13: aload 0
getfield org.graalvm.compiler.hotspot.CompileTheWorld.compiledMethodsCounter:Ljava/util/concurrent/atomic/AtomicLong;
invokevirtual java.util.concurrent.atomic.AtomicLong.incrementAndGet:()J
pop2
end local 12 end local 11 end local 10 end local 9 end local 8 end local 7 end local 5 end local 3 14: goto 18
StackMap locals: org.graalvm.compiler.hotspot.CompileTheWorld jdk.vm.ci.hotspot.HotSpotResolvedJavaMethod int
StackMap stack: java.lang.Throwable
15: astore 3
start local 3 16: 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.CompileTheWorld.println:(Ljava/lang/String;[Ljava/lang/Object;)V
17: aload 0
aload 3
invokevirtual org.graalvm.compiler.hotspot.CompileTheWorld.printStackTrace:(Ljava/lang/Throwable;)V
end local 3 18: StackMap locals:
StackMap stack:
return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 19 0 this Lorg/graalvm/compiler/hotspot/CompileTheWorld;
0 19 1 method Ljdk/vm/ci/hotspot/HotSpotResolvedJavaMethod;
0 19 2 counter I
1 14 3 start J
2 14 5 allocatedAtStart J
3 14 7 entryBCI I
4 14 8 request Ljdk/vm/ci/hotspot/HotSpotCompilationRequest;
5 14 9 useProfilingInfo Z
6 14 10 installAsDefault Z
7 14 11 task Lorg/graalvm/compiler/hotspot/CompilationTask;
9 14 12 installedCode Ljdk/vm/ci/hotspot/HotSpotInstalledCode;
16 18 3 t Ljava/lang/Throwable;
Exception table:
from to target type
0 14 15 Class java.lang.Throwable
MethodParameters:
Name Flags
method
counter
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.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.CompileTheWorld.verbose:Z
ifne 5
aload 0
getfield org.graalvm.compiler.hotspot.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.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.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.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/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 void main(java.lang.String[]);
descriptor: ([Ljava/lang/String;)V
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=1, locals=2, args_size=1
start local 0 0: invokestatic jdk.vm.ci.hotspot.HotSpotJVMCIRuntime.runtime:()Ljdk/vm/ci/hotspot/HotSpotJVMCIRuntime;
invokevirtual jdk.vm.ci.hotspot.HotSpotJVMCIRuntime.getCompiler:()Ljdk/vm/ci/runtime/JVMCICompiler;
checkcast org.graalvm.compiler.hotspot.HotSpotGraalCompiler
astore 1
start local 1 1: aload 1
invokevirtual org.graalvm.compiler.hotspot.HotSpotGraalCompiler.compileTheWorld:()V
2: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 args [Ljava/lang/String;
1 3 1 compiler Lorg/graalvm/compiler/hotspot/HotSpotGraalCompiler;
Exceptions:
throws java.lang.Throwable
MethodParameters:
Name Flags
args
}
SourceFile: "CompileTheWorld.java"
NestMembers:
org.graalvm.compiler.hotspot.CompileTheWorld$1 org.graalvm.compiler.hotspot.CompileTheWorld$2 org.graalvm.compiler.hotspot.CompileTheWorld$ClassPathEntry org.graalvm.compiler.hotspot.CompileTheWorld$Config org.graalvm.compiler.hotspot.CompileTheWorld$DirClassPathEntry org.graalvm.compiler.hotspot.CompileTheWorld$DirClassPathEntry$1 org.graalvm.compiler.hotspot.CompileTheWorld$ImageClassPathEntry org.graalvm.compiler.hotspot.CompileTheWorld$JarClassPathEntry
InnerClasses:
public final Lookup = java.lang.invoke.MethodHandles$Lookup of java.lang.invoke.MethodHandles
public MapMode = java.nio.channels.FileChannel$MapMode of java.nio.channels.FileChannel
public abstract DebugConfigAccess = org.graalvm.compiler.core.CompilerThreadFactory$DebugConfigAccess of org.graalvm.compiler.core.CompilerThreadFactory
public Options = org.graalvm.compiler.debug.GraalDebugConfig$Options of org.graalvm.compiler.debug.GraalDebugConfig
org.graalvm.compiler.hotspot.CompileTheWorld$1
org.graalvm.compiler.hotspot.CompileTheWorld$2
abstract ClassPathEntry = org.graalvm.compiler.hotspot.CompileTheWorld$ClassPathEntry of org.graalvm.compiler.hotspot.CompileTheWorld
public Config = org.graalvm.compiler.hotspot.CompileTheWorld$Config of org.graalvm.compiler.hotspot.CompileTheWorld
DirClassPathEntry = org.graalvm.compiler.hotspot.CompileTheWorld$DirClassPathEntry of org.graalvm.compiler.hotspot.CompileTheWorld
ImageClassPathEntry = org.graalvm.compiler.hotspot.CompileTheWorld$ImageClassPathEntry of org.graalvm.compiler.hotspot.CompileTheWorld
JarClassPathEntry = org.graalvm.compiler.hotspot.CompileTheWorld$JarClassPathEntry of org.graalvm.compiler.hotspot.CompileTheWorld
public abstract OverrideScope = org.graalvm.compiler.options.OptionValue$OverrideScope of org.graalvm.compiler.options.OptionValue