public final class jdk.vm.ci.services.Services
minor version: 0
major version: 59
flags: flags: (0x0031) ACC_PUBLIC, ACC_FINAL, ACC_SUPER
this_class: jdk.vm.ci.services.Services
super_class: java.lang.Object
{
public static final boolean IS_BUILDING_NATIVE_IMAGE;
descriptor: Z
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
public static final boolean IS_IN_NATIVE_IMAGE;
descriptor: Z
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
static final java.util.Map<java.lang.String, java.lang.String> SAVED_PROPERTIES;
descriptor: Ljava/util/Map;
flags: (0x0018) ACC_STATIC, ACC_FINAL
Signature: Ljava/util/Map<Ljava/lang/String;Ljava/lang/String;>;
static final boolean JVMCI_ENABLED;
descriptor: Z
flags: (0x0018) ACC_STATIC, ACC_FINAL
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=2, locals=0, args_size=0
0: iconst_0
putstatic jdk.vm.ci.services.Services.IS_IN_NATIVE_IMAGE:Z
1: iconst_0
putstatic jdk.vm.ci.services.Services.IS_BUILDING_NATIVE_IMAGE:Z
2: invokestatic jdk.internal.misc.VM.getSavedProperties:()Ljava/util/Map;
putstatic jdk.vm.ci.services.Services.SAVED_PROPERTIES:Ljava/util/Map;
3: getstatic jdk.vm.ci.services.Services.SAVED_PROPERTIES:Ljava/util/Map;
ldc "jdk.internal.vm.ci.enabled"
invokeinterface java.util.Map.get:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast java.lang.String
invokestatic java.lang.Boolean.parseBoolean:(Ljava/lang/String;)Z
putstatic jdk.vm.ci.services.Services.JVMCI_ENABLED:Z
return
LocalVariableTable:
Start End Slot Name Signature
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 Ljdk/vm/ci/services/Services;
static void checkJVMCIEnabled();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=3, locals=0, args_size=0
0: getstatic jdk.vm.ci.services.Services.JVMCI_ENABLED:Z
ifne 2
1: new java.lang.Error
dup
ldc "The EnableJVMCI VM option must be true (i.e., -XX:+EnableJVMCI) to use JVMCI"
invokespecial java.lang.Error.<init>:(Ljava/lang/String;)V
athrow
2: StackMap locals:
StackMap stack:
return
LocalVariableTable:
Start End Slot Name Signature
public static java.util.Map<java.lang.String, java.lang.String> getSavedProperties();
descriptor: ()Ljava/util/Map;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=3, locals=1, args_size=0
0: invokestatic jdk.vm.ci.services.Services.checkJVMCIEnabled:()V
1: invokestatic java.lang.System.getSecurityManager:()Ljava/lang/SecurityManager;
astore 0
start local 0 2: aload 0
ifnull 4
3: aload 0
new jdk.vm.ci.services.JVMCIPermission
dup
invokespecial jdk.vm.ci.services.JVMCIPermission.<init>:()V
invokevirtual java.lang.SecurityManager.checkPermission:(Ljava/security/Permission;)V
4: StackMap locals: java.lang.SecurityManager
StackMap stack:
getstatic jdk.vm.ci.services.Services.SAVED_PROPERTIES:Ljava/util/Map;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
2 5 0 sm Ljava/lang/SecurityManager;
Signature: ()Ljava/util/Map<Ljava/lang/String;Ljava/lang/String;>;
public static void initializeJVMCI();
descriptor: ()V
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=3, locals=1, args_size=0
0: invokestatic jdk.vm.ci.services.Services.checkJVMCIEnabled:()V
1: ldc "jdk.vm.ci.runtime.JVMCI"
invokestatic java.lang.Class.forName:(Ljava/lang/String;)Ljava/lang/Class;
pop
2: goto 5
StackMap locals:
StackMap stack: java.lang.ClassNotFoundException
3: astore 0
start local 0 4: new java.lang.InternalError
dup
aload 0
invokespecial java.lang.InternalError.<init>:(Ljava/lang/Throwable;)V
athrow
end local 0 5: StackMap locals:
StackMap stack:
return
LocalVariableTable:
Start End Slot Name Signature
4 5 0 e Ljava/lang/ClassNotFoundException;
Exception table:
from to target type
1 2 3 Class java.lang.ClassNotFoundException
static void openJVMCITo(java.lang.Module);
descriptor: (Ljava/lang/Module;)V
flags: (0x0008) ACC_STATIC
Code:
stack=3, locals=6, args_size=1
start local 0 0: ldc Ljdk/vm/ci/services/Services;
invokevirtual java.lang.Class.getModule:()Ljava/lang/Module;
astore 1
start local 1 1: aload 1
aload 0
if_acmpeq 9
2: aload 1
invokevirtual java.lang.Module.getPackages:()Ljava/util/Set;
astore 2
start local 2 3: aload 2
invokeinterface java.util.Set.iterator:()Ljava/util/Iterator;
astore 4
goto 8
StackMap locals: java.lang.Module java.lang.Module java.util.Set top java.util.Iterator
StackMap stack:
4: aload 4
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast java.lang.String
astore 3
start local 3 5: aload 1
aload 3
aload 0
invokevirtual java.lang.Module.isOpen:(Ljava/lang/String;Ljava/lang/Module;)Z
istore 5
start local 5 6: iload 5
ifne 8
7: aload 1
aload 3
aload 0
invokevirtual java.lang.Module.addOpens:(Ljava/lang/String;Ljava/lang/Module;)Ljava/lang/Module;
pop
end local 5 end local 3 8: StackMap locals:
StackMap stack:
aload 4
invokeinterface java.util.Iterator.hasNext:()Z
ifne 4
end local 2 9: StackMap locals: java.lang.Module java.lang.Module
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 10 0 otherModule Ljava/lang/Module;
1 10 1 jvmci Ljava/lang/Module;
3 9 2 packages Ljava/util/Set<Ljava/lang/String;>;
5 8 3 pkg Ljava/lang/String;
6 8 5 opened Z
MethodParameters:
Name Flags
otherModule
}
SourceFile: "Services.java"