class jdk.vm.ci.hotspot.HotSpotJVMCIRuntime$1 implements java.util.function.Predicate<jdk.vm.ci.meta.ResolvedJavaType>
minor version: 0
major version: 59
flags: flags: (0x0020) ACC_SUPER
this_class: jdk.vm.ci.hotspot.HotSpotJVMCIRuntime$1
super_class: java.lang.Object
{
private volatile java.util.Set<java.lang.Module> trustedModules;
descriptor: Ljava/util/Set;
flags: (0x0042) ACC_PRIVATE, ACC_VOLATILE
Signature: Ljava/util/Set<Ljava/lang/Module;>;
final jdk.vm.ci.hotspot.HotSpotJVMCIRuntime this$0;
descriptor: Ljdk/vm/ci/hotspot/HotSpotJVMCIRuntime;
flags: (0x1010) ACC_FINAL, ACC_SYNTHETIC
private final java.lang.Class[] val$compilerLeafClasses;
descriptor: [Ljava/lang/Class;
flags: (0x1012) ACC_PRIVATE, ACC_FINAL, ACC_SYNTHETIC
void <init>(jdk.vm.ci.hotspot.HotSpotJVMCIRuntime, java.lang.Class[]);
descriptor: (Ljdk/vm/ci/hotspot/HotSpotJVMCIRuntime;[Ljava/lang/Class;)V
flags: (0x0000)
Code:
stack=2, locals=3, args_size=3
start local 0 0: aload 0
aload 1
putfield jdk.vm.ci.hotspot.HotSpotJVMCIRuntime$1.this$0:Ljdk/vm/ci/hotspot/HotSpotJVMCIRuntime;
aload 0
aload 2
putfield jdk.vm.ci.hotspot.HotSpotJVMCIRuntime$1.val$compilerLeafClasses:[Ljava/lang/Class;
aload 0
invokespecial java.lang.Object.<init>:()V
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljdk/vm/ci/hotspot/HotSpotJVMCIRuntime$1;
MethodParameters:
Name Flags
this$0 final
val$compilerLeafClasses final
public boolean test(jdk.vm.ci.meta.ResolvedJavaType);
descriptor: (Ljdk/vm/ci/meta/ResolvedJavaType;)Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=4, args_size=2
start local 0 start local 1 0: aload 1
instanceof jdk.vm.ci.hotspot.HotSpotResolvedJavaType
ifeq 4
1: aload 0
getfield jdk.vm.ci.hotspot.HotSpotJVMCIRuntime$1.this$0:Ljdk/vm/ci/hotspot/HotSpotJVMCIRuntime;
aload 1
checkcast jdk.vm.ci.hotspot.HotSpotResolvedJavaType
invokevirtual jdk.vm.ci.hotspot.HotSpotJVMCIRuntime.getMirror:(Ljdk/vm/ci/meta/ResolvedJavaType;)Ljava/lang/Class;
astore 2
start local 2 2: aload 2
invokevirtual java.lang.Class.getModule:()Ljava/lang/Module;
astore 3
start local 3 3: aload 0
invokevirtual jdk.vm.ci.hotspot.HotSpotJVMCIRuntime$1.getTrustedModules:()Ljava/util/Set;
aload 3
invokeinterface java.util.Set.contains:(Ljava/lang/Object;)Z
ireturn
end local 3 end local 2 4: StackMap locals:
StackMap stack:
iconst_0
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Ljdk/vm/ci/hotspot/HotSpotJVMCIRuntime$1;
0 5 1 type Ljdk/vm/ci/meta/ResolvedJavaType;
2 4 2 mirror Ljava/lang/Class<*>;
3 4 3 module Ljava/lang/Module;
MethodParameters:
Name Flags
type
private java.util.Set<java.lang.Module> getTrustedModules();
descriptor: ()Ljava/util/Set;
flags: (0x0002) ACC_PRIVATE
Code:
stack=7, locals=11, args_size=1
start local 0 0: aload 0
getfield jdk.vm.ci.hotspot.HotSpotJVMCIRuntime$1.trustedModules:Ljava/util/Set;
astore 1
start local 1 1: aload 1
ifnonnull 22
2: new java.util.HashSet
dup
invokespecial java.util.HashSet.<init>:()V
astore 1
3: aload 0
getfield jdk.vm.ci.hotspot.HotSpotJVMCIRuntime$1.val$compilerLeafClasses:[Ljava/lang/Class;
dup
astore 5
arraylength
istore 4
iconst_0
istore 3
goto 20
StackMap locals: jdk.vm.ci.hotspot.HotSpotJVMCIRuntime$1 java.util.Set top int int java.lang.Class[]
StackMap stack:
4: aload 5
iload 3
aaload
astore 2
start local 2 5: aload 2
invokevirtual java.lang.Class.getModule:()Ljava/lang/Module;
astore 6
start local 6 6: aload 6
invokevirtual java.lang.Module.getDescriptor:()Ljava/lang/module/ModuleDescriptor;
invokevirtual java.lang.module.ModuleDescriptor.isAutomatic:()Z
ifeq 10
7: new java.lang.IllegalArgumentException
dup
ldc "The module '%s' defining the Graal compiler configuration class '%s' must not be an automatic module"
iconst_2
anewarray java.lang.Object
dup
iconst_0
8: aload 6
invokevirtual java.lang.Module.getName:()Ljava/lang/String;
aastore
dup
iconst_1
aload 2
invokevirtual java.lang.Object.getClass:()Ljava/lang/Class;
invokevirtual java.lang.Class.getName:()Ljava/lang/String;
aastore
9: invokestatic java.lang.String.format:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
10: StackMap locals: jdk.vm.ci.hotspot.HotSpotJVMCIRuntime$1 java.util.Set java.lang.Class int int java.lang.Class[] java.lang.Module
StackMap stack:
aload 1
aload 6
invokeinterface java.util.Set.add:(Ljava/lang/Object;)Z
pop
11: aload 6
invokevirtual java.lang.Module.getDescriptor:()Ljava/lang/module/ModuleDescriptor;
invokevirtual java.lang.module.ModuleDescriptor.requires:()Ljava/util/Set;
invokeinterface java.util.Set.iterator:()Ljava/util/Iterator;
astore 8
goto 18
StackMap locals: jdk.vm.ci.hotspot.HotSpotJVMCIRuntime$1 java.util.Set java.lang.Class int int java.lang.Class[] java.lang.Module top java.util.Iterator
StackMap stack:
12: aload 8
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast java.lang.module.ModuleDescriptor$Requires
astore 7
start local 7 13: aload 6
invokevirtual java.lang.Module.getLayer:()Ljava/lang/ModuleLayer;
invokevirtual java.lang.ModuleLayer.modules:()Ljava/util/Set;
invokeinterface java.util.Set.iterator:()Ljava/util/Iterator;
astore 10
goto 17
StackMap locals: jdk.vm.ci.hotspot.HotSpotJVMCIRuntime$1 java.util.Set java.lang.Class int int java.lang.Class[] java.lang.Module java.lang.module.ModuleDescriptor$Requires java.util.Iterator top java.util.Iterator
StackMap stack:
14: aload 10
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast java.lang.Module
astore 9
start local 9 15: aload 9
invokevirtual java.lang.Module.getName:()Ljava/lang/String;
aload 7
invokevirtual java.lang.module.ModuleDescriptor$Requires.name:()Ljava/lang/String;
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 17
16: aload 1
aload 9
invokeinterface java.util.Set.add:(Ljava/lang/Object;)Z
pop
end local 9 17: StackMap locals:
StackMap stack:
aload 10
invokeinterface java.util.Iterator.hasNext:()Z
ifne 14
end local 7 18: StackMap locals: jdk.vm.ci.hotspot.HotSpotJVMCIRuntime$1 java.util.Set java.lang.Class int int java.lang.Class[] java.lang.Module top java.util.Iterator
StackMap stack:
aload 8
invokeinterface java.util.Iterator.hasNext:()Z
ifne 12
end local 6 end local 2 19: iinc 3 1
StackMap locals: jdk.vm.ci.hotspot.HotSpotJVMCIRuntime$1 java.util.Set top int int java.lang.Class[]
StackMap stack:
20: iload 3
iload 4
if_icmplt 4
21: aload 0
aload 1
putfield jdk.vm.ci.hotspot.HotSpotJVMCIRuntime$1.trustedModules:Ljava/util/Set;
22: StackMap locals: jdk.vm.ci.hotspot.HotSpotJVMCIRuntime$1 java.util.Set
StackMap stack:
aload 1
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 23 0 this Ljdk/vm/ci/hotspot/HotSpotJVMCIRuntime$1;
1 23 1 modules Ljava/util/Set<Ljava/lang/Module;>;
5 19 2 compilerConfiguration Ljava/lang/Class<*>;
6 19 6 compilerConfigurationModule Ljava/lang/Module;
13 18 7 require Ljava/lang/module/ModuleDescriptor$Requires;
15 17 9 module Ljava/lang/Module;
Signature: ()Ljava/util/Set<Ljava/lang/Module;>;
public boolean test(java.lang.Object);
descriptor: (Ljava/lang/Object;)Z
flags: (0x1041) ACC_PUBLIC, ACC_BRIDGE, ACC_SYNTHETIC
Code:
stack=2, locals=2, args_size=2
0: aload 0
aload 1
checkcast jdk.vm.ci.meta.ResolvedJavaType
invokevirtual jdk.vm.ci.hotspot.HotSpotJVMCIRuntime$1.test:(Ljdk/vm/ci/meta/ResolvedJavaType;)Z
ireturn
LocalVariableTable:
Start End Slot Name Signature
}
Signature: Ljava/lang/Object;Ljava/util/function/Predicate<Ljdk/vm/ci/meta/ResolvedJavaType;>;
SourceFile: "HotSpotJVMCIRuntime.java"
EnclosingMethod: jdk.vm.ci.hotspot.HotSpotJVMCIRuntime.getIntrinsificationTrustPredicate:([Ljava/lang/Class;)Ljava/util/function/Predicate;
NestHost: jdk.vm.ci.hotspot.HotSpotJVMCIRuntime
InnerClasses:
public final Requires = java.lang.module.ModuleDescriptor$Requires of java.lang.module.ModuleDescriptor
jdk.vm.ci.hotspot.HotSpotJVMCIRuntime$1