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 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;
invokestatic jdk.vm.ci.services.internal.ReflectionAccessJDK.openJVMCITo:(Ljava/lang/Class;)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
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: 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;
invokevirtual java.util.ServiceLoader.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"