public abstract class jdk.vm.ci.services.JVMCIServiceLocator
minor version: 0
major version: 59
flags: flags: (0x0421) ACC_PUBLIC, ACC_SUPER, ACC_ABSTRACT
this_class: jdk.vm.ci.services.JVMCIServiceLocator
super_class: java.lang.Object
{
private static volatile java.util.List<jdk.vm.ci.services.JVMCIServiceLocator> cachedLocators;
descriptor: Ljava/util/List;
flags: (0x004a) ACC_PRIVATE, ACC_STATIC, ACC_VOLATILE
Signature: Ljava/util/List<Ljdk/vm/ci/services/JVMCIServiceLocator;>;
private static java.lang.Void checkPermission();
descriptor: ()Ljava/lang/Void;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=3, locals=1, args_size=0
0: invokestatic java.lang.System.getSecurityManager:()Ljava/lang/SecurityManager;
astore 0
start local 0 1: aload 0
ifnull 3
2: 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
3: StackMap locals: java.lang.SecurityManager
StackMap stack:
aconst_null
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
1 4 0 sm Ljava/lang/SecurityManager;
private void <init>(java.lang.Void);
descriptor: (Ljava/lang/Void;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=1, locals=2, args_size=2
start local 0 start local 1 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Ljdk/vm/ci/services/JVMCIServiceLocator;
0 2 1 ignore Ljava/lang/Void;
MethodParameters:
Name Flags
ignore
protected void <init>();
descriptor: ()V
flags: (0x0004) ACC_PROTECTED
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
invokestatic jdk.vm.ci.services.JVMCIServiceLocator.checkPermission:()Ljava/lang/Void;
invokespecial jdk.vm.ci.services.JVMCIServiceLocator.<init>:(Ljava/lang/Void;)V
1: invokestatic jdk.vm.ci.services.Services.checkJVMCIEnabled:()V
2: aload 0
invokevirtual java.lang.Object.getClass:()Ljava/lang/Class;
invokevirtual java.lang.Class.getModule:()Ljava/lang/Module;
invokestatic jdk.vm.ci.services.Services.openJVMCITo:(Ljava/lang/Module;)V
3: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Ljdk/vm/ci/services/JVMCIServiceLocator;
protected abstract <S> S getProvider(java.lang.Class<S>);
descriptor: (Ljava/lang/Class;)Ljava/lang/Object;
flags: (0x0404) ACC_PROTECTED, ACC_ABSTRACT
Signature: <S:Ljava/lang/Object;>(Ljava/lang/Class<TS;>;)TS;
MethodParameters:
Name Flags
service
private static java.lang.Iterable<jdk.vm.ci.services.JVMCIServiceLocator> getJVMCIServiceLocators();
descriptor: ()Ljava/lang/Iterable;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=2, locals=4, args_size=0
0: getstatic jdk.vm.ci.services.JVMCIServiceLocator.cachedLocators:Ljava/util/List;
astore 0
start local 0 1: aload 0
ifnull 3
2: aload 0
areturn
3: StackMap locals: java.lang.Iterable
StackMap stack:
ldc Ljdk/vm/ci/services/JVMCIServiceLocator;
invokestatic java.lang.ClassLoader.getSystemClassLoader:()Ljava/lang/ClassLoader;
invokestatic java.util.ServiceLoader.load:(Ljava/lang/Class;Ljava/lang/ClassLoader;)Ljava/util/ServiceLoader;
astore 0
4: getstatic jdk.vm.ci.services.Services.IS_BUILDING_NATIVE_IMAGE:Z
ifeq 13
5: new java.util.ArrayList
dup
invokespecial java.util.ArrayList.<init>:()V
astore 1
start local 1 6: aload 0
invokeinterface java.lang.Iterable.iterator:()Ljava/util/Iterator;
astore 3
goto 9
StackMap locals: java.lang.Iterable java.util.ArrayList top java.util.Iterator
StackMap stack:
7: aload 3
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast jdk.vm.ci.services.JVMCIServiceLocator
astore 2
start local 2 8: aload 1
aload 2
invokevirtual java.util.ArrayList.add:(Ljava/lang/Object;)Z
pop
end local 2 9: StackMap locals:
StackMap stack:
aload 3
invokeinterface java.util.Iterator.hasNext:()Z
ifne 7
10: aload 1
invokevirtual java.util.ArrayList.trimToSize:()V
11: aload 1
putstatic jdk.vm.ci.services.JVMCIServiceLocator.cachedLocators:Ljava/util/List;
12: aload 1
areturn
end local 1 13: StackMap locals: java.lang.Iterable
StackMap stack:
aload 0
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
1 14 0 result Ljava/lang/Iterable<Ljdk/vm/ci/services/JVMCIServiceLocator;>;
6 13 1 l Ljava/util/ArrayList<Ljdk/vm/ci/services/JVMCIServiceLocator;>;
8 9 2 locator Ljdk/vm/ci/services/JVMCIServiceLocator;
Signature: ()Ljava/lang/Iterable<Ljdk/vm/ci/services/JVMCIServiceLocator;>;
public static <S> java.util.List<S> getProviders(java.lang.Class<S>);
descriptor: (Ljava/lang/Class;)Ljava/util/List;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=3, locals=6, args_size=1
start local 0 0: invokestatic jdk.vm.ci.services.Services.checkJVMCIEnabled:()V
1: invokestatic java.lang.System.getSecurityManager:()Ljava/lang/SecurityManager;
astore 1
start local 1 2: aload 1
ifnull 4
3: 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
4: StackMap locals: java.lang.SecurityManager
StackMap stack:
new java.util.ArrayList
dup
invokespecial java.util.ArrayList.<init>:()V
astore 2
start local 2 5: invokestatic jdk.vm.ci.services.JVMCIServiceLocator.getJVMCIServiceLocators:()Ljava/lang/Iterable;
invokeinterface java.lang.Iterable.iterator:()Ljava/util/Iterator;
astore 4
goto 10
StackMap locals: java.lang.Class java.lang.SecurityManager java.util.List top java.util.Iterator
StackMap stack:
6: aload 4
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast jdk.vm.ci.services.JVMCIServiceLocator
astore 3
start local 3 7: aload 3
aload 0
invokevirtual jdk.vm.ci.services.JVMCIServiceLocator.getProvider:(Ljava/lang/Class;)Ljava/lang/Object;
astore 5
start local 5 8: aload 5
ifnull 10
9: aload 2
aload 5
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
end local 5 end local 3 10: StackMap locals:
StackMap stack:
aload 4
invokeinterface java.util.Iterator.hasNext:()Z
ifne 6
11: aload 2
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 12 0 service Ljava/lang/Class<TS;>;
2 12 1 sm Ljava/lang/SecurityManager;
5 12 2 providers Ljava/util/List<TS;>;
7 10 3 access Ljdk/vm/ci/services/JVMCIServiceLocator;
8 10 5 provider TS;
Signature: <S:Ljava/lang/Object;>(Ljava/lang/Class<TS;>;)Ljava/util/List<TS;>;
MethodParameters:
Name Flags
service
}
SourceFile: "JVMCIServiceLocator.java"