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
private static volatile java.util.Map<java.lang.String, java.lang.String> savedProperties;
descriptor: Ljava/util/Map;
flags: (0x004a) ACC_PRIVATE, ACC_STATIC, ACC_VOLATILE
Signature: Ljava/util/Map<Ljava/lang/String;Ljava/lang/String;>;
static final boolean JVMCI_ENABLED;
descriptor: Z
flags: (0x0018) ACC_STATIC, ACC_FINAL
private static boolean jvmciEnabled;
descriptor: Z
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
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 int MAX_UNICODE_IN_UTF8_LENGTH;
descriptor: I
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: 3
private static final int MAX_UTF8_PROPERTY_STRING_LENGTH;
descriptor: I
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: 21845
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=2, locals=0, args_size=0
0: ldc "jdk.vm.ci.services.aot"
invokestatic jdk.internal.misc.VM.getSavedProperty:(Ljava/lang/String;)Ljava/lang/String;
invokestatic java.lang.Boolean.parseBoolean:(Ljava/lang/String;)Z
putstatic jdk.vm.ci.services.Services.IS_BUILDING_NATIVE_IMAGE:Z
1: iconst_0
putstatic jdk.vm.ci.services.Services.IS_IN_NATIVE_IMAGE:Z
2: invokestatic jdk.internal.misc.VM.getSavedProperties:()Ljava/util/Map;
putstatic jdk.vm.ci.services.Services.savedProperties:Ljava/util/Map;
3: getstatic jdk.vm.ci.services.Services.savedProperties: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
4: iconst_1
putstatic jdk.vm.ci.services.Services.jvmciEnabled:Z
5: getstatic jdk.vm.ci.services.Services.IS_BUILDING_NATIVE_IMAGE:Z
ifeq 6
new java.util.HashMap
dup
invokespecial java.util.HashMap.<init>:()V
goto 7
StackMap locals:
StackMap stack:
6: aconst_null
StackMap locals:
StackMap stack: java.util.HashMap
7: putstatic jdk.vm.ci.services.Services.servicesCache:Ljava/util/Map;
8: ldc Ljdk/vm/ci/services/Services;
ldc "getJVMCIClassLoader"
invokestatic java.util.Set.of:(Ljava/lang/Object;)Ljava/util/Set;
invokestatic jdk.internal.reflect.Reflection.registerMethodsToFilter:(Ljava/lang/Class;Ljava/util/Set;)V
9: 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.savedProperties: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 java.lang.String getSavedProperty(java.lang.String, java.lang.String);
descriptor: (Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: invokestatic jdk.vm.ci.services.Services.getSavedProperties:()Ljava/util/Map;
aload 0
aload 1
invokeinterface java.util.Map.getOrDefault:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
checkcast java.lang.String
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 name Ljava/lang/String;
0 1 1 def Ljava/lang/String;
MethodParameters:
Name Flags
name
def
public static java.lang.String getSavedProperty(java.lang.String);
descriptor: (Ljava/lang/String;)Ljava/lang/String;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: invokestatic jdk.vm.ci.services.Services.getSavedProperties:()Ljava/util/Map;
aload 0
invokeinterface java.util.Map.get:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast java.lang.String
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 name Ljava/lang/String;
MethodParameters:
Name Flags
name
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
private static java.lang.ClassLoader findBootClassLoaderChild(java.lang.ClassLoader);
descriptor: (Ljava/lang/ClassLoader;)Ljava/lang/ClassLoader;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=1, locals=2, args_size=1
start local 0 0: aload 0
astore 1
start local 1 1: goto 3
2: StackMap locals: java.lang.ClassLoader
StackMap stack:
aload 1
invokevirtual java.lang.ClassLoader.getParent:()Ljava/lang/ClassLoader;
astore 1
3: StackMap locals:
StackMap stack:
aload 1
invokevirtual java.lang.ClassLoader.getParent:()Ljava/lang/ClassLoader;
ifnonnull 2
4: aload 1
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 start Ljava/lang/ClassLoader;
1 5 1 cl Ljava/lang/ClassLoader;
MethodParameters:
Name Flags
start
private static <S> java.lang.Iterable<S> load0(java.lang.Class<S>);
descriptor: (Ljava/lang/Class;)Ljava/lang/Iterable;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=7, locals=6, 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 jdk.vm.ci.services.Services.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:
invokestatic java.util.Collections.emptyList:()Ljava/util/List;
astore 1
start local 1 7: getstatic jdk.vm.ci.services.Services.jvmciEnabled:Z
ifeq 22
8: aconst_null
astore 2
start local 2 9: invokestatic jdk.vm.ci.services.Services.getJVMCIClassLoader:()Ljava/lang/ClassLoader;
astore 2
10: aload 2
ifnonnull 13
11: getstatic jdk.vm.ci.services.Services$LazyBootClassPath.bootClassPath:Ljava/lang/ClassLoader;
astore 2
12: invokestatic java.lang.ClassLoader.getSystemClassLoader:()Ljava/lang/ClassLoader;
invokestatic jdk.vm.ci.services.Services.findBootClassLoaderChild:(Ljava/lang/ClassLoader;)Ljava/lang/ClassLoader;
astore 2
13: StackMap locals: java.lang.Iterable java.lang.ClassLoader
StackMap stack:
aload 0
aload 2
invokestatic java.util.ServiceLoader.load:(Ljava/lang/Class;Ljava/lang/ClassLoader;)Ljava/util/ServiceLoader;
astore 1
14: goto 22
StackMap locals:
StackMap stack: java.lang.UnsatisfiedLinkError
15: pop
16: iconst_0
putstatic jdk.vm.ci.services.Services.jvmciEnabled:Z
goto 22
17: StackMap locals:
StackMap stack: java.lang.InternalError
astore 3
start local 3 18: aload 3
invokevirtual java.lang.InternalError.getMessage:()Ljava/lang/String;
ldc "JVMCI is not enabled"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 21
19: iconst_0
putstatic jdk.vm.ci.services.Services.jvmciEnabled:Z
20: goto 22
21: StackMap locals: java.lang.InternalError
StackMap stack:
aload 3
athrow
end local 3 end local 2 22: StackMap locals:
StackMap stack:
getstatic jdk.vm.ci.services.Services.IS_BUILDING_NATIVE_IMAGE:Z
ifeq 35
23: getstatic jdk.vm.ci.services.Services.servicesCache:Ljava/util/Map;
dup
astore 2
monitorenter
24: new java.util.ArrayList
dup
invokespecial java.util.ArrayList.<init>:()V
astore 3
start local 3 25: aload 1
invokeinterface java.lang.Iterable.iterator:()Ljava/util/Iterator;
astore 5
goto 28
StackMap locals: java.lang.Class java.lang.Iterable java.util.Map java.util.ArrayList top java.util.Iterator
StackMap stack:
26: aload 5
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast java.lang.Object
astore 4
start local 4 27: aload 3
aload 4
invokevirtual java.util.ArrayList.add:(Ljava/lang/Object;)Z
pop
end local 4 28: StackMap locals:
StackMap stack:
aload 5
invokeinterface java.util.Iterator.hasNext:()Z
ifne 26
29: getstatic jdk.vm.ci.services.Services.servicesCache:Ljava/util/Map;
aload 0
aload 3
invokeinterface java.util.Map.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
30: aload 3
astore 1
end local 3 31: aload 2
monitorexit
32: goto 35
StackMap locals: java.lang.Class java.lang.Iterable java.util.Map
StackMap stack: java.lang.Throwable
33: aload 2
monitorexit
34: athrow
35: StackMap locals:
StackMap stack:
aload 1
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 36 0 service Ljava/lang/Class<TS;>;
2 6 1 list Ljava/util/List<*>;
7 36 1 providers Ljava/lang/Iterable<TS;>;
9 22 2 cl Ljava/lang/ClassLoader;
18 22 3 e Ljava/lang/InternalError;
25 31 3 providersList Ljava/util/ArrayList<TS;>;
27 28 4 provider TS;
Exception table:
from to target type
9 14 15 Class java.lang.UnsatisfiedLinkError
9 14 17 Class java.lang.InternalError
24 32 33 any
33 34 33 any
Signature: <S:Ljava/lang/Object;>(Ljava/lang/Class<TS;>;)Ljava/lang/Iterable<TS;>;
MethodParameters:
Name Flags
service
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
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=3, locals=2, args_size=1
start local 0 0: invokestatic java.lang.System.getSecurityManager:()Ljava/lang/SecurityManager;
astore 1
start local 1 1: aload 1
ifnull 3
2: aload 1
new jdk.vm.ci.services.JVMCIPermission
dup
invokespecial jdk.vm.ci.services.JVMCIPermission.<init>:()V
invokevirtual java.lang.SecurityManager.checkPermission:(Ljava/security/Permission;)V
3: StackMap locals: java.lang.SecurityManager
StackMap stack:
aload 0
invokestatic jdk.vm.ci.services.Services.load0:(Ljava/lang/Class;)Ljava/lang/Iterable;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 service Ljava/lang/Class<TS;>;
1 4 1 sm Ljava/lang/SecurityManager;
Signature: <S:Ljava/lang/Object;>(Ljava/lang/Class<TS;>;)Ljava/lang/Iterable<TS;>;
MethodParameters:
Name Flags
service
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=8, args_size=2
start local 0 start local 1 0: invokestatic java.lang.System.getSecurityManager:()Ljava/lang/SecurityManager;
astore 2
start local 2 1: aload 2
ifnull 3
2: aload 2
new jdk.vm.ci.services.JVMCIPermission
dup
invokespecial jdk.vm.ci.services.JVMCIPermission.<init>:()V
invokevirtual java.lang.SecurityManager.checkPermission:(Ljava/security/Permission;)V
3: StackMap locals: java.lang.SecurityManager
StackMap stack:
aload 0
invokestatic jdk.vm.ci.services.Services.load0:(Ljava/lang/Class;)Ljava/lang/Iterable;
astore 3
start local 3 4: aconst_null
astore 4
start local 4 5: aload 3
invokeinterface java.lang.Iterable.iterator:()Ljava/util/Iterator;
astore 6
goto 10
StackMap locals: java.lang.Class int java.lang.SecurityManager java.lang.Iterable java.lang.Object top java.util.Iterator
StackMap stack:
6: aload 6
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast java.lang.Object
astore 5
start local 5 7: aload 4
ifnull 9
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 4
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
9: StackMap locals: java.lang.Class int java.lang.SecurityManager java.lang.Iterable java.lang.Object java.lang.Object java.util.Iterator
StackMap stack:
aload 5
astore 4
end local 5 10: StackMap locals: java.lang.Class int java.lang.SecurityManager java.lang.Iterable java.lang.Object top java.util.Iterator
StackMap stack:
aload 6
invokeinterface java.util.Iterator.hasNext:()Z
ifne 6
11: aload 4
ifnonnull 19
iload 1
ifeq 19
12: ldc "java.home"
invokestatic jdk.vm.ci.services.Services.getSavedProperty:(Ljava/lang/String;)Ljava/lang/String;
astore 5
start local 5 13: ldc "java.vm.name"
invokestatic jdk.vm.ci.services.Services.getSavedProperty:(Ljava/lang/String;)Ljava/lang/String;
astore 6
start local 6 14: new java.util.Formatter
dup
invokespecial java.util.Formatter.<init>:()V
astore 7
start local 7 15: aload 7
ldc "The VM does not expose required service %s.%n"
iconst_1
anewarray java.lang.Object
dup
iconst_0
aload 0
invokevirtual java.lang.Class.getName:()Ljava/lang/String;
aastore
invokevirtual java.util.Formatter.format:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/util/Formatter;
pop
16: aload 7
ldc "Currently used Java home directory is %s.%n"
iconst_1
anewarray java.lang.Object
dup
iconst_0
aload 5
aastore
invokevirtual java.util.Formatter.format:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/util/Formatter;
pop
17: aload 7
ldc "Currently used VM configuration is: %s"
iconst_1
anewarray java.lang.Object
dup
iconst_0
aload 6
aastore
invokevirtual java.util.Formatter.format:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/util/Formatter;
pop
18: new java.lang.UnsupportedOperationException
dup
aload 7
invokevirtual java.util.Formatter.toString:()Ljava/lang/String;
invokespecial java.lang.UnsupportedOperationException.<init>:(Ljava/lang/String;)V
athrow
end local 7 end local 6 end local 5 19: StackMap locals: java.lang.Class int java.lang.SecurityManager java.lang.Iterable java.lang.Object
StackMap stack:
aload 4
areturn
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 20 0 service Ljava/lang/Class<TS;>;
0 20 1 required Z
1 20 2 sm Ljava/lang/SecurityManager;
4 20 3 providers Ljava/lang/Iterable<TS;>;
5 20 4 singleProvider TS;
7 10 5 provider TS;
13 19 5 javaHome Ljava/lang/String;
14 19 6 vmName Ljava/lang/String;
15 19 7 errorMessage Ljava/util/Formatter;
Signature: <S:Ljava/lang/Object;>(Ljava/lang/Class<TS;>;Z)TS;
MethodParameters:
Name Flags
service
required
private static java.lang.ClassLoader getJVMCIClassLoader();
descriptor: ()Ljava/lang/ClassLoader;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=1, locals=0, args_size=0
0: getstatic jdk.vm.ci.services.Services.IS_IN_NATIVE_IMAGE:Z
ifeq 2
1: aconst_null
areturn
2: StackMap locals:
StackMap stack:
invokestatic java.lang.ClassLoader.getSystemClassLoader:()Ljava/lang/ClassLoader;
areturn
LocalVariableTable:
Start End Slot Name Signature
private static byte[] serializeSavedProperties();
descriptor: ()[B
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=3, locals=0, args_size=0
0: getstatic jdk.vm.ci.services.Services.IS_IN_NATIVE_IMAGE:Z
ifeq 2
1: new java.lang.InternalError
dup
ldc "Can only serialize saved properties in HotSpot runtime"
invokespecial java.lang.InternalError.<init>:(Ljava/lang/String;)V
athrow
2: StackMap locals:
StackMap stack:
invokestatic jdk.vm.ci.services.Services.getSavedProperties:()Ljava/util/Map;
invokestatic jdk.vm.ci.services.Services.serializeProperties:(Ljava/util/Map;)[B
areturn
LocalVariableTable:
Start End Slot Name Signature
Exceptions:
throws java.io.IOException
RuntimeInvisibleAnnotations:
jdk.vm.ci.services.VMEntryPoint()
RuntimeInvisibleTypeAnnotations:
METHOD_RETURN, location=[ARRAY_ELEMENT]
jdk.vm.ci.services.VMEntryPoint()
private static byte[] serializeProperties(java.util.Map<java.lang.String, java.lang.String>);
descriptor: (Ljava/util/Map;)[B
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=4, locals=11, args_size=1
start local 0 0: bipush 8
istore 1
start local 1 1: iconst_0
istore 2
start local 2 2: aload 0
invokeinterface java.util.Map.entrySet:()Ljava/util/Set;
invokeinterface java.util.Set.iterator:()Ljava/util/Iterator;
astore 4
goto 9
StackMap locals: java.util.Map int int top java.util.Iterator
StackMap stack:
3: aload 4
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast java.util.Map$Entry
astore 3
start local 3 4: aload 3
invokeinterface java.util.Map$Entry.getKey:()Ljava/lang/Object;
checkcast java.lang.String
astore 5
start local 5 5: aload 3
invokeinterface java.util.Map$Entry.getValue:()Ljava/lang/Object;
checkcast java.lang.String
astore 6
start local 6 6: iload 1
iconst_2
aload 5
invokevirtual java.lang.String.length:()I
iadd
iconst_2
aload 6
invokevirtual java.lang.String.length:()I
iadd
iadd
iadd
istore 1
7: aload 5
invokevirtual java.lang.String.length:()I
sipush 21845
if_icmpgt 8
aload 6
invokevirtual java.lang.String.length:()I
sipush 21845
if_icmple 9
8: StackMap locals: java.util.Map int int java.util.Map$Entry java.util.Iterator java.lang.String java.lang.String
StackMap stack:
iinc 2 1
end local 6 end local 5 end local 3 9: StackMap locals: java.util.Map int int top java.util.Iterator
StackMap stack:
aload 4
invokeinterface java.util.Iterator.hasNext:()Z
ifne 3
10: new java.io.ByteArrayOutputStream
dup
iload 1
invokespecial java.io.ByteArrayOutputStream.<init>:(I)V
astore 3
start local 3 11: new java.io.DataOutputStream
dup
aload 3
invokespecial java.io.DataOutputStream.<init>:(Ljava/io/OutputStream;)V
astore 4
start local 4 12: aload 4
aload 0
invokeinterface java.util.Map.size:()I
iload 2
isub
invokevirtual java.io.DataOutputStream.writeInt:(I)V
13: aload 4
iload 2
invokevirtual java.io.DataOutputStream.writeInt:(I)V
14: aload 0
invokeinterface java.util.Map.entrySet:()Ljava/util/Set;
invokeinterface java.util.Set.iterator:()Ljava/util/Iterator;
astore 6
goto 21
StackMap locals: java.util.Map int int java.io.ByteArrayOutputStream java.io.DataOutputStream top java.util.Iterator
StackMap stack:
15: aload 6
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast java.util.Map$Entry
astore 5
start local 5 16: aload 5
invokeinterface java.util.Map$Entry.getKey:()Ljava/lang/Object;
checkcast java.lang.String
astore 7
start local 7 17: aload 5
invokeinterface java.util.Map$Entry.getValue:()Ljava/lang/Object;
checkcast java.lang.String
astore 8
start local 8 18: aload 7
invokevirtual java.lang.String.length:()I
sipush 21845
if_icmpgt 21
aload 8
invokevirtual java.lang.String.length:()I
sipush 21845
if_icmpgt 21
19: aload 4
aload 7
invokevirtual java.io.DataOutputStream.writeUTF:(Ljava/lang/String;)V
20: aload 4
aload 8
invokevirtual java.io.DataOutputStream.writeUTF:(Ljava/lang/String;)V
end local 8 end local 7 end local 5 21: StackMap locals:
StackMap stack:
aload 6
invokeinterface java.util.Iterator.hasNext:()Z
ifne 15
22: iload 2
ifeq 35
23: aload 0
invokeinterface java.util.Map.entrySet:()Ljava/util/Set;
invokeinterface java.util.Set.iterator:()Ljava/util/Iterator;
astore 6
goto 34
StackMap locals:
StackMap stack:
24: aload 6
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast java.util.Map$Entry
astore 5
start local 5 25: aload 5
invokeinterface java.util.Map$Entry.getKey:()Ljava/lang/Object;
checkcast java.lang.String
astore 7
start local 7 26: aload 5
invokeinterface java.util.Map$Entry.getValue:()Ljava/lang/Object;
checkcast java.lang.String
astore 8
start local 8 27: aload 7
invokevirtual java.lang.String.length:()I
sipush 21845
if_icmpgt 28
aload 8
invokevirtual java.lang.String.length:()I
sipush 21845
if_icmple 34
28: StackMap locals: java.util.Map int int java.io.ByteArrayOutputStream java.io.DataOutputStream java.util.Map$Entry java.util.Iterator java.lang.String java.lang.String
StackMap stack:
aload 7
ldc "UTF-8"
invokevirtual java.lang.String.getBytes:(Ljava/lang/String;)[B
astore 9
start local 9 29: aload 8
ldc "UTF-8"
invokevirtual java.lang.String.getBytes:(Ljava/lang/String;)[B
astore 10
start local 10 30: aload 4
aload 9
arraylength
invokevirtual java.io.DataOutputStream.writeInt:(I)V
31: aload 4
aload 9
invokevirtual java.io.DataOutputStream.write:([B)V
32: aload 4
aload 10
arraylength
invokevirtual java.io.DataOutputStream.writeInt:(I)V
33: aload 4
aload 10
invokevirtual java.io.DataOutputStream.write:([B)V
end local 10 end local 9 end local 8 end local 7 end local 5 34: StackMap locals: java.util.Map int int java.io.ByteArrayOutputStream java.io.DataOutputStream top java.util.Iterator
StackMap stack:
aload 6
invokeinterface java.util.Iterator.hasNext:()Z
ifne 24
35: StackMap locals: java.util.Map int int java.io.ByteArrayOutputStream java.io.DataOutputStream
StackMap stack:
aload 3
invokevirtual java.io.ByteArrayOutputStream.toByteArray:()[B
areturn
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 36 0 props Ljava/util/Map<Ljava/lang/String;Ljava/lang/String;>;
1 36 1 estimate I
2 36 2 nonUtf8Props I
4 9 3 e Ljava/util/Map$Entry<Ljava/lang/String;Ljava/lang/String;>;
5 9 5 name Ljava/lang/String;
6 9 6 value Ljava/lang/String;
11 36 3 baos Ljava/io/ByteArrayOutputStream;
12 36 4 out Ljava/io/DataOutputStream;
16 21 5 e Ljava/util/Map$Entry<Ljava/lang/String;Ljava/lang/String;>;
17 21 7 name Ljava/lang/String;
18 21 8 value Ljava/lang/String;
25 34 5 e Ljava/util/Map$Entry<Ljava/lang/String;Ljava/lang/String;>;
26 34 7 name Ljava/lang/String;
27 34 8 value Ljava/lang/String;
29 34 9 utf8Name [B
30 34 10 utf8Value [B
Exceptions:
throws java.io.IOException
Signature: (Ljava/util/Map<Ljava/lang/String;Ljava/lang/String;>;)[B
MethodParameters:
Name Flags
props
private static void initializeSavedProperties(byte[]);
descriptor: ([B)V
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: getstatic jdk.vm.ci.services.Services.IS_IN_NATIVE_IMAGE:Z
ifne 2
1: new java.lang.InternalError
dup
ldc "Can only initialize saved properties in JVMCI shared library runtime"
invokespecial java.lang.InternalError.<init>:(Ljava/lang/String;)V
athrow
2: StackMap locals:
StackMap stack:
aload 0
invokestatic jdk.vm.ci.services.Services.deserializeProperties:([B)Ljava/util/Map;
invokestatic java.util.Collections.unmodifiableMap:(Ljava/util/Map;)Ljava/util/Map;
putstatic jdk.vm.ci.services.Services.savedProperties:Ljava/util/Map;
3: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 serializedProperties [B
Exceptions:
throws java.io.IOException
RuntimeInvisibleAnnotations:
jdk.vm.ci.services.VMEntryPoint()
MethodParameters:
Name Flags
serializedProperties
private static java.util.Map<java.lang.String, java.lang.String> deserializeProperties(byte[]);
descriptor: ([B)Ljava/util/Map;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=5, locals=12, args_size=1
start local 0 0: new java.io.DataInputStream
dup
new java.io.ByteArrayInputStream
dup
aload 0
invokespecial java.io.ByteArrayInputStream.<init>:([B)V
invokespecial java.io.DataInputStream.<init>:(Ljava/io/InputStream;)V
astore 1
start local 1 1: aload 1
invokevirtual java.io.DataInputStream.readInt:()I
istore 2
start local 2 2: aload 1
invokevirtual java.io.DataInputStream.readInt:()I
istore 3
start local 3 3: new java.util.HashMap
dup
iload 2
iload 3
iadd
invokespecial java.util.HashMap.<init>:(I)V
astore 4
start local 4 4: iconst_0
istore 5
start local 5 5: goto 21
6: StackMap locals: byte[] java.io.DataInputStream int int java.util.Map int
StackMap stack:
iload 5
iload 2
if_icmpge 11
7: aload 1
invokevirtual java.io.DataInputStream.readUTF:()Ljava/lang/String;
astore 6
start local 6 8: aload 1
invokevirtual java.io.DataInputStream.readUTF:()Ljava/lang/String;
astore 7
start local 7 9: aload 4
aload 6
aload 7
invokeinterface java.util.Map.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
end local 7 end local 6 10: goto 20
11: StackMap locals:
StackMap stack:
aload 1
invokevirtual java.io.DataInputStream.readInt:()I
istore 6
start local 6 12: iload 6
newarray 8
astore 7
start local 7 13: aload 1
aload 7
invokevirtual java.io.DataInputStream.read:([B)I
pop
14: aload 1
invokevirtual java.io.DataInputStream.readInt:()I
istore 8
start local 8 15: iload 8
newarray 8
astore 9
start local 9 16: aload 1
aload 9
invokevirtual java.io.DataInputStream.read:([B)I
pop
17: new java.lang.String
dup
aload 7
ldc "UTF-8"
invokespecial java.lang.String.<init>:([BLjava/lang/String;)V
astore 10
start local 10 18: new java.lang.String
dup
aload 9
ldc "UTF-8"
invokespecial java.lang.String.<init>:([BLjava/lang/String;)V
astore 11
start local 11 19: aload 4
aload 10
aload 11
invokeinterface java.util.Map.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
end local 11 end local 10 end local 9 end local 8 end local 7 end local 6 20: StackMap locals:
StackMap stack:
iinc 5 1
21: StackMap locals:
StackMap stack:
aload 1
invokevirtual java.io.DataInputStream.available:()I
ifne 6
22: aload 4
areturn
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 23 0 serializedProperties [B
1 23 1 in Ljava/io/DataInputStream;
2 23 2 utf8Props I
3 23 3 nonUtf8Props I
4 23 4 props Ljava/util/Map<Ljava/lang/String;Ljava/lang/String;>;
5 23 5 index I
8 10 6 name Ljava/lang/String;
9 10 7 value Ljava/lang/String;
12 20 6 nameLen I
13 20 7 nameBytes [B
15 20 8 valueLen I
16 20 9 valueBytes [B
18 20 10 name Ljava/lang/String;
19 20 11 value Ljava/lang/String;
Exceptions:
throws java.io.IOException
Signature: ([B)Ljava/util/Map<Ljava/lang/String;Ljava/lang/String;>;
MethodParameters:
Name Flags
serializedProperties
}
SourceFile: "Services.java"
NestMembers:
jdk.vm.ci.services.Services$LazyBootClassPath jdk.vm.ci.services.Services$LazyBootClassPath$1
InnerClasses:
public abstract Entry = java.util.Map$Entry of java.util.Map
LazyBootClassPath = jdk.vm.ci.services.Services$LazyBootClassPath of jdk.vm.ci.services.Services