public final class org.graalvm.compiler.serviceprovider.GraalServices
minor version: 0
major version: 59
flags: flags: (0x0031) ACC_PUBLIC, ACC_FINAL, ACC_SUPER
this_class: org.graalvm.compiler.serviceprovider.GraalServices
super_class: java.lang.Object
{
private static final java.util.Map<java.lang.Class<?>, java.util.List<?>> servicesCache;
descriptor: Ljava/util/Map;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
Signature: Ljava/util/Map<Ljava/lang/Class<*>;Ljava/util/List<*>;>;
private static final java.lang.Module JVMCI_MODULE;
descriptor: Ljava/lang/Module;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
private static final java.lang.String JVMCI_RUNTIME_PACKAGE;
descriptor: Ljava/lang/String;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: "jdk.vm.ci.runtime"
private static final java.util.concurrent.atomic.AtomicLong globalTimeStamp;
descriptor: Ljava/util/concurrent/atomic/AtomicLong;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
private static final java.lang.reflect.Method constantPoolLookupReferencedType;
descriptor: Ljava/lang/reflect/Method;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
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=6, locals=2, args_size=0
0: ldc Lorg/graalvm/compiler/serviceprovider/GraalServices;
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.serviceprovider.GraalServices.$assertionsDisabled:Z
3: getstatic jdk.vm.ci.services.Services.IS_BUILDING_NATIVE_IMAGE:Z
ifeq 4
new java.util.HashMap
dup
invokespecial java.util.HashMap.<init>:()V
goto 5
StackMap locals:
StackMap stack:
4: aconst_null
StackMap locals:
StackMap stack: java.util.HashMap
5: putstatic org.graalvm.compiler.serviceprovider.GraalServices.servicesCache:Ljava/util/Map;
6: ldc Ljdk/vm/ci/services/Services;
invokevirtual java.lang.Class.getModule:()Ljava/lang/Module;
putstatic org.graalvm.compiler.serviceprovider.GraalServices.JVMCI_MODULE:Ljava/lang/Module;
7: getstatic org.graalvm.compiler.serviceprovider.GraalServices.$assertionsDisabled:Z
ifne 8
getstatic org.graalvm.compiler.serviceprovider.GraalServices.JVMCI_MODULE:Ljava/lang/Module;
invokevirtual java.lang.Module.getPackages:()Ljava/util/Set;
ldc "jdk.vm.ci.runtime"
invokeinterface java.util.Set.contains:(Ljava/lang/Object;)Z
ifne 8
new java.lang.AssertionError
dup
invokespecial java.lang.AssertionError.<init>:()V
athrow
8: StackMap locals:
StackMap stack:
new java.util.concurrent.atomic.AtomicLong
dup
invokespecial java.util.concurrent.atomic.AtomicLong.<init>:()V
putstatic org.graalvm.compiler.serviceprovider.GraalServices.globalTimeStamp:Ljava/util/concurrent/atomic/AtomicLong;
9: aconst_null
astore 0
start local 0 10: ldc Ljdk/vm/ci/meta/ConstantPool;
astore 1
start local 1 11: aload 1
ldc "lookupReferencedType"
iconst_2
anewarray java.lang.Class
dup
iconst_0
getstatic java.lang.Integer.TYPE:Ljava/lang/Class;
aastore
dup
iconst_1
getstatic java.lang.Integer.TYPE:Ljava/lang/Class;
aastore
invokevirtual java.lang.Class.getDeclaredMethod:(Ljava/lang/String;[Ljava/lang/Class;)Ljava/lang/reflect/Method;
astore 0
12: goto 14
StackMap locals: java.lang.reflect.Method java.lang.Class
StackMap stack: java.lang.NoSuchMethodException
13: pop
14: StackMap locals:
StackMap stack:
aload 0
putstatic org.graalvm.compiler.serviceprovider.GraalServices.constantPoolLookupReferencedType:Ljava/lang/reflect/Method;
end local 1 end local 0 15: return
LocalVariableTable:
Start End Slot Name Signature
10 15 0 lookupReferencedType Ljava/lang/reflect/Method;
11 15 1 constantPool Ljava/lang/Class<*>;
Exception table:
from to target type
11 12 13 Class java.lang.NoSuchMethodException
private void <init>();
descriptor: ()V
flags: (0x0002) ACC_PRIVATE
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/graalvm/compiler/serviceprovider/GraalServices;
public static <S> java.lang.Iterable<S> load(java.lang.Class<S>);
descriptor: (Ljava/lang/Class;)Ljava/lang/Iterable;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=7, locals=7, args_size=1
start local 0 0: getstatic jdk.vm.ci.services.Services.IS_IN_NATIVE_IMAGE:Z
ifne 1
getstatic jdk.vm.ci.services.Services.IS_BUILDING_NATIVE_IMAGE:Z
ifeq 6
1: StackMap locals:
StackMap stack:
getstatic org.graalvm.compiler.serviceprovider.GraalServices.servicesCache:Ljava/util/Map;
aload 0
invokeinterface java.util.Map.get:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast java.util.List
astore 1
start local 1 2: aload 1
ifnull 4
3: aload 1
areturn
4: StackMap locals: java.util.List
StackMap stack:
getstatic jdk.vm.ci.services.Services.IS_IN_NATIVE_IMAGE:Z
ifeq 6
5: new java.lang.InternalError
dup
ldc "No %s providers found when building native image"
iconst_1
anewarray java.lang.Object
dup
iconst_0
aload 0
invokevirtual java.lang.Class.getName:()Ljava/lang/String;
aastore
invokestatic java.lang.String.format:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
invokespecial java.lang.InternalError.<init>:(Ljava/lang/String;)V
athrow
end local 1 6: StackMap locals:
StackMap stack:
aload 0
invokestatic org.graalvm.compiler.serviceprovider.GraalServices.load0:(Ljava/lang/Class;)Ljava/lang/Iterable;
astore 1
start local 1 7: getstatic jdk.vm.ci.services.Services.IS_BUILDING_NATIVE_IMAGE:Z
ifeq 22
8: getstatic org.graalvm.compiler.serviceprovider.GraalServices.servicesCache:Ljava/util/Map;
dup
astore 2
monitorenter
9: new java.util.ArrayList
dup
invokespecial java.util.ArrayList.<init>:()V
astore 3
start local 3 10: aload 1
invokeinterface java.lang.Iterable.iterator:()Ljava/util/Iterator;
astore 5
goto 15
StackMap locals: java.lang.Class java.lang.Iterable java.util.Map java.util.ArrayList top java.util.Iterator
StackMap stack:
11: aload 5
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast java.lang.Object
astore 4
start local 4 12: aload 4
invokevirtual java.lang.Object.getClass:()Ljava/lang/Class;
invokevirtual java.lang.Class.getModule:()Ljava/lang/Module;
astore 6
start local 6 13: aload 6
invokevirtual java.lang.Module.getName:()Ljava/lang/String;
invokestatic org.graalvm.compiler.serviceprovider.GraalServices.isHotSpotGraalModule:(Ljava/lang/String;)Z
ifeq 15
14: aload 3
aload 4
invokevirtual java.util.ArrayList.add:(Ljava/lang/Object;)Z
pop
end local 6 end local 4 15: StackMap locals:
StackMap stack:
aload 5
invokeinterface java.util.Iterator.hasNext:()Z
ifne 11
16: aload 3
astore 1
17: getstatic org.graalvm.compiler.serviceprovider.GraalServices.servicesCache:Ljava/util/Map;
aload 0
aload 3
invokeinterface java.util.Map.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
18: aload 1
aload 2
monitorexit
19: areturn
end local 3 20: StackMap locals: java.lang.Class java.lang.Iterable java.util.Map
StackMap stack: java.lang.Throwable
aload 2
monitorexit
21: athrow
22: StackMap locals:
StackMap stack:
aload 1
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 23 0 service Ljava/lang/Class<TS;>;
2 6 1 list Ljava/util/List<*>;
7 23 1 providers Ljava/lang/Iterable<TS;>;
10 20 3 providersList Ljava/util/ArrayList<TS;>;
12 15 4 provider TS;
13 15 6 module Ljava/lang/Module;
Exception table:
from to target type
9 19 20 any
20 21 20 any
Signature: <S:Ljava/lang/Object;>(Ljava/lang/Class<TS;>;)Ljava/lang/Iterable<TS;>;
MethodParameters:
Name Flags
service
private static boolean isHotSpotGraalModule(java.lang.String);
descriptor: (Ljava/lang/String;)Z
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
ifnull 6
1: aload 0
ldc "jdk.internal.vm.compiler"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifne 5
2: aload 0
ldc "jdk.internal.vm.compiler.management"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifne 5
3: aload 0
ldc "com.oracle.graal.graal_enterprise"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifne 5
4: iconst_0
ireturn
StackMap locals:
StackMap stack:
5: iconst_1
ireturn
6: StackMap locals:
StackMap stack:
iconst_0
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 name Ljava/lang/String;
MethodParameters:
Name Flags
name
protected static <S> java.lang.Iterable<S> load0(java.lang.Class<S>);
descriptor: (Ljava/lang/Class;)Ljava/lang/Iterable;
flags: (0x000c) ACC_PROTECTED, ACC_STATIC
Code:
stack=3, locals=4, args_size=1
start local 0 0: ldc Lorg/graalvm/compiler/serviceprovider/GraalServices;
invokevirtual java.lang.Class.getModule:()Ljava/lang/Module;
astore 1
start local 1 1: aload 1
aload 0
invokevirtual java.lang.Module.canUse:(Ljava/lang/Class;)Z
ifne 3
2: aload 1
aload 0
invokevirtual java.lang.Module.addUses:(Ljava/lang/Class;)Ljava/lang/Module;
pop
3: StackMap locals: java.lang.Module
StackMap stack:
aload 1
invokevirtual java.lang.Module.getLayer:()Ljava/lang/ModuleLayer;
astore 2
start local 2 4: aload 2
aload 0
invokestatic java.util.ServiceLoader.load:(Ljava/lang/ModuleLayer;Ljava/lang/Class;)Ljava/util/ServiceLoader;
astore 3
start local 3 5: new org.graalvm.compiler.serviceprovider.GraalServices$1
dup
aload 3
invokespecial org.graalvm.compiler.serviceprovider.GraalServices$1.<init>:(Ljava/lang/Iterable;)V
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 service Ljava/lang/Class<TS;>;
1 6 1 module Ljava/lang/Module;
4 6 2 layer Ljava/lang/ModuleLayer;
5 6 3 iterable Ljava/lang/Iterable<TS;>;
Signature: <S:Ljava/lang/Object;>(Ljava/lang/Class<TS;>;)Ljava/lang/Iterable<TS;>;
MethodParameters:
Name Flags
service
static void openJVMCITo(java.lang.Class<?>);
descriptor: (Ljava/lang/Class;)V
flags: (0x0008) ACC_STATIC
Code:
stack=3, locals=5, args_size=1
start local 0 0: getstatic jdk.vm.ci.services.Services.IS_IN_NATIVE_IMAGE:Z
ifeq 2
1: return
2: StackMap locals:
StackMap stack:
getstatic org.graalvm.compiler.serviceprovider.GraalServices.JVMCI_MODULE:Ljava/lang/Module;
astore 1
start local 1 3: aload 0
invokevirtual java.lang.Class.getModule:()Ljava/lang/Module;
astore 2
start local 2 4: aload 1
aload 2
if_acmpeq 11
5: aload 1
invokevirtual java.lang.Module.getPackages:()Ljava/util/Set;
invokeinterface java.util.Set.iterator:()Ljava/util/Iterator;
astore 4
goto 10
StackMap locals: java.lang.Class java.lang.Module java.lang.Module top java.util.Iterator
StackMap stack:
6: aload 4
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast java.lang.String
astore 3
start local 3 7: aload 1
aload 3
aload 2
invokevirtual java.lang.Module.isOpen:(Ljava/lang/String;Ljava/lang/Module;)Z
ifne 10
8: invokestatic jdk.vm.ci.runtime.JVMCI.getRuntime:()Ljdk/vm/ci/runtime/JVMCIRuntime;
pop
9: aload 1
aload 3
aload 2
invokevirtual java.lang.Module.addOpens:(Ljava/lang/String;Ljava/lang/Module;)Ljava/lang/Module;
pop
end local 3 10: StackMap locals:
StackMap stack:
aload 4
invokeinterface java.util.Iterator.hasNext:()Z
ifne 6
11: StackMap locals: java.lang.Class java.lang.Module java.lang.Module
StackMap stack:
return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 12 0 other Ljava/lang/Class<*>;
3 12 1 jvmciModule Ljava/lang/Module;
4 12 2 otherModule Ljava/lang/Module;
7 10 3 pkg Ljava/lang/String;
Signature: (Ljava/lang/Class<*>;)V
MethodParameters:
Name Flags
other
public static <S> S loadSingle(java.lang.Class<S>, );
descriptor: (Ljava/lang/Class;Z)Ljava/lang/Object;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=7, locals=6, args_size=2
start local 0 start local 1 0: getstatic org.graalvm.compiler.serviceprovider.GraalServices.$assertionsDisabled:Z
ifne 1
aload 0
invokevirtual java.lang.Class.getName:()Ljava/lang/String;
ldc "jdk.vm.ci"
invokevirtual java.lang.String.startsWith:(Ljava/lang/String;)Z
ifeq 1
new java.lang.AssertionError
dup
new java.lang.StringBuilder
dup
ldc "JVMCI services must be loaded via "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
ldc Ljdk/vm/ci/services/Services;
invokevirtual java.lang.Class.getName:()Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokespecial java.lang.AssertionError.<init>:(Ljava/lang/Object;)V
athrow
1: StackMap locals:
StackMap stack:
aload 0
invokestatic org.graalvm.compiler.serviceprovider.GraalServices.load:(Ljava/lang/Class;)Ljava/lang/Iterable;
astore 2
start local 2 2: aconst_null
astore 3
start local 3 3: aload 2
invokeinterface java.lang.Iterable.iterator:()Ljava/util/Iterator;
astore 4
start local 4 4: goto 9
5: StackMap locals: java.lang.Iterable java.lang.Object java.util.Iterator
StackMap stack:
aload 4
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
astore 3
6: aload 4
invokeinterface java.util.Iterator.hasNext:()Z
ifeq 9
7: aload 4
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
astore 5
start local 5 8: new java.lang.InternalError
dup
ldc "Multiple %s providers found: %s, %s"
iconst_3
anewarray java.lang.Object
dup
iconst_0
aload 0
invokevirtual java.lang.Class.getName:()Ljava/lang/String;
aastore
dup
iconst_1
aload 3
invokevirtual java.lang.Object.getClass:()Ljava/lang/Class;
invokevirtual java.lang.Class.getName:()Ljava/lang/String;
aastore
dup
iconst_2
aload 5
invokevirtual java.lang.Object.getClass:()Ljava/lang/Class;
invokevirtual java.lang.Class.getName:()Ljava/lang/String;
aastore
invokestatic java.lang.String.format:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
invokespecial java.lang.InternalError.<init>:(Ljava/lang/String;)V
athrow
end local 5 9: StackMap locals:
StackMap stack:
aload 4
invokeinterface java.util.Iterator.hasNext:()Z
ifne 5
end local 4 10: goto 12
StackMap locals: java.lang.Class int java.lang.Iterable java.lang.Object
StackMap stack: java.util.ServiceConfigurationError
11: pop
12: StackMap locals:
StackMap stack:
aload 3
ifnonnull 15
13: iload 1
ifeq 15
14: new java.lang.InternalError
dup
ldc "No provider for %s found"
iconst_1
anewarray java.lang.Object
dup
iconst_0
aload 0
invokevirtual java.lang.Class.getName:()Ljava/lang/String;
aastore
invokestatic java.lang.String.format:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
invokespecial java.lang.InternalError.<init>:(Ljava/lang/String;)V
athrow
15: StackMap locals:
StackMap stack:
aload 3
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 16 0 service Ljava/lang/Class<TS;>;
0 16 1 required Z
2 16 2 providers Ljava/lang/Iterable<TS;>;
3 16 3 singleProvider TS;
4 10 4 it Ljava/util/Iterator<TS;>;
8 9 5 other TS;
Exception table:
from to target type
3 10 11 Class java.util.ServiceConfigurationError
Signature: <S:Ljava/lang/Object;>(Ljava/lang/Class<TS;>;Z)TS;
MethodParameters:
Name Flags
service
required
public static java.io.InputStream getClassfileAsStream(java.lang.Class<?>);
descriptor: (Ljava/lang/Class;)Ljava/io/InputStream;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=5, locals=2, args_size=1
start local 0 0: new java.lang.StringBuilder
dup
aload 0
invokevirtual java.lang.Class.getName:()Ljava/lang/String;
bipush 46
bipush 47
invokevirtual java.lang.String.replace:(CC)Ljava/lang/String;
invokestatic java.lang.String.valueOf:(Ljava/lang/Object;)Ljava/lang/String;
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
ldc ".class"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
astore 1
start local 1 1: aload 0
invokevirtual java.lang.Class.getModule:()Ljava/lang/Module;
aload 1
invokevirtual java.lang.Module.getResourceAsStream:(Ljava/lang/String;)Ljava/io/InputStream;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 c Ljava/lang/Class<*>;
1 2 1 classfilePath Ljava/lang/String;
Exceptions:
throws java.io.IOException
Signature: (Ljava/lang/Class<*>;)Ljava/io/InputStream;
MethodParameters:
Name Flags
c
public static boolean isToStringTrusted(java.lang.Class<?>);
descriptor: (Ljava/lang/Class;)Z
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=3, locals=3, args_size=1
start local 0 0: getstatic jdk.vm.ci.services.Services.IS_IN_NATIVE_IMAGE:Z
ifeq 2
1: iconst_1
ireturn
2: StackMap locals:
StackMap stack:
aload 0
invokevirtual java.lang.Class.getModule:()Ljava/lang/Module;
astore 1
start local 1 3: getstatic org.graalvm.compiler.serviceprovider.GraalServices.JVMCI_MODULE:Ljava/lang/Module;
astore 2
start local 2 4: getstatic org.graalvm.compiler.serviceprovider.GraalServices.$assertionsDisabled:Z
ifne 5
aload 2
invokevirtual java.lang.Module.getPackages:()Ljava/util/Set;
ldc "jdk.vm.ci.runtime"
invokeinterface java.util.Set.contains:(Ljava/lang/Object;)Z
ifne 5
new java.lang.AssertionError
dup
invokespecial java.lang.AssertionError.<init>:()V
athrow
5: StackMap locals: java.lang.Module java.lang.Module
StackMap stack:
aload 1
aload 2
if_acmpeq 6
aload 2
ldc "jdk.vm.ci.runtime"
aload 1
invokevirtual java.lang.Module.isOpen:(Ljava/lang/String;Ljava/lang/Module;)Z
ifeq 7
6: StackMap locals:
StackMap stack:
iconst_1
ireturn
7: StackMap locals:
StackMap stack:
iconst_0
ireturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 c Ljava/lang/Class<*>;
3 8 1 module Ljava/lang/Module;
4 8 2 jvmciModule Ljava/lang/Module;
Signature: (Ljava/lang/Class<*>;)Z
MethodParameters:
Name Flags
c
static jdk.vm.ci.meta.SpeculationLog$SpeculationReason createSpeculationReason(int, java.lang.String, java.lang.Object[]);
descriptor: (ILjava/lang/String;[Ljava/lang/Object;)Ljdk/vm/ci/meta/SpeculationLog$SpeculationReason;
flags: (0x0088) ACC_STATIC, ACC_VARARGS
Code:
stack=5, locals=3, args_size=3
start local 0 start local 1 start local 2 0: new org.graalvm.compiler.serviceprovider.GraalServices$DirectSpeculationReason
dup
iload 0
aload 1
aload 2
invokespecial org.graalvm.compiler.serviceprovider.GraalServices$DirectSpeculationReason.<init>:(ILjava/lang/String;[Ljava/lang/Object;)V
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 groupId I
0 1 1 groupName Ljava/lang/String;
0 1 2 context [Ljava/lang/Object;
MethodParameters:
Name Flags
groupId
groupName
context
public static java.lang.String getExecutionID();
descriptor: ()Ljava/lang/String;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=0, args_size=0
0: invokestatic java.lang.ProcessHandle.current:()Ljava/lang/ProcessHandle;
invokeinterface java.lang.ProcessHandle.pid:()J
invokestatic java.lang.Long.toString:(J)Ljava/lang/String;
areturn
LocalVariableTable:
Start End Slot Name Signature
public static long getGlobalTimeStamp();
descriptor: ()J
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=5, locals=0, args_size=0
0: getstatic org.graalvm.compiler.serviceprovider.GraalServices.globalTimeStamp:Ljava/util/concurrent/atomic/AtomicLong;
invokevirtual java.util.concurrent.atomic.AtomicLong.get:()J
lconst_0
lcmp
ifne 2
1: getstatic org.graalvm.compiler.serviceprovider.GraalServices.globalTimeStamp:Ljava/util/concurrent/atomic/AtomicLong;
lconst_0
invokestatic java.lang.System.currentTimeMillis:()J
invokevirtual java.util.concurrent.atomic.AtomicLong.compareAndSet:(JJ)Z
pop
2: StackMap locals:
StackMap stack:
getstatic org.graalvm.compiler.serviceprovider.GraalServices.globalTimeStamp:Ljava/util/concurrent/atomic/AtomicLong;
invokevirtual java.util.concurrent.atomic.AtomicLong.get:()J
lreturn
LocalVariableTable:
Start End Slot Name Signature
public static long getThreadAllocatedBytes(long);
descriptor: (J)J
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=3, locals=3, args_size=1
start local 0 0: getstatic org.graalvm.compiler.serviceprovider.JMXService.instance:Lorg/graalvm/compiler/serviceprovider/JMXService;
astore 2
start local 2 1: aload 2
ifnonnull 3
2: new java.lang.UnsupportedOperationException
dup
invokespecial java.lang.UnsupportedOperationException.<init>:()V
athrow
3: StackMap locals: org.graalvm.compiler.serviceprovider.JMXService
StackMap stack:
aload 2
lload 0
invokevirtual org.graalvm.compiler.serviceprovider.JMXService.getThreadAllocatedBytes:(J)J
lreturn
end local 2 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 id J
1 4 2 jmx Lorg/graalvm/compiler/serviceprovider/JMXService;
MethodParameters:
Name Flags
id
public static long getCurrentThreadAllocatedBytes();
descriptor: ()J
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=0, args_size=0
0: invokestatic java.lang.Thread.currentThread:()Ljava/lang/Thread;
invokevirtual java.lang.Thread.getId:()J
invokestatic org.graalvm.compiler.serviceprovider.GraalServices.getThreadAllocatedBytes:(J)J
lreturn
LocalVariableTable:
Start End Slot Name Signature
public static long getCurrentThreadCpuTime();
descriptor: ()J
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=1, args_size=0
0: getstatic org.graalvm.compiler.serviceprovider.JMXService.instance:Lorg/graalvm/compiler/serviceprovider/JMXService;
astore 0
start local 0 1: aload 0
ifnonnull 3
2: new java.lang.UnsupportedOperationException
dup
invokespecial java.lang.UnsupportedOperationException.<init>:()V
athrow
3: StackMap locals: org.graalvm.compiler.serviceprovider.JMXService
StackMap stack:
aload 0
invokevirtual org.graalvm.compiler.serviceprovider.JMXService.getCurrentThreadCpuTime:()J
lreturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
1 4 0 jmx Lorg/graalvm/compiler/serviceprovider/JMXService;
public static boolean isThreadAllocatedMemorySupported();
descriptor: ()Z
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=1, locals=1, args_size=0
0: getstatic org.graalvm.compiler.serviceprovider.JMXService.instance:Lorg/graalvm/compiler/serviceprovider/JMXService;
astore 0
start local 0 1: aload 0
ifnonnull 3
2: iconst_0
ireturn
3: StackMap locals: org.graalvm.compiler.serviceprovider.JMXService
StackMap stack:
aload 0
invokevirtual org.graalvm.compiler.serviceprovider.JMXService.isThreadAllocatedMemorySupported:()Z
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
1 4 0 jmx Lorg/graalvm/compiler/serviceprovider/JMXService;
public static boolean isCurrentThreadCpuTimeSupported();
descriptor: ()Z
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=1, locals=1, args_size=0
0: getstatic org.graalvm.compiler.serviceprovider.JMXService.instance:Lorg/graalvm/compiler/serviceprovider/JMXService;
astore 0
start local 0 1: aload 0
ifnonnull 3
2: iconst_0
ireturn
3: StackMap locals: org.graalvm.compiler.serviceprovider.JMXService
StackMap stack:
aload 0
invokevirtual org.graalvm.compiler.serviceprovider.JMXService.isCurrentThreadCpuTimeSupported:()Z
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
1 4 0 jmx Lorg/graalvm/compiler/serviceprovider/JMXService;
public static java.util.List<java.lang.String> getInputArguments();
descriptor: ()Ljava/util/List;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=1, locals=1, args_size=0
0: getstatic org.graalvm.compiler.serviceprovider.JMXService.instance:Lorg/graalvm/compiler/serviceprovider/JMXService;
astore 0
start local 0 1: aload 0
ifnonnull 3
2: aconst_null
areturn
3: StackMap locals: org.graalvm.compiler.serviceprovider.JMXService
StackMap stack:
aload 0
invokevirtual org.graalvm.compiler.serviceprovider.JMXService.getInputArguments:()Ljava/util/List;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
1 4 0 jmx Lorg/graalvm/compiler/serviceprovider/JMXService;
Signature: ()Ljava/util/List<Ljava/lang/String;>;
public static float fma(float, float, float);
descriptor: (FFF)F
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=3, locals=3, args_size=3
start local 0 start local 1 start local 2 0: fload 0
fload 1
fload 2
invokestatic java.lang.Math.fma:(FFF)F
freturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 a F
0 1 1 b F
0 1 2 c F
MethodParameters:
Name Flags
a
b
c
public static double fma(double, double, double);
descriptor: (DDD)D
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=6, locals=6, args_size=3
start local 0 start local 2 start local 4 0: dload 0
dload 2
dload 4
invokestatic java.lang.Math.fma:(DDD)D
dreturn
end local 4 end local 2 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 a D
0 1 2 b D
0 1 4 c D
MethodParameters:
Name Flags
a
b
c
public static jdk.vm.ci.code.VirtualObject createVirtualObject(jdk.vm.ci.meta.ResolvedJavaType, int, boolean);
descriptor: (Ljdk/vm/ci/meta/ResolvedJavaType;IZ)Ljdk/vm/ci/code/VirtualObject;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=3, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
iload 1
iload 2
invokestatic jdk.vm.ci.code.VirtualObject.get:(Ljdk/vm/ci/meta/ResolvedJavaType;IZ)Ljdk/vm/ci/code/VirtualObject;
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 type Ljdk/vm/ci/meta/ResolvedJavaType;
0 1 1 id I
0 1 2 isAutoBox Z
MethodParameters:
Name Flags
type
id
isAutoBox
public static int getJavaUpdateVersion();
descriptor: ()I
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=1, locals=0, args_size=0
0: invokestatic java.lang.Runtime.version:()Ljava/lang/Runtime$Version;
invokevirtual java.lang.Runtime$Version.update:()I
ireturn
LocalVariableTable:
Start End Slot Name Signature
public static jdk.vm.ci.meta.JavaType lookupReferencedType(jdk.vm.ci.meta.ConstantPool, int, int);
descriptor: (Ljdk/vm/ci/meta/ConstantPool;II)Ljdk/vm/ci/meta/JavaType;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=6, locals=4, args_size=3
start local 0 start local 1 start local 2 0: getstatic org.graalvm.compiler.serviceprovider.GraalServices.constantPoolLookupReferencedType:Ljava/lang/reflect/Method;
ifnull 7
1: getstatic org.graalvm.compiler.serviceprovider.GraalServices.constantPoolLookupReferencedType:Ljava/lang/reflect/Method;
aload 0
iconst_2
anewarray java.lang.Object
dup
iconst_0
iload 1
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
aastore
dup
iconst_1
iload 2
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
aastore
invokevirtual java.lang.reflect.Method.invoke:(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object;
checkcast jdk.vm.ci.meta.JavaType
2: areturn
3: StackMap locals:
StackMap stack: java.lang.Error
astore 3
start local 3 4: aload 3
athrow
end local 3 5: StackMap locals:
StackMap stack: java.lang.Throwable
astore 3
start local 3 6: new java.lang.InternalError
dup
aload 3
invokespecial java.lang.InternalError.<init>:(Ljava/lang/Throwable;)V
athrow
end local 3 7: StackMap locals:
StackMap stack:
new java.lang.InternalError
dup
ldc "This JVMCI version doesn't support ConstantPool.lookupReferencedType()"
invokespecial java.lang.InternalError.<init>:(Ljava/lang/String;)V
athrow
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 constantPool Ljdk/vm/ci/meta/ConstantPool;
0 8 1 cpi I
0 8 2 opcode I
4 5 3 e Ljava/lang/Error;
6 7 3 throwable Ljava/lang/Throwable;
Exception table:
from to target type
1 2 3 Class java.lang.Error
1 2 5 Class java.lang.Throwable
MethodParameters:
Name Flags
constantPool
cpi
opcode
public static boolean hasLookupReferencedType();
descriptor: ()Z
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=1, locals=0, args_size=0
0: getstatic org.graalvm.compiler.serviceprovider.GraalServices.constantPoolLookupReferencedType:Ljava/lang/reflect/Method;
ifnull 1
iconst_1
ireturn
StackMap locals:
StackMap stack:
1: iconst_0
ireturn
LocalVariableTable:
Start End Slot Name Signature
}
SourceFile: "GraalServices.java"
NestMembers:
org.graalvm.compiler.serviceprovider.GraalServices$1 org.graalvm.compiler.serviceprovider.GraalServices$1$1 org.graalvm.compiler.serviceprovider.GraalServices$DirectSpeculationReason org.graalvm.compiler.serviceprovider.GraalServices$EncodingAdapter
InnerClasses:
public final Version = java.lang.Runtime$Version of java.lang.Runtime
public abstract SpeculationReason = jdk.vm.ci.meta.SpeculationLog$SpeculationReason of jdk.vm.ci.meta.SpeculationLog
org.graalvm.compiler.serviceprovider.GraalServices$1
final DirectSpeculationReason = org.graalvm.compiler.serviceprovider.GraalServices$DirectSpeculationReason of org.graalvm.compiler.serviceprovider.GraalServices
EncodingAdapter = org.graalvm.compiler.serviceprovider.GraalServices$EncodingAdapter of org.graalvm.compiler.serviceprovider.GraalServices