public class com.oracle.svm.truffle.tck.PermissionsFeature implements org.graalvm.nativeimage.hosted.Feature
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: com.oracle.svm.truffle.tck.PermissionsFeature
super_class: java.lang.Object
{
private static final java.lang.String CONFIG;
descriptor: Ljava/lang/String;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: "truffle-language-permissions-config.json"
private static final java.util.Set<java.lang.String> compilerPackages;
descriptor: Ljava/util/Set;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
Signature: Ljava/util/Set<Ljava/lang/String;>;
private static final java.util.Set<java.lang.ClassLoader> systemClassLoaders;
descriptor: Ljava/util/Set;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
Signature: Ljava/util/Set<Ljava/lang/ClassLoader;>;
private java.nio.file.Path reportFilePath;
descriptor: Ljava/nio/file/Path;
flags: (0x0002) ACC_PRIVATE
private java.util.Set<com.oracle.graal.pointsto.meta.AnalysisMethod> whiteList;
descriptor: Ljava/util/Set;
flags: (0x0002) ACC_PRIVATE
Signature: Ljava/util/Set<Lcom/oracle/graal/pointsto/meta/AnalysisMethod;>;
private com.oracle.graal.pointsto.meta.AnalysisType reflectionProxy;
descriptor: Lcom/oracle/graal/pointsto/meta/AnalysisType;
flags: (0x0002) ACC_PRIVATE
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=2, locals=1, args_size=0
0: new java.util.HashSet
dup
invokespecial java.util.HashSet.<init>:()V
putstatic com.oracle.svm.truffle.tck.PermissionsFeature.compilerPackages:Ljava/util/Set;
1: getstatic com.oracle.svm.truffle.tck.PermissionsFeature.compilerPackages:Ljava/util/Set;
ldc "org.graalvm."
invokeinterface java.util.Set.add:(Ljava/lang/Object;)Z
pop
2: getstatic com.oracle.svm.truffle.tck.PermissionsFeature.compilerPackages:Ljava/util/Set;
ldc "com.oracle.graalvm."
invokeinterface java.util.Set.add:(Ljava/lang/Object;)Z
pop
3: getstatic com.oracle.svm.truffle.tck.PermissionsFeature.compilerPackages:Ljava/util/Set;
ldc "com.oracle.truffle.api."
invokeinterface java.util.Set.add:(Ljava/lang/Object;)Z
pop
4: getstatic com.oracle.svm.truffle.tck.PermissionsFeature.compilerPackages:Ljava/util/Set;
ldc "com.oracle.truffle.polyglot."
invokeinterface java.util.Set.add:(Ljava/lang/Object;)Z
pop
5: getstatic com.oracle.svm.truffle.tck.PermissionsFeature.compilerPackages:Ljava/util/Set;
ldc "com.oracle.truffle.nfi."
invokeinterface java.util.Set.add:(Ljava/lang/Object;)Z
pop
6: getstatic com.oracle.svm.truffle.tck.PermissionsFeature.compilerPackages:Ljava/util/Set;
ldc "com.oracle.truffle.object."
invokeinterface java.util.Set.add:(Ljava/lang/Object;)Z
pop
7: new java.util.HashSet
dup
invokespecial java.util.HashSet.<init>:()V
putstatic com.oracle.svm.truffle.tck.PermissionsFeature.systemClassLoaders:Ljava/util/Set;
8: invokestatic java.lang.ClassLoader.getSystemClassLoader:()Ljava/lang/ClassLoader;
astore 0
start local 0 9: goto 12
10: StackMap locals: java.lang.ClassLoader
StackMap stack:
getstatic com.oracle.svm.truffle.tck.PermissionsFeature.systemClassLoaders:Ljava/util/Set;
aload 0
invokeinterface java.util.Set.add:(Ljava/lang/Object;)Z
pop
11: aload 0
invokevirtual java.lang.ClassLoader.getParent:()Ljava/lang/ClassLoader;
astore 0
StackMap locals:
StackMap stack:
12: aload 0
ifnonnull 10
end local 0 13: return
LocalVariableTable:
Start End Slot Name Signature
9 13 0 cl Ljava/lang/ClassLoader;
public void <init>();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokespecial java.lang.Object.<init>:()V
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/oracle/svm/truffle/tck/PermissionsFeature;
public void duringSetup(org.graalvm.nativeimage.hosted.Feature$DuringSetupAccess);
descriptor: (Lorg/graalvm/nativeimage/hosted/Feature$DuringSetupAccess;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=4, args_size=2
start local 0 start local 1 0: getstatic com.oracle.svm.core.SubstrateOptions.FoldSecurityManagerGetter:Lcom/oracle/svm/core/option/HostedOptionKey;
invokevirtual com.oracle.svm.core.option.HostedOptionKey.getValue:()Ljava/lang/Object;
checkcast java.lang.Boolean
invokevirtual java.lang.Boolean.booleanValue:()Z
ifeq 2
1: ldc "%s requires -H:-FoldSecurityManagerGetter option."
iconst_1
anewarray java.lang.Object
dup
iconst_0
aload 0
invokevirtual java.lang.Object.getClass:()Ljava/lang/Class;
invokevirtual java.lang.Class.getSimpleName:()Ljava/lang/String;
aastore
invokestatic com.oracle.svm.core.util.UserError.abort:(Ljava/lang/String;[Ljava/lang/Object;)Lcom/oracle/svm/core/util/UserError$UserException;
pop
2: StackMap locals:
StackMap stack:
getstatic com.oracle.svm.truffle.tck.PermissionsFeature$Options.TruffleTCKPermissionsReportFile:Lcom/oracle/svm/core/option/HostedOptionKey;
invokevirtual com.oracle.svm.core.option.HostedOptionKey.getValue:()Ljava/lang/Object;
checkcast java.lang.String
astore 2
start local 2 3: aload 2
ifnonnull 5
4: ldc "Path to report file must be given by -H:TruffleTCKPermissionsReportFile option."
iconst_0
anewarray java.lang.Object
invokestatic com.oracle.svm.core.util.UserError.abort:(Ljava/lang/String;[Ljava/lang/Object;)Lcom/oracle/svm/core/util/UserError$UserException;
pop
5: StackMap locals: java.lang.String
StackMap stack:
aload 0
aload 2
iconst_0
anewarray java.lang.String
invokestatic java.nio.file.Paths.get:(Ljava/lang/String;[Ljava/lang/String;)Ljava/nio/file/Path;
putfield com.oracle.svm.truffle.tck.PermissionsFeature.reportFilePath:Ljava/nio/file/Path;
6: aload 1
checkcast com.oracle.svm.hosted.FeatureImpl$DuringSetupAccessImpl
astore 3
start local 3 7: aload 3
invokevirtual com.oracle.svm.hosted.FeatureImpl$DuringSetupAccessImpl.getHostVM:()Lcom/oracle/svm/hosted/SVMHost;
invokevirtual com.oracle.svm.hosted.SVMHost.keepAnalysisGraphs:()V
8: return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 9 0 this Lcom/oracle/svm/truffle/tck/PermissionsFeature;
0 9 1 access Lorg/graalvm/nativeimage/hosted/Feature$DuringSetupAccess;
3 9 2 reportFile Ljava/lang/String;
7 9 3 accessImpl Lcom/oracle/svm/hosted/FeatureImpl$DuringSetupAccessImpl;
MethodParameters:
Name Flags
access
public void afterAnalysis(org.graalvm.nativeimage.hosted.Feature$AfterAnalysisAccess);
descriptor: (Lorg/graalvm/nativeimage/hosted/Feature$AfterAnalysisAccess;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=11, locals=16, args_size=2
start local 0 start local 1 0: aload 0
getfield com.oracle.svm.truffle.tck.PermissionsFeature.reportFilePath:Ljava/nio/file/Path;
iconst_0
anewarray java.nio.file.LinkOption
invokestatic java.nio.file.Files.exists:(Ljava/nio/file/Path;[Ljava/nio/file/LinkOption;)Z
ifeq 5
aload 0
getfield com.oracle.svm.truffle.tck.PermissionsFeature.reportFilePath:Ljava/nio/file/Path;
invokestatic java.nio.file.Files.size:(Ljava/nio/file/Path;)J
lconst_0
lcmp
ifle 5
1: aload 0
getfield com.oracle.svm.truffle.tck.PermissionsFeature.reportFilePath:Ljava/nio/file/Path;
iconst_2
anewarray java.nio.file.OpenOption
dup
iconst_0
getstatic java.nio.file.StandardOpenOption.CREATE:Ljava/nio/file/StandardOpenOption;
aastore
dup
iconst_1
getstatic java.nio.file.StandardOpenOption.TRUNCATE_EXISTING:Ljava/nio/file/StandardOpenOption;
aastore
invokestatic java.nio.file.Files.newOutputStream:(Ljava/nio/file/Path;[Ljava/nio/file/OpenOption;)Ljava/io/OutputStream;
pop
2: goto 5
StackMap locals:
StackMap stack: java.io.IOException
3: pop
4: ldc "Cannot delete existing report file %s."
iconst_1
anewarray java.lang.Object
dup
iconst_0
aload 0
getfield com.oracle.svm.truffle.tck.PermissionsFeature.reportFilePath:Ljava/nio/file/Path;
aastore
invokestatic com.oracle.svm.core.util.UserError.abort:(Ljava/lang/String;[Ljava/lang/Object;)Lcom/oracle/svm/core/util/UserError$UserException;
athrow
5: StackMap locals:
StackMap stack:
aload 1
checkcast com.oracle.svm.hosted.FeatureImpl$AfterAnalysisAccessImpl
astore 2
start local 2 6: aload 2
invokevirtual com.oracle.svm.hosted.FeatureImpl$AfterAnalysisAccessImpl.getDebugContext:()Lorg/graalvm/compiler/debug/DebugContext;
astore 3
start local 3 7: aconst_null
astore 4
aconst_null
astore 5
8: aload 3
aload 0
invokevirtual java.lang.Object.getClass:()Ljava/lang/Class;
invokevirtual java.lang.Class.getSimpleName:()Ljava/lang/String;
invokevirtual org.graalvm.compiler.debug.DebugContext.scope:(Ljava/lang/Object;)Lorg/graalvm/compiler/debug/DebugContext$Scope;
astore 6
start local 6 9: aload 2
invokevirtual com.oracle.svm.hosted.FeatureImpl$AfterAnalysisAccessImpl.getBigBang:()Lcom/oracle/graal/pointsto/BigBang;
astore 7
start local 7 10: new com.oracle.svm.truffle.tck.WhiteListParser
dup
aload 2
invokevirtual com.oracle.svm.hosted.FeatureImpl$AfterAnalysisAccessImpl.getImageClassLoader:()Lcom/oracle/svm/hosted/ImageClassLoader;
aload 7
invokespecial com.oracle.svm.truffle.tck.WhiteListParser.<init>:(Lcom/oracle/svm/hosted/ImageClassLoader;Lcom/oracle/graal/pointsto/BigBang;)V
astore 8
start local 8 11: aload 8
12: aload 2
invokevirtual com.oracle.svm.hosted.FeatureImpl$AfterAnalysisAccessImpl.getImageClassLoader:()Lcom/oracle/svm/hosted/ImageClassLoader;
13: aload 0
invokevirtual java.lang.Object.getClass:()Ljava/lang/Class;
invokevirtual java.lang.Class.getSimpleName:()Ljava/lang/String;
14: getstatic com.oracle.svm.truffle.tck.PermissionsFeature$Options.TruffleTCKPermissionsExcludeFiles:Lcom/oracle/svm/core/option/HostedOptionKey;
15: new com.oracle.svm.truffle.tck.PermissionsFeature$ResourceAsOptionDecorator
dup
new java.lang.StringBuilder
dup
aload 0
invokevirtual java.lang.Object.getClass:()Ljava/lang/Class;
invokevirtual java.lang.Class.getPackage:()Ljava/lang/Package;
invokevirtual java.lang.Package.getName:()Ljava/lang/String;
bipush 46
bipush 47
invokevirtual java.lang.String.replace:(CC)Ljava/lang/String;
invokestatic java.lang.String.valueOf:(Ljava/lang/Object;)Ljava/lang/String;
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
ldc "/resources/jre.json"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokespecial com.oracle.svm.truffle.tck.PermissionsFeature$ResourceAsOptionDecorator.<init>:(Ljava/lang/String;)V
16: ldc "truffle-language-permissions-config.json"
17: invokestatic com.oracle.svm.hosted.config.ConfigurationParserUtils.parseAndRegisterConfigurations:(Lcom/oracle/svm/core/configure/ConfigurationParser;Lcom/oracle/svm/hosted/ImageClassLoader;Ljava/lang/String;Lcom/oracle/svm/core/option/HostedOptionKey;Lcom/oracle/svm/core/option/HostedOptionKey;Ljava/lang/String;)I
pop
18: aload 0
aload 7
ldc "com.oracle.svm.reflect.helpers.ReflectionProxy"
invokevirtual com.oracle.graal.pointsto.BigBang.forClass:(Ljava/lang/String;)Lcom/oracle/graal/pointsto/meta/AnalysisType;
putfield com.oracle.svm.truffle.tck.PermissionsFeature.reflectionProxy:Lcom/oracle/graal/pointsto/meta/AnalysisType;
19: aload 0
getfield com.oracle.svm.truffle.tck.PermissionsFeature.reflectionProxy:Lcom/oracle/graal/pointsto/meta/AnalysisType;
ifnonnull 21
20: ldc "Cannot load ReflectionProxy type"
iconst_0
anewarray java.lang.Object
invokestatic com.oracle.svm.core.util.UserError.abort:(Ljava/lang/String;[Ljava/lang/Object;)Lcom/oracle/svm/core/util/UserError$UserException;
pop
21: StackMap locals: com.oracle.svm.truffle.tck.PermissionsFeature org.graalvm.nativeimage.hosted.Feature$AfterAnalysisAccess com.oracle.svm.hosted.FeatureImpl$AfterAnalysisAccessImpl org.graalvm.compiler.debug.DebugContext java.lang.Throwable java.lang.Throwable org.graalvm.compiler.debug.DebugContext$Scope com.oracle.graal.pointsto.BigBang com.oracle.svm.truffle.tck.WhiteListParser
StackMap stack:
aload 0
aload 8
invokevirtual com.oracle.svm.truffle.tck.WhiteListParser.getLoadedWhiteList:()Ljava/util/Set;
putfield com.oracle.svm.truffle.tck.PermissionsFeature.whiteList:Ljava/util/Set;
22: new java.util.HashSet
dup
invokespecial java.util.HashSet.<init>:()V
astore 9
start local 9 23: aload 9
aload 7
ldc Ljava/lang/SecurityManager;
invokedynamic test()Ljava/util/function/Predicate;
Bootstrap: invokestatic java.lang.invoke.LambdaMetafactory.metafactory:(Ljava/lang/invoke/MethodHandles$Lookup;Ljava/lang/String;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodHandle;Ljava/lang/invoke/MethodType;)Ljava/lang/invoke/CallSite;
Method arguments:
(Ljava/lang/Object;)Z
com/oracle/svm/truffle/tck/PermissionsFeature.lambda$0(Ljdk/vm/ci/meta/ResolvedJavaMethod;)Z (6)
(Ljdk/vm/ci/meta/ResolvedJavaMethod;)Z
invokestatic com.oracle.svm.truffle.tck.PermissionsFeature.findMethods:(Lcom/oracle/graal/pointsto/BigBang;Ljava/lang/Class;Ljava/util/function/Predicate;)Ljava/util/Set;
invokeinterface java.util.Set.addAll:(Ljava/util/Collection;)Z
pop
24: aload 9
aload 7
ldc Lsun/misc/Unsafe;
invokedynamic test()Ljava/util/function/Predicate;
Bootstrap: invokestatic java.lang.invoke.LambdaMetafactory.metafactory:(Ljava/lang/invoke/MethodHandles$Lookup;Ljava/lang/String;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodHandle;Ljava/lang/invoke/MethodType;)Ljava/lang/invoke/CallSite;
Method arguments:
(Ljava/lang/Object;)Z
com/oracle/svm/truffle/tck/PermissionsFeature.lambda$1(Ljdk/vm/ci/meta/ResolvedJavaMethod;)Z (6)
(Ljdk/vm/ci/meta/ResolvedJavaMethod;)Z
invokestatic com.oracle.svm.truffle.tck.PermissionsFeature.findMethods:(Lcom/oracle/graal/pointsto/BigBang;Ljava/lang/Class;Ljava/util/function/Predicate;)Ljava/util/Set;
invokeinterface java.util.Set.addAll:(Ljava/util/Collection;)Z
pop
25: aload 9
aload 7
invokestatic org.graalvm.polyglot.io.FileSystem.newDefaultFileSystem:()Lorg/graalvm/polyglot/io/FileSystem;
invokevirtual java.lang.Object.getClass:()Ljava/lang/Class;
invokedynamic test()Ljava/util/function/Predicate;
Bootstrap: invokestatic java.lang.invoke.LambdaMetafactory.metafactory:(Ljava/lang/invoke/MethodHandles$Lookup;Ljava/lang/String;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodHandle;Ljava/lang/invoke/MethodType;)Ljava/lang/invoke/CallSite;
Method arguments:
(Ljava/lang/Object;)Z
com/oracle/svm/truffle/tck/PermissionsFeature.lambda$2(Ljdk/vm/ci/meta/ResolvedJavaMethod;)Z (6)
(Ljdk/vm/ci/meta/ResolvedJavaMethod;)Z
invokestatic com.oracle.svm.truffle.tck.PermissionsFeature.findMethods:(Lcom/oracle/graal/pointsto/BigBang;Ljava/lang/Class;Ljava/util/function/Predicate;)Ljava/util/Set;
invokeinterface java.util.Set.addAll:(Ljava/util/Collection;)Z
pop
26: aload 9
invokeinterface java.util.Set.isEmpty:()Z
ifne 52
27: aload 0
aload 7
aload 9
aload 3
invokevirtual com.oracle.svm.truffle.tck.PermissionsFeature.callGraph:(Lcom/oracle/graal/pointsto/BigBang;Ljava/util/Set;Lorg/graalvm/compiler/debug/DebugContext;)Ljava/util/Map;
astore 10
start local 10 28: new java.util.ArrayList
dup
invokespecial java.util.ArrayList.<init>:()V
astore 11
start local 11 29: new java.util.HashSet
dup
invokespecial java.util.HashSet.<init>:()V
astore 12
start local 12 30: aload 12
iconst_3
anewarray com.oracle.svm.truffle.tck.PermissionsFeature$CallGraphFilter
dup
iconst_0
new com.oracle.svm.truffle.tck.PermissionsFeature$SafeInterruptRecognizer
dup
aload 7
invokespecial com.oracle.svm.truffle.tck.PermissionsFeature$SafeInterruptRecognizer.<init>:(Lcom/oracle/graal/pointsto/BigBang;)V
aastore
dup
iconst_1
new com.oracle.svm.truffle.tck.PermissionsFeature$SafePrivilegedRecognizer
dup
aload 0
aload 7
invokespecial com.oracle.svm.truffle.tck.PermissionsFeature$SafePrivilegedRecognizer.<init>:(Lcom/oracle/svm/truffle/tck/PermissionsFeature;Lcom/oracle/graal/pointsto/BigBang;)V
aastore
dup
iconst_2
31: new com.oracle.svm.truffle.tck.PermissionsFeature$SafeServiceLoaderRecognizer
dup
aload 0
aload 7
aload 2
invokevirtual com.oracle.svm.hosted.FeatureImpl$AfterAnalysisAccessImpl.getImageClassLoader:()Lcom/oracle/svm/hosted/ImageClassLoader;
invokespecial com.oracle.svm.truffle.tck.PermissionsFeature$SafeServiceLoaderRecognizer.<init>:(Lcom/oracle/svm/truffle/tck/PermissionsFeature;Lcom/oracle/graal/pointsto/BigBang;Lcom/oracle/svm/hosted/ImageClassLoader;)V
aastore
32: invokestatic java.util.Collections.addAll:(Ljava/util/Collection;[Ljava/lang/Object;)Z
pop
33: getstatic com.oracle.svm.truffle.tck.PermissionsFeature$Options.TruffleTCKPermissionsMaxStackTraceDepth:Lcom/oracle/svm/core/option/HostedOptionKey;
invokevirtual com.oracle.svm.core.option.HostedOptionKey.getValue:()Ljava/lang/Object;
checkcast java.lang.Integer
invokevirtual java.lang.Integer.intValue:()I
istore 13
start local 13 34: iload 13
iconst_m1
if_icmpne 35
ldc 2147483647
goto 36
StackMap locals: com.oracle.svm.truffle.tck.PermissionsFeature org.graalvm.nativeimage.hosted.Feature$AfterAnalysisAccess com.oracle.svm.hosted.FeatureImpl$AfterAnalysisAccessImpl org.graalvm.compiler.debug.DebugContext java.lang.Throwable java.lang.Throwable org.graalvm.compiler.debug.DebugContext$Scope com.oracle.graal.pointsto.BigBang com.oracle.svm.truffle.tck.WhiteListParser java.util.Set java.util.Map java.util.List java.util.Set int
StackMap stack:
35: iload 13
StackMap locals:
StackMap stack: int
36: istore 13
37: aload 9
invokeinterface java.util.Set.iterator:()Ljava/util/Iterator;
astore 15
goto 46
StackMap locals: com.oracle.svm.truffle.tck.PermissionsFeature org.graalvm.nativeimage.hosted.Feature$AfterAnalysisAccess com.oracle.svm.hosted.FeatureImpl$AfterAnalysisAccessImpl org.graalvm.compiler.debug.DebugContext java.lang.Throwable java.lang.Throwable org.graalvm.compiler.debug.DebugContext$Scope com.oracle.graal.pointsto.BigBang com.oracle.svm.truffle.tck.WhiteListParser java.util.Set java.util.Map java.util.List java.util.Set int top java.util.Iterator
StackMap stack:
38: aload 15
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast com.oracle.graal.pointsto.meta.AnalysisMethod
astore 14
start local 14 39: aload 10
aload 14
invokeinterface java.util.Map.containsKey:(Ljava/lang/Object;)Z
ifeq 46
40: aload 0
aload 11
aload 14
41: iload 13
42: getstatic com.oracle.svm.truffle.tck.PermissionsFeature$Options.TruffleTCKPermissionsMaxErrors:Lcom/oracle/svm/core/option/HostedOptionKey;
invokevirtual com.oracle.svm.core.option.HostedOptionKey.getValue:()Ljava/lang/Object;
checkcast java.lang.Integer
invokevirtual java.lang.Integer.intValue:()I
43: aload 10
aload 12
44: new java.util.LinkedHashSet
dup
invokespecial java.util.LinkedHashSet.<init>:()V
iconst_1
iconst_0
45: invokevirtual com.oracle.svm.truffle.tck.PermissionsFeature.collectViolations:(Ljava/util/List;Lcom/oracle/graal/pointsto/meta/AnalysisMethod;IILjava/util/Map;Ljava/util/Set;Ljava/util/LinkedHashSet;II)I
pop
end local 14 46: StackMap locals:
StackMap stack:
aload 15
invokeinterface java.util.Iterator.hasNext:()Z
ifne 38
47: aload 11
invokeinterface java.util.List.isEmpty:()Z
ifne 52
48: ldc "detected privileged calls originated in language packages "
49: aload 0
getfield com.oracle.svm.truffle.tck.PermissionsFeature.reportFilePath:Ljava/nio/file/Path;
50: aload 11
invokedynamic accept(Ljava/util/List;)Ljava/util/function/Consumer;
Bootstrap: invokestatic java.lang.invoke.LambdaMetafactory.metafactory:(Ljava/lang/invoke/MethodHandles$Lookup;Ljava/lang/String;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodHandle;Ljava/lang/invoke/MethodType;)Ljava/lang/invoke/CallSite;
Method arguments:
(Ljava/lang/Object;)V
com/oracle/svm/truffle/tck/PermissionsFeature.lambda$3(Ljava/util/List;Ljava/io/PrintWriter;)V (6)
(Ljava/io/PrintWriter;)V
51: invokestatic com.oracle.graal.pointsto.reports.ReportUtils.report:(Ljava/lang/String;Ljava/nio/file/Path;Ljava/util/function/Consumer;)V
end local 13 end local 12 end local 11 end local 10 end local 9 end local 8 end local 7 52: StackMap locals: com.oracle.svm.truffle.tck.PermissionsFeature org.graalvm.nativeimage.hosted.Feature$AfterAnalysisAccess com.oracle.svm.hosted.FeatureImpl$AfterAnalysisAccessImpl org.graalvm.compiler.debug.DebugContext java.lang.Throwable java.lang.Throwable org.graalvm.compiler.debug.DebugContext$Scope
StackMap stack:
aload 6
ifnull 58
aload 6
invokeinterface org.graalvm.compiler.debug.DebugContext$Scope.close:()V
goto 58
StackMap locals:
StackMap stack: java.lang.Throwable
53: astore 4
aload 6
ifnull 54
aload 6
invokeinterface org.graalvm.compiler.debug.DebugContext$Scope.close:()V
end local 6 StackMap locals:
StackMap stack:
54: aload 4
athrow
StackMap locals:
StackMap stack: java.lang.Throwable
55: astore 5
aload 4
ifnonnull 56
aload 5
astore 4
goto 57
StackMap locals:
StackMap stack:
56: aload 4
aload 5
if_acmpeq 57
aload 4
aload 5
invokevirtual java.lang.Throwable.addSuppressed:(Ljava/lang/Throwable;)V
StackMap locals:
StackMap stack:
57: aload 4
athrow
58: StackMap locals:
StackMap stack:
return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 59 0 this Lcom/oracle/svm/truffle/tck/PermissionsFeature;
0 59 1 access Lorg/graalvm/nativeimage/hosted/Feature$AfterAnalysisAccess;
6 59 2 accessImpl Lcom/oracle/svm/hosted/FeatureImpl$AfterAnalysisAccessImpl;
7 59 3 debugContext Lorg/graalvm/compiler/debug/DebugContext;
9 54 6 s Lorg/graalvm/compiler/debug/DebugContext$Scope;
10 52 7 bigbang Lcom/oracle/graal/pointsto/BigBang;
11 52 8 parser Lcom/oracle/svm/truffle/tck/WhiteListParser;
23 52 9 deniedMethods Ljava/util/Set<Lcom/oracle/graal/pointsto/meta/AnalysisMethod;>;
28 52 10 cg Ljava/util/Map<Lcom/oracle/graal/pointsto/meta/AnalysisMethod;Ljava/util/Set<Lcom/oracle/graal/pointsto/meta/AnalysisMethod;>;>;
29 52 11 report Ljava/util/List<Ljava/util/List<Lcom/oracle/graal/pointsto/meta/AnalysisMethod;>;>;
30 52 12 contextFilters Ljava/util/Set<Lcom/oracle/svm/truffle/tck/PermissionsFeature$CallGraphFilter;>;
34 52 13 maxStackDepth I
39 46 14 deniedMethod Lcom/oracle/graal/pointsto/meta/AnalysisMethod;
Exception table:
from to target type
0 2 3 Class java.io.IOException
9 52 53 any
8 55 55 any
MethodParameters:
Name Flags
access
private java.util.Map<com.oracle.graal.pointsto.meta.AnalysisMethod, java.util.Set<com.oracle.graal.pointsto.meta.AnalysisMethod>> callGraph(com.oracle.graal.pointsto.BigBang, java.util.Set<com.oracle.graal.pointsto.meta.AnalysisMethod>, org.graalvm.compiler.debug.DebugContext);
descriptor: (Lcom/oracle/graal/pointsto/BigBang;Ljava/util/Set;Lorg/graalvm/compiler/debug/DebugContext;)Ljava/util/Map;
flags: (0x0002) ACC_PRIVATE
Code:
stack=6, locals=9, args_size=4
start local 0 start local 1 start local 2 start local 3 0: new java.util.LinkedList
dup
invokespecial java.util.LinkedList.<init>:()V
astore 4
start local 4 1: new java.util.HashMap
dup
invokespecial java.util.HashMap.<init>:()V
astore 5
start local 5 2: aload 1
invokevirtual com.oracle.graal.pointsto.BigBang.getUniverse:()Lcom/oracle/graal/pointsto/meta/AnalysisUniverse;
invokevirtual com.oracle.graal.pointsto.meta.AnalysisUniverse.getMethods:()Ljava/util/Collection;
invokeinterface java.util.Collection.iterator:()Ljava/util/Iterator;
astore 7
goto 7
StackMap locals: com.oracle.svm.truffle.tck.PermissionsFeature com.oracle.graal.pointsto.BigBang java.util.Set org.graalvm.compiler.debug.DebugContext java.util.Deque java.util.Map top java.util.Iterator
StackMap stack:
3: aload 7
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast com.oracle.graal.pointsto.meta.AnalysisMethod
astore 6
start local 6 4: aload 6
invokevirtual com.oracle.graal.pointsto.meta.AnalysisMethod.isEntryPoint:()Z
ifeq 7
5: aload 5
aload 6
new java.util.HashSet
dup
invokespecial java.util.HashSet.<init>:()V
invokeinterface java.util.Map.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
6: aload 4
aload 6
invokeinterface java.util.Deque.offer:(Ljava/lang/Object;)Z
pop
end local 6 7: StackMap locals:
StackMap stack:
aload 7
invokeinterface java.util.Iterator.hasNext:()Z
ifne 3
8: new java.util.LinkedList
dup
invokespecial java.util.LinkedList.<init>:()V
astore 6
start local 6 9: aload 4
invokeinterface java.util.Deque.iterator:()Ljava/util/Iterator;
astore 8
goto 12
StackMap locals: com.oracle.svm.truffle.tck.PermissionsFeature com.oracle.graal.pointsto.BigBang java.util.Set org.graalvm.compiler.debug.DebugContext java.util.Deque java.util.Map java.util.Deque top java.util.Iterator
StackMap stack:
10: aload 8
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast com.oracle.graal.pointsto.meta.AnalysisMethod
astore 7
start local 7 11: aload 0
aload 7
aload 2
aload 5
aload 6
aload 3
invokevirtual com.oracle.svm.truffle.tck.PermissionsFeature.callGraphImpl:(Lcom/oracle/graal/pointsto/meta/AnalysisMethod;Ljava/util/Set;Ljava/util/Map;Ljava/util/Deque;Lorg/graalvm/compiler/debug/DebugContext;)Z
pop
end local 7 12: StackMap locals:
StackMap stack:
aload 8
invokeinterface java.util.Iterator.hasNext:()Z
ifne 10
13: aload 5
areturn
end local 6 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 14 0 this Lcom/oracle/svm/truffle/tck/PermissionsFeature;
0 14 1 bigbang Lcom/oracle/graal/pointsto/BigBang;
0 14 2 targets Ljava/util/Set<Lcom/oracle/graal/pointsto/meta/AnalysisMethod;>;
0 14 3 debugContext Lorg/graalvm/compiler/debug/DebugContext;
1 14 4 todo Ljava/util/Deque<Lcom/oracle/graal/pointsto/meta/AnalysisMethod;>;
2 14 5 visited Ljava/util/Map<Lcom/oracle/graal/pointsto/meta/AnalysisMethod;Ljava/util/Set<Lcom/oracle/graal/pointsto/meta/AnalysisMethod;>;>;
4 7 6 m Lcom/oracle/graal/pointsto/meta/AnalysisMethod;
9 14 6 path Ljava/util/Deque<Lcom/oracle/graal/pointsto/meta/AnalysisMethod;>;
11 12 7 m Lcom/oracle/graal/pointsto/meta/AnalysisMethod;
Signature: (Lcom/oracle/graal/pointsto/BigBang;Ljava/util/Set<Lcom/oracle/graal/pointsto/meta/AnalysisMethod;>;Lorg/graalvm/compiler/debug/DebugContext;)Ljava/util/Map<Lcom/oracle/graal/pointsto/meta/AnalysisMethod;Ljava/util/Set<Lcom/oracle/graal/pointsto/meta/AnalysisMethod;>;>;
MethodParameters:
Name Flags
bigbang
targets
debugContext
private boolean callGraphImpl(com.oracle.graal.pointsto.meta.AnalysisMethod, java.util.Set<com.oracle.graal.pointsto.meta.AnalysisMethod>, java.util.Map<com.oracle.graal.pointsto.meta.AnalysisMethod, java.util.Set<com.oracle.graal.pointsto.meta.AnalysisMethod>>, java.util.Deque<com.oracle.graal.pointsto.meta.AnalysisMethod>, org.graalvm.compiler.debug.DebugContext);
descriptor: (Lcom/oracle/graal/pointsto/meta/AnalysisMethod;Ljava/util/Set;Ljava/util/Map;Ljava/util/Deque;Lorg/graalvm/compiler/debug/DebugContext;)Z
flags: (0x0002) ACC_PRIVATE
Code:
stack=6, locals=17, args_size=6
start local 0 start local 1 start local 2 start local 3 start local 4 start local 5 0: aload 1
invokestatic com.oracle.svm.truffle.tck.PermissionsFeature.getMethodName:(Lcom/oracle/graal/pointsto/meta/AnalysisMethod;)Ljava/lang/String;
astore 6
start local 6 1: aload 4
aload 1
invokeinterface java.util.Deque.addFirst:(Ljava/lang/Object;)V
2: iconst_0
istore 7
start local 7 3: aload 5
iconst_5
ldc "Entered method: %s."
aload 6
invokevirtual org.graalvm.compiler.debug.DebugContext.log:(ILjava/lang/String;Ljava/lang/Object;)V
4: aload 1
invokevirtual com.oracle.graal.pointsto.meta.AnalysisMethod.getTypeFlow:()Lcom/oracle/graal/pointsto/flow/MethodTypeFlow;
invokevirtual com.oracle.graal.pointsto.flow.MethodTypeFlow.getInvokes:()Ljava/util/Collection;
invokeinterface java.util.Collection.iterator:()Ljava/util/Iterator;
astore 9
goto 34
StackMap locals: com.oracle.svm.truffle.tck.PermissionsFeature com.oracle.graal.pointsto.meta.AnalysisMethod java.util.Set java.util.Map java.util.Deque org.graalvm.compiler.debug.DebugContext java.lang.String int top java.util.Iterator
StackMap stack:
5: aload 9
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast com.oracle.graal.pointsto.flow.InvokeTypeFlow
astore 8
start local 8 6: aload 8
invokevirtual com.oracle.graal.pointsto.flow.InvokeTypeFlow.getCallees:()Ljava/util/Collection;
invokeinterface java.util.Collection.iterator:()Ljava/util/Iterator;
astore 11
goto 33
StackMap locals: com.oracle.svm.truffle.tck.PermissionsFeature com.oracle.graal.pointsto.meta.AnalysisMethod java.util.Set java.util.Map java.util.Deque org.graalvm.compiler.debug.DebugContext java.lang.String int com.oracle.graal.pointsto.flow.InvokeTypeFlow java.util.Iterator top java.util.Iterator
StackMap stack:
7: aload 11
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast com.oracle.graal.pointsto.meta.AnalysisMethod
astore 10
start local 10 8: aload 3
aload 10
invokeinterface java.util.Map.get:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast java.util.Set
astore 12
start local 12 9: aload 10
invokestatic com.oracle.svm.truffle.tck.PermissionsFeature.getMethodName:(Lcom/oracle/graal/pointsto/meta/AnalysisMethod;)Ljava/lang/String;
astore 13
start local 13 10: aload 5
iconst_5
ldc "Callee: %s, new: %b."
aload 13
aload 12
ifnonnull 11
iconst_1
goto 12
StackMap locals: com.oracle.svm.truffle.tck.PermissionsFeature com.oracle.graal.pointsto.meta.AnalysisMethod java.util.Set java.util.Map java.util.Deque org.graalvm.compiler.debug.DebugContext java.lang.String int com.oracle.graal.pointsto.flow.InvokeTypeFlow java.util.Iterator com.oracle.graal.pointsto.meta.AnalysisMethod java.util.Iterator java.util.Set java.lang.String
StackMap stack: org.graalvm.compiler.debug.DebugContext int java.lang.String java.lang.String
11: iconst_0
StackMap locals: com.oracle.svm.truffle.tck.PermissionsFeature com.oracle.graal.pointsto.meta.AnalysisMethod java.util.Set java.util.Map java.util.Deque org.graalvm.compiler.debug.DebugContext java.lang.String int com.oracle.graal.pointsto.flow.InvokeTypeFlow java.util.Iterator com.oracle.graal.pointsto.meta.AnalysisMethod java.util.Iterator java.util.Set java.lang.String
StackMap stack: org.graalvm.compiler.debug.DebugContext int java.lang.String java.lang.String int
12: invokestatic java.lang.Boolean.valueOf:(Z)Ljava/lang/Boolean;
invokevirtual org.graalvm.compiler.debug.DebugContext.log:(ILjava/lang/String;Ljava/lang/Object;Ljava/lang/Object;)V
13: aload 12
ifnonnull 26
14: new java.util.HashSet
dup
invokespecial java.util.HashSet.<init>:()V
astore 12
15: aload 3
aload 10
aload 12
invokeinterface java.util.Map.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
16: aload 2
aload 10
invokeinterface java.util.Set.contains:(Ljava/lang/Object;)Z
ifeq 20
17: aload 12
aload 1
invokeinterface java.util.Set.add:(Ljava/lang/Object;)Z
pop
18: iconst_1
istore 7
19: goto 33
20: StackMap locals:
StackMap stack:
aload 0
aload 10
aload 2
aload 3
aload 4
aload 5
invokevirtual com.oracle.svm.truffle.tck.PermissionsFeature.callGraphImpl:(Lcom/oracle/graal/pointsto/meta/AnalysisMethod;Ljava/util/Set;Ljava/util/Map;Ljava/util/Deque;Lorg/graalvm/compiler/debug/DebugContext;)Z
istore 14
start local 14 21: iload 14
ifeq 24
22: aload 12
aload 1
invokeinterface java.util.Set.add:(Ljava/lang/Object;)Z
pop
23: aload 5
iconst_5
ldc "Added callee: %s for %s."
aload 13
aload 6
invokevirtual org.graalvm.compiler.debug.DebugContext.log:(ILjava/lang/String;Ljava/lang/Object;Ljava/lang/Object;)V
24: StackMap locals: int
StackMap stack:
iload 7
iload 14
ior
istore 7
end local 14 25: goto 33
StackMap locals:
StackMap stack:
26: aload 10
aload 4
invokestatic com.oracle.svm.truffle.tck.PermissionsFeature.isBacktrace:(Lcom/oracle/graal/pointsto/meta/AnalysisMethod;Ljava/util/Deque;)Z
ifeq 27
aload 10
aload 4
invokestatic com.oracle.svm.truffle.tck.PermissionsFeature.isBackTraceOverLanguageMethod:(Lcom/oracle/graal/pointsto/meta/AnalysisMethod;Ljava/util/Deque;)Z
ifeq 31
27: StackMap locals:
StackMap stack:
aload 12
aload 1
invokeinterface java.util.Set.add:(Ljava/lang/Object;)Z
pop
28: aload 5
iconst_5
ldc "Added backtrace callee: %s for %s."
aload 13
aload 6
invokevirtual org.graalvm.compiler.debug.DebugContext.log:(ILjava/lang/String;Ljava/lang/Object;Ljava/lang/Object;)V
29: iconst_1
istore 7
30: goto 33
31: StackMap locals:
StackMap stack:
aload 5
iconst_5
invokevirtual org.graalvm.compiler.debug.DebugContext.isLogEnabled:(I)Z
ifeq 33
32: aload 5
iconst_5
ldc "Ignoring backtrace callee: %s for %s."
aload 13
aload 6
invokevirtual org.graalvm.compiler.debug.DebugContext.log:(ILjava/lang/String;Ljava/lang/Object;Ljava/lang/Object;)V
end local 13 end local 12 end local 10 33: StackMap locals: com.oracle.svm.truffle.tck.PermissionsFeature com.oracle.graal.pointsto.meta.AnalysisMethod java.util.Set java.util.Map java.util.Deque org.graalvm.compiler.debug.DebugContext java.lang.String int com.oracle.graal.pointsto.flow.InvokeTypeFlow java.util.Iterator top java.util.Iterator
StackMap stack:
aload 11
invokeinterface java.util.Iterator.hasNext:()Z
ifne 7
end local 8 34: StackMap locals: com.oracle.svm.truffle.tck.PermissionsFeature com.oracle.graal.pointsto.meta.AnalysisMethod java.util.Set java.util.Map java.util.Deque org.graalvm.compiler.debug.DebugContext java.lang.String int top java.util.Iterator
StackMap stack:
aload 9
invokeinterface java.util.Iterator.hasNext:()Z
ifne 5
35: aload 5
iconst_5
ldc "Exited method: %s."
aload 6
invokevirtual org.graalvm.compiler.debug.DebugContext.log:(ILjava/lang/String;Ljava/lang/Object;)V
36: iload 7
istore 16
37: aload 4
invokeinterface java.util.Deque.removeFirst:()Ljava/lang/Object;
pop
38: iload 16
ireturn
end local 7 39: StackMap locals: com.oracle.svm.truffle.tck.PermissionsFeature com.oracle.graal.pointsto.meta.AnalysisMethod java.util.Set java.util.Map java.util.Deque org.graalvm.compiler.debug.DebugContext java.lang.String
StackMap stack: java.lang.Throwable
astore 15
40: aload 4
invokeinterface java.util.Deque.removeFirst:()Ljava/lang/Object;
pop
41: aload 15
athrow
end local 6 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 42 0 this Lcom/oracle/svm/truffle/tck/PermissionsFeature;
0 42 1 m Lcom/oracle/graal/pointsto/meta/AnalysisMethod;
0 42 2 targets Ljava/util/Set<Lcom/oracle/graal/pointsto/meta/AnalysisMethod;>;
0 42 3 visited Ljava/util/Map<Lcom/oracle/graal/pointsto/meta/AnalysisMethod;Ljava/util/Set<Lcom/oracle/graal/pointsto/meta/AnalysisMethod;>;>;
0 42 4 path Ljava/util/Deque<Lcom/oracle/graal/pointsto/meta/AnalysisMethod;>;
0 42 5 debugContext Lorg/graalvm/compiler/debug/DebugContext;
1 42 6 mName Ljava/lang/String;
3 39 7 callPathContainsTarget Z
6 34 8 invoke Lcom/oracle/graal/pointsto/flow/InvokeTypeFlow;
8 33 10 callee Lcom/oracle/graal/pointsto/meta/AnalysisMethod;
9 33 12 parents Ljava/util/Set<Lcom/oracle/graal/pointsto/meta/AnalysisMethod;>;
10 33 13 calleeName Ljava/lang/String;
21 25 14 add Z
Exception table:
from to target type
2 37 39 any
Signature: (Lcom/oracle/graal/pointsto/meta/AnalysisMethod;Ljava/util/Set<Lcom/oracle/graal/pointsto/meta/AnalysisMethod;>;Ljava/util/Map<Lcom/oracle/graal/pointsto/meta/AnalysisMethod;Ljava/util/Set<Lcom/oracle/graal/pointsto/meta/AnalysisMethod;>;>;Ljava/util/Deque<Lcom/oracle/graal/pointsto/meta/AnalysisMethod;>;Lorg/graalvm/compiler/debug/DebugContext;)Z
MethodParameters:
Name Flags
m
targets
visited
path
debugContext
private static boolean isBacktrace(com.oracle.graal.pointsto.meta.AnalysisMethod, java.util.Deque<com.oracle.graal.pointsto.meta.AnalysisMethod>);
descriptor: (Lcom/oracle/graal/pointsto/meta/AnalysisMethod;Ljava/util/Deque;)Z
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 1
aload 0
invokeinterface java.util.Deque.contains:(Ljava/lang/Object;)Z
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 method Lcom/oracle/graal/pointsto/meta/AnalysisMethod;
0 1 1 path Ljava/util/Deque<Lcom/oracle/graal/pointsto/meta/AnalysisMethod;>;
Signature: (Lcom/oracle/graal/pointsto/meta/AnalysisMethod;Ljava/util/Deque<Lcom/oracle/graal/pointsto/meta/AnalysisMethod;>;)Z
MethodParameters:
Name Flags
method
path
private static boolean isBackTraceOverLanguageMethod(com.oracle.graal.pointsto.meta.AnalysisMethod, java.util.Deque<com.oracle.graal.pointsto.meta.AnalysisMethod>);
descriptor: (Lcom/oracle/graal/pointsto/meta/AnalysisMethod;Ljava/util/Deque;)Z
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=2, locals=5, args_size=2
start local 0 start local 1 0: aload 0
invokestatic com.oracle.svm.truffle.tck.PermissionsFeature.isCompilerClass:(Lcom/oracle/graal/pointsto/meta/AnalysisMethod;)Z
ifne 2
aload 0
invokestatic com.oracle.svm.truffle.tck.PermissionsFeature.isSystemClass:(Lcom/oracle/graal/pointsto/meta/AnalysisMethod;)Z
ifne 2
1: iconst_0
ireturn
2: StackMap locals:
StackMap stack:
iconst_0
istore 2
start local 2 3: aload 1
invokeinterface java.util.Deque.descendingIterator:()Ljava/util/Iterator;
astore 3
start local 3 4: goto 11
5: StackMap locals: int java.util.Iterator
StackMap stack:
aload 3
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast com.oracle.graal.pointsto.meta.AnalysisMethod
astore 4
start local 4 6: aload 0
aload 4
invokevirtual com.oracle.graal.pointsto.meta.AnalysisMethod.equals:(Ljava/lang/Object;)Z
ifeq 9
7: iconst_1
istore 2
8: goto 11
StackMap locals: com.oracle.graal.pointsto.meta.AnalysisMethod
StackMap stack:
9: iload 2
ifeq 11
aload 4
invokestatic com.oracle.svm.truffle.tck.PermissionsFeature.isCompilerClass:(Lcom/oracle/graal/pointsto/meta/AnalysisMethod;)Z
ifne 11
aload 4
invokestatic com.oracle.svm.truffle.tck.PermissionsFeature.isSystemClass:(Lcom/oracle/graal/pointsto/meta/AnalysisMethod;)Z
ifne 11
10: iconst_1
ireturn
end local 4 11: StackMap locals:
StackMap stack:
aload 3
invokeinterface java.util.Iterator.hasNext:()Z
ifne 5
end local 3 12: iconst_0
ireturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 13 0 method Lcom/oracle/graal/pointsto/meta/AnalysisMethod;
0 13 1 path Ljava/util/Deque<Lcom/oracle/graal/pointsto/meta/AnalysisMethod;>;
3 13 2 found Z
4 12 3 it Ljava/util/Iterator<Lcom/oracle/graal/pointsto/meta/AnalysisMethod;>;
6 11 4 pe Lcom/oracle/graal/pointsto/meta/AnalysisMethod;
Signature: (Lcom/oracle/graal/pointsto/meta/AnalysisMethod;Ljava/util/Deque<Lcom/oracle/graal/pointsto/meta/AnalysisMethod;>;)Z
MethodParameters:
Name Flags
method
path
private int collectViolations(java.util.List<? super java.util.List<com.oracle.graal.pointsto.meta.AnalysisMethod>>, com.oracle.graal.pointsto.meta.AnalysisMethod, int, int, java.util.Map<com.oracle.graal.pointsto.meta.AnalysisMethod, java.util.Set<com.oracle.graal.pointsto.meta.AnalysisMethod>>, java.util.Set<com.oracle.svm.truffle.tck.PermissionsFeature$CallGraphFilter>, java.util.LinkedHashSet<com.oracle.graal.pointsto.meta.AnalysisMethod>, int, );
descriptor: (Ljava/util/List;Lcom/oracle/graal/pointsto/meta/AnalysisMethod;IILjava/util/Map;Ljava/util/Set;Ljava/util/LinkedHashSet;II)I
flags: (0x0002) ACC_PRIVATE
Code:
stack=10, locals=17, args_size=10
start local 0 start local 1 start local 2 start local 3 start local 4 start local 5 start local 6 start local 7 start local 8 start local 9 0: iload 9
istore 10
start local 10 1: iload 10
iload 4
if_icmplt 3
2: iload 10
ireturn
3: StackMap locals: int
StackMap stack:
iload 8
iconst_1
if_icmple 8
4: aload 2
invokestatic com.oracle.svm.truffle.tck.PermissionsFeature.isCompilerClass:(Lcom/oracle/graal/pointsto/meta/AnalysisMethod;)Z
ifeq 6
5: iload 10
ireturn
6: StackMap locals:
StackMap stack:
aload 0
aload 2
invokevirtual com.oracle.svm.truffle.tck.PermissionsFeature.isExcludedClass:(Lcom/oracle/graal/pointsto/meta/AnalysisMethod;)Z
ifeq 8
7: iload 10
ireturn
8: StackMap locals:
StackMap stack:
aload 7
aload 2
invokevirtual java.util.LinkedHashSet.contains:(Ljava/lang/Object;)Z
ifne 34
9: aload 7
aload 2
invokevirtual java.util.LinkedHashSet.add:(Ljava/lang/Object;)Z
pop
10: aload 5
aload 2
invokeinterface java.util.Map.get:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast java.util.Set
astore 11
start local 11 11: iload 8
iload 3
if_icmple 15
12: aload 11
invokeinterface java.util.Set.isEmpty:()Z
ifne 33
13: aload 0
aload 1
aload 11
invokeinterface java.util.Set.iterator:()Ljava/util/Iterator;
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast com.oracle.graal.pointsto.meta.AnalysisMethod
iload 3
iload 4
aload 5
aload 6
aload 7
iload 8
iconst_1
iadd
iload 10
invokevirtual com.oracle.svm.truffle.tck.PermissionsFeature.collectViolations:(Ljava/util/List;Lcom/oracle/graal/pointsto/meta/AnalysisMethod;IILjava/util/Map;Ljava/util/Set;Ljava/util/LinkedHashSet;II)I
istore 10
14: goto 33
StackMap locals: java.util.Set
StackMap stack:
15: aload 2
invokestatic com.oracle.svm.truffle.tck.PermissionsFeature.isSystemClass:(Lcom/oracle/graal/pointsto/meta/AnalysisMethod;)Z
ifne 20
aload 0
aload 2
invokevirtual com.oracle.svm.truffle.tck.PermissionsFeature.isReflectionProxy:(Lcom/oracle/graal/pointsto/meta/AnalysisMethod;)Z
ifne 20
16: new java.util.ArrayList
dup
aload 7
invokespecial java.util.ArrayList.<init>:(Ljava/util/Collection;)V
astore 12
start local 12 17: aload 1
aload 12
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
18: iinc 10 1
end local 12 19: goto 33
20: StackMap locals:
StackMap stack:
aload 11
invokeinterface java.util.Set.iterator:()Ljava/util/Iterator;
astore 13
goto 28
StackMap locals: com.oracle.svm.truffle.tck.PermissionsFeature java.util.List com.oracle.graal.pointsto.meta.AnalysisMethod int int java.util.Map java.util.Set java.util.LinkedHashSet int int int java.util.Set top java.util.Iterator
StackMap stack:
21: aload 13
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast com.oracle.graal.pointsto.meta.AnalysisMethod
astore 12
start local 12 22: aload 6
invokeinterface java.util.Set.iterator:()Ljava/util/Iterator;
astore 15
goto 26
StackMap locals: com.oracle.svm.truffle.tck.PermissionsFeature java.util.List com.oracle.graal.pointsto.meta.AnalysisMethod int int java.util.Map java.util.Set java.util.LinkedHashSet int int int java.util.Set com.oracle.graal.pointsto.meta.AnalysisMethod java.util.Iterator top java.util.Iterator
StackMap stack:
23: aload 15
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast com.oracle.svm.truffle.tck.PermissionsFeature$CallGraphFilter
astore 14
start local 14 24: aload 14
aload 2
aload 12
aload 7
invokeinterface com.oracle.svm.truffle.tck.PermissionsFeature$CallGraphFilter.test:(Lcom/oracle/graal/pointsto/meta/AnalysisMethod;Lcom/oracle/graal/pointsto/meta/AnalysisMethod;Ljava/util/LinkedHashSet;)Z
ifeq 26
25: goto 28
end local 14 26: StackMap locals:
StackMap stack:
aload 15
invokeinterface java.util.Iterator.hasNext:()Z
ifne 23
27: aload 0
aload 1
aload 12
iload 3
iload 4
aload 5
aload 6
aload 7
iload 8
iconst_1
iadd
iload 10
invokevirtual com.oracle.svm.truffle.tck.PermissionsFeature.collectViolations:(Ljava/util/List;Lcom/oracle/graal/pointsto/meta/AnalysisMethod;IILjava/util/Map;Ljava/util/Set;Ljava/util/LinkedHashSet;II)I
istore 10
end local 12 28: StackMap locals: com.oracle.svm.truffle.tck.PermissionsFeature java.util.List com.oracle.graal.pointsto.meta.AnalysisMethod int int java.util.Map java.util.Set java.util.LinkedHashSet int int int java.util.Set top java.util.Iterator
StackMap stack:
aload 13
invokeinterface java.util.Iterator.hasNext:()Z
ifne 21
end local 11 29: goto 33
StackMap locals: com.oracle.svm.truffle.tck.PermissionsFeature java.util.List com.oracle.graal.pointsto.meta.AnalysisMethod int int java.util.Map java.util.Set java.util.LinkedHashSet int int int
StackMap stack: java.lang.Throwable
30: astore 16
31: aload 7
aload 2
invokevirtual java.util.LinkedHashSet.remove:(Ljava/lang/Object;)Z
pop
32: aload 16
athrow
33: StackMap locals:
StackMap stack:
aload 7
aload 2
invokevirtual java.util.LinkedHashSet.remove:(Ljava/lang/Object;)Z
pop
34: StackMap locals:
StackMap stack:
iload 10
ireturn
end local 10 end local 9 end local 8 end local 7 end local 6 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 35 0 this Lcom/oracle/svm/truffle/tck/PermissionsFeature;
0 35 1 report Ljava/util/List<-Ljava/util/List<Lcom/oracle/graal/pointsto/meta/AnalysisMethod;>;>;
0 35 2 m Lcom/oracle/graal/pointsto/meta/AnalysisMethod;
0 35 3 maxDepth I
0 35 4 maxReports I
0 35 5 callGraph Ljava/util/Map<Lcom/oracle/graal/pointsto/meta/AnalysisMethod;Ljava/util/Set<Lcom/oracle/graal/pointsto/meta/AnalysisMethod;>;>;
0 35 6 contextFilters Ljava/util/Set<Lcom/oracle/svm/truffle/tck/PermissionsFeature$CallGraphFilter;>;
0 35 7 visited Ljava/util/LinkedHashSet<Lcom/oracle/graal/pointsto/meta/AnalysisMethod;>;
0 35 8 depth I
0 35 9 noReports I
1 35 10 useNoReports I
11 29 11 callers Ljava/util/Set<Lcom/oracle/graal/pointsto/meta/AnalysisMethod;>;
17 19 12 callPath Ljava/util/List<Lcom/oracle/graal/pointsto/meta/AnalysisMethod;>;
22 28 12 caller Lcom/oracle/graal/pointsto/meta/AnalysisMethod;
24 26 14 filter Lcom/oracle/svm/truffle/tck/PermissionsFeature$CallGraphFilter;
Exception table:
from to target type
10 30 30 any
Signature: (Ljava/util/List<-Ljava/util/List<Lcom/oracle/graal/pointsto/meta/AnalysisMethod;>;>;Lcom/oracle/graal/pointsto/meta/AnalysisMethod;IILjava/util/Map<Lcom/oracle/graal/pointsto/meta/AnalysisMethod;Ljava/util/Set<Lcom/oracle/graal/pointsto/meta/AnalysisMethod;>;>;Ljava/util/Set<Lcom/oracle/svm/truffle/tck/PermissionsFeature$CallGraphFilter;>;Ljava/util/LinkedHashSet<Lcom/oracle/graal/pointsto/meta/AnalysisMethod;>;II)I
MethodParameters:
Name Flags
report
m
maxDepth
maxReports
callGraph
contextFilters
visited
depth
noReports
private boolean isReflectionProxy(com.oracle.graal.pointsto.meta.AnalysisMethod);
descriptor: (Lcom/oracle/graal/pointsto/meta/AnalysisMethod;)Z
flags: (0x0002) ACC_PRIVATE
Code:
stack=2, locals=6, args_size=2
start local 0 start local 1 0: aload 1
invokevirtual com.oracle.graal.pointsto.meta.AnalysisMethod.getDeclaringClass:()Lcom/oracle/graal/pointsto/meta/AnalysisType;
invokevirtual com.oracle.graal.pointsto.meta.AnalysisType.getInterfaces:()[Lcom/oracle/graal/pointsto/meta/AnalysisType;
dup
astore 5
arraylength
istore 4
iconst_0
istore 3
goto 5
StackMap locals: com.oracle.svm.truffle.tck.PermissionsFeature com.oracle.graal.pointsto.meta.AnalysisMethod top int int com.oracle.graal.pointsto.meta.AnalysisType[]
StackMap stack:
1: aload 5
iload 3
aaload
astore 2
start local 2 2: aload 2
aload 0
getfield com.oracle.svm.truffle.tck.PermissionsFeature.reflectionProxy:Lcom/oracle/graal/pointsto/meta/AnalysisType;
invokevirtual com.oracle.graal.pointsto.meta.AnalysisType.equals:(Ljava/lang/Object;)Z
ifeq 4
3: iconst_1
ireturn
end local 2 4: StackMap locals:
StackMap stack:
iinc 3 1
StackMap locals:
StackMap stack:
5: iload 3
iload 4
if_icmplt 1
6: iconst_0
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Lcom/oracle/svm/truffle/tck/PermissionsFeature;
0 7 1 method Lcom/oracle/graal/pointsto/meta/AnalysisMethod;
2 4 2 iface Lcom/oracle/graal/pointsto/meta/AnalysisType;
MethodParameters:
Name Flags
method
private static boolean isSystemClass(com.oracle.graal.pointsto.meta.AnalysisMethod);
descriptor: (Lcom/oracle/graal/pointsto/meta/AnalysisMethod;)Z
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=2, locals=2, args_size=1
start local 0 0: aload 0
invokevirtual com.oracle.graal.pointsto.meta.AnalysisMethod.getDeclaringClass:()Lcom/oracle/graal/pointsto/meta/AnalysisType;
invokevirtual com.oracle.graal.pointsto.meta.AnalysisType.getJavaClass:()Ljava/lang/Class;
astore 1
start local 1 1: aload 1
ifnonnull 3
2: iconst_0
ireturn
3: StackMap locals: java.lang.Class
StackMap stack:
aload 1
invokevirtual java.lang.Class.getClassLoader:()Ljava/lang/ClassLoader;
ifnull 4
getstatic com.oracle.svm.truffle.tck.PermissionsFeature.systemClassLoaders:Ljava/util/Set;
aload 1
invokevirtual java.lang.Class.getClassLoader:()Ljava/lang/ClassLoader;
invokeinterface java.util.Set.contains:(Ljava/lang/Object;)Z
ifne 4
iconst_0
ireturn
StackMap locals:
StackMap stack:
4: iconst_1
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 method Lcom/oracle/graal/pointsto/meta/AnalysisMethod;
1 5 1 clz Ljava/lang/Class<*>;
MethodParameters:
Name Flags
method
private static boolean isCompilerClass(com.oracle.graal.pointsto.meta.AnalysisMethod);
descriptor: (Lcom/oracle/graal/pointsto/meta/AnalysisMethod;)Z
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
invokestatic com.oracle.svm.truffle.tck.PermissionsFeature.getClassName:(Lcom/oracle/graal/pointsto/meta/AnalysisMethod;)Ljava/lang/String;
getstatic com.oracle.svm.truffle.tck.PermissionsFeature.compilerPackages:Ljava/util/Set;
invokestatic com.oracle.svm.truffle.tck.PermissionsFeature.isClassInPackage:(Ljava/lang/String;Ljava/util/Collection;)Z
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 method Lcom/oracle/graal/pointsto/meta/AnalysisMethod;
MethodParameters:
Name Flags
method
private boolean isExcludedClass(com.oracle.graal.pointsto.meta.AnalysisMethod);
descriptor: (Lcom/oracle/graal/pointsto/meta/AnalysisMethod;)Z
flags: (0x0002) ACC_PRIVATE
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield com.oracle.svm.truffle.tck.PermissionsFeature.whiteList:Ljava/util/Set;
aload 1
invokeinterface java.util.Set.contains:(Ljava/lang/Object;)Z
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/oracle/svm/truffle/tck/PermissionsFeature;
0 1 1 method Lcom/oracle/graal/pointsto/meta/AnalysisMethod;
MethodParameters:
Name Flags
method
private static boolean isClassInPackage(java.lang.String, java.util.Collection<? extends java.lang.String>);
descriptor: (Ljava/lang/String;Ljava/util/Collection;)Z
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=2, locals=4, args_size=2
start local 0 start local 1 0: aload 1
invokeinterface java.util.Collection.iterator:()Ljava/util/Iterator;
astore 3
goto 4
StackMap locals: java.lang.String java.util.Collection top java.util.Iterator
StackMap stack:
1: aload 3
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast java.lang.String
astore 2
start local 2 2: aload 0
aload 2
invokevirtual java.lang.String.startsWith:(Ljava/lang/String;)Z
ifeq 4
3: iconst_1
ireturn
end local 2 4: StackMap locals:
StackMap stack:
aload 3
invokeinterface java.util.Iterator.hasNext:()Z
ifne 1
5: iconst_0
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 javaName Ljava/lang/String;
0 6 1 packages Ljava/util/Collection<+Ljava/lang/String;>;
2 4 2 pkg Ljava/lang/String;
Signature: (Ljava/lang/String;Ljava/util/Collection<+Ljava/lang/String;>;)Z
MethodParameters:
Name Flags
javaName
packages
private static java.util.Set<com.oracle.graal.pointsto.meta.AnalysisMethod> findMethods(com.oracle.graal.pointsto.BigBang, java.lang.Class<?>, java.util.function.Predicate<jdk.vm.ci.meta.ResolvedJavaMethod>);
descriptor: (Lcom/oracle/graal/pointsto/BigBang;Ljava/lang/Class;Ljava/util/function/Predicate;)Ljava/util/Set;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=5, locals=4, args_size=3
start local 0 start local 1 start local 2 0: aload 0
aload 1
invokevirtual com.oracle.graal.pointsto.BigBang.forClass:(Ljava/lang/Class;)Lcom/oracle/graal/pointsto/meta/AnalysisType;
astore 3
start local 3 1: aload 3
ifnonnull 3
2: new java.lang.IllegalStateException
dup
new java.lang.StringBuilder
dup
ldc "Cannot resolve "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 1
invokevirtual java.lang.Class.getName:()Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
ldc "."
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokespecial java.lang.IllegalStateException.<init>:(Ljava/lang/String;)V
athrow
3: StackMap locals: com.oracle.graal.pointsto.meta.AnalysisType
StackMap stack:
aload 0
aload 3
aload 2
invokestatic com.oracle.svm.truffle.tck.PermissionsFeature.findMethods:(Lcom/oracle/graal/pointsto/BigBang;Lcom/oracle/graal/pointsto/meta/AnalysisType;Ljava/util/function/Predicate;)Ljava/util/Set;
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 bigBang Lcom/oracle/graal/pointsto/BigBang;
0 4 1 owner Ljava/lang/Class<*>;
0 4 2 filter Ljava/util/function/Predicate<Ljdk/vm/ci/meta/ResolvedJavaMethod;>;
1 4 3 clazz Lcom/oracle/graal/pointsto/meta/AnalysisType;
Signature: (Lcom/oracle/graal/pointsto/BigBang;Ljava/lang/Class<*>;Ljava/util/function/Predicate<Ljdk/vm/ci/meta/ResolvedJavaMethod;>;)Ljava/util/Set<Lcom/oracle/graal/pointsto/meta/AnalysisMethod;>;
MethodParameters:
Name Flags
bigBang
owner
filter
static java.util.Set<com.oracle.graal.pointsto.meta.AnalysisMethod> findMethods(com.oracle.graal.pointsto.BigBang, com.oracle.graal.pointsto.meta.AnalysisType, java.util.function.Predicate<jdk.vm.ci.meta.ResolvedJavaMethod>);
descriptor: (Lcom/oracle/graal/pointsto/BigBang;Lcom/oracle/graal/pointsto/meta/AnalysisType;Ljava/util/function/Predicate;)Ljava/util/Set;
flags: (0x0008) ACC_STATIC
Code:
stack=3, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
aload 1
invokevirtual com.oracle.graal.pointsto.meta.AnalysisType.getWrappedWithoutResolve:()Ljdk/vm/ci/meta/ResolvedJavaType;
invokeinterface jdk.vm.ci.meta.ResolvedJavaType.getDeclaredMethods:()[Ljdk/vm/ci/meta/ResolvedJavaMethod;
aload 2
invokestatic com.oracle.svm.truffle.tck.PermissionsFeature.findImpl:(Lcom/oracle/graal/pointsto/BigBang;[Ljdk/vm/ci/meta/ResolvedJavaMethod;Ljava/util/function/Predicate;)Ljava/util/Set;
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 bigBang Lcom/oracle/graal/pointsto/BigBang;
0 1 1 owner Lcom/oracle/graal/pointsto/meta/AnalysisType;
0 1 2 filter Ljava/util/function/Predicate<Ljdk/vm/ci/meta/ResolvedJavaMethod;>;
Signature: (Lcom/oracle/graal/pointsto/BigBang;Lcom/oracle/graal/pointsto/meta/AnalysisType;Ljava/util/function/Predicate<Ljdk/vm/ci/meta/ResolvedJavaMethod;>;)Ljava/util/Set<Lcom/oracle/graal/pointsto/meta/AnalysisMethod;>;
MethodParameters:
Name Flags
bigBang
owner
filter
static java.util.Set<com.oracle.graal.pointsto.meta.AnalysisMethod> findConstructors(com.oracle.graal.pointsto.BigBang, com.oracle.graal.pointsto.meta.AnalysisType, java.util.function.Predicate<jdk.vm.ci.meta.ResolvedJavaMethod>);
descriptor: (Lcom/oracle/graal/pointsto/BigBang;Lcom/oracle/graal/pointsto/meta/AnalysisType;Ljava/util/function/Predicate;)Ljava/util/Set;
flags: (0x0008) ACC_STATIC
Code:
stack=3, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
aload 1
invokevirtual com.oracle.graal.pointsto.meta.AnalysisType.getWrappedWithoutResolve:()Ljdk/vm/ci/meta/ResolvedJavaType;
invokeinterface jdk.vm.ci.meta.ResolvedJavaType.getDeclaredConstructors:()[Ljdk/vm/ci/meta/ResolvedJavaMethod;
aload 2
invokestatic com.oracle.svm.truffle.tck.PermissionsFeature.findImpl:(Lcom/oracle/graal/pointsto/BigBang;[Ljdk/vm/ci/meta/ResolvedJavaMethod;Ljava/util/function/Predicate;)Ljava/util/Set;
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 bigBang Lcom/oracle/graal/pointsto/BigBang;
0 1 1 owner Lcom/oracle/graal/pointsto/meta/AnalysisType;
0 1 2 filter Ljava/util/function/Predicate<Ljdk/vm/ci/meta/ResolvedJavaMethod;>;
Signature: (Lcom/oracle/graal/pointsto/BigBang;Lcom/oracle/graal/pointsto/meta/AnalysisType;Ljava/util/function/Predicate<Ljdk/vm/ci/meta/ResolvedJavaMethod;>;)Ljava/util/Set<Lcom/oracle/graal/pointsto/meta/AnalysisMethod;>;
MethodParameters:
Name Flags
bigBang
owner
filter
private static java.util.Set<com.oracle.graal.pointsto.meta.AnalysisMethod> findImpl(com.oracle.graal.pointsto.BigBang, jdk.vm.ci.meta.ResolvedJavaMethod[], java.util.function.Predicate<jdk.vm.ci.meta.ResolvedJavaMethod>);
descriptor: (Lcom/oracle/graal/pointsto/BigBang;[Ljdk/vm/ci/meta/ResolvedJavaMethod;Ljava/util/function/Predicate;)Ljava/util/Set;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=3, locals=8, args_size=3
start local 0 start local 1 start local 2 0: new java.util.HashSet
dup
invokespecial java.util.HashSet.<init>:()V
astore 3
start local 3 1: aload 1
dup
astore 7
arraylength
istore 6
iconst_0
istore 5
goto 6
StackMap locals: com.oracle.graal.pointsto.BigBang jdk.vm.ci.meta.ResolvedJavaMethod[] java.util.function.Predicate java.util.Set top int int jdk.vm.ci.meta.ResolvedJavaMethod[]
StackMap stack:
2: aload 7
iload 5
aaload
astore 4
start local 4 3: aload 2
aload 4
invokeinterface java.util.function.Predicate.test:(Ljava/lang/Object;)Z
ifeq 5
4: aload 3
aload 0
invokevirtual com.oracle.graal.pointsto.BigBang.getUniverse:()Lcom/oracle/graal/pointsto/meta/AnalysisUniverse;
aload 4
invokevirtual com.oracle.graal.pointsto.meta.AnalysisUniverse.lookup:(Ljdk/vm/ci/meta/JavaMethod;)Lcom/oracle/graal/pointsto/meta/AnalysisMethod;
invokeinterface java.util.Set.add:(Ljava/lang/Object;)Z
pop
end local 4 5: StackMap locals:
StackMap stack:
iinc 5 1
StackMap locals:
StackMap stack:
6: iload 5
iload 6
if_icmplt 2
7: aload 3
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 bigBang Lcom/oracle/graal/pointsto/BigBang;
0 8 1 methods [Ljdk/vm/ci/meta/ResolvedJavaMethod;
0 8 2 filter Ljava/util/function/Predicate<Ljdk/vm/ci/meta/ResolvedJavaMethod;>;
1 8 3 result Ljava/util/Set<Lcom/oracle/graal/pointsto/meta/AnalysisMethod;>;
3 5 4 m Ljdk/vm/ci/meta/ResolvedJavaMethod;
Signature: (Lcom/oracle/graal/pointsto/BigBang;[Ljdk/vm/ci/meta/ResolvedJavaMethod;Ljava/util/function/Predicate<Ljdk/vm/ci/meta/ResolvedJavaMethod;>;)Ljava/util/Set<Lcom/oracle/graal/pointsto/meta/AnalysisMethod;>;
MethodParameters:
Name Flags
bigBang
methods
filter
private static java.lang.String getMethodName(com.oracle.graal.pointsto.meta.AnalysisMethod);
descriptor: (Lcom/oracle/graal/pointsto/meta/AnalysisMethod;)Ljava/lang/String;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
ldc "%H.%n(%p)"
invokevirtual com.oracle.graal.pointsto.meta.AnalysisMethod.format:(Ljava/lang/String;)Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 method Lcom/oracle/graal/pointsto/meta/AnalysisMethod;
MethodParameters:
Name Flags
method
private static java.lang.String getClassName(com.oracle.graal.pointsto.meta.AnalysisMethod);
descriptor: (Lcom/oracle/graal/pointsto/meta/AnalysisMethod;)Ljava/lang/String;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokevirtual com.oracle.graal.pointsto.meta.AnalysisMethod.getDeclaringClass:()Lcom/oracle/graal/pointsto/meta/AnalysisType;
invokevirtual com.oracle.graal.pointsto.meta.AnalysisType.toJavaName:()Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 method Lcom/oracle/graal/pointsto/meta/AnalysisMethod;
MethodParameters:
Name Flags
method
private static boolean lambda$0(jdk.vm.ci.meta.ResolvedJavaMethod);
descriptor: (Ljdk/vm/ci/meta/ResolvedJavaMethod;)Z
flags: (0x100a) ACC_PRIVATE, ACC_STATIC, ACC_SYNTHETIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
invokeinterface jdk.vm.ci.meta.ResolvedJavaMethod.getName:()Ljava/lang/String;
ldc "check"
invokevirtual java.lang.String.startsWith:(Ljava/lang/String;)Z
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 m Ljdk/vm/ci/meta/ResolvedJavaMethod;
private static boolean lambda$1(jdk.vm.ci.meta.ResolvedJavaMethod);
descriptor: (Ljdk/vm/ci/meta/ResolvedJavaMethod;)Z
flags: (0x100a) ACC_PRIVATE, ACC_STATIC, ACC_SYNTHETIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokeinterface jdk.vm.ci.meta.ResolvedJavaMethod.isPublic:()Z
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 m Ljdk/vm/ci/meta/ResolvedJavaMethod;
private static boolean lambda$2(jdk.vm.ci.meta.ResolvedJavaMethod);
descriptor: (Ljdk/vm/ci/meta/ResolvedJavaMethod;)Z
flags: (0x100a) ACC_PRIVATE, ACC_STATIC, ACC_SYNTHETIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokeinterface jdk.vm.ci.meta.ResolvedJavaMethod.isPublic:()Z
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 m Ljdk/vm/ci/meta/ResolvedJavaMethod;
private static void lambda$3(java.util.List, java.io.PrintWriter);
descriptor: (Ljava/util/List;Ljava/io/PrintWriter;)V
flags: (0x100a) ACC_PRIVATE, ACC_STATIC, ACC_SYNTHETIC
Code:
stack=3, locals=7, args_size=2
start local 1 0: new java.lang.StringBuilder
dup
invokespecial java.lang.StringBuilder.<init>:()V
astore 2
start local 2 1: aload 0
invokeinterface java.util.List.iterator:()Ljava/util/Iterator;
astore 4
goto 8
StackMap locals: java.util.List java.io.PrintWriter java.lang.StringBuilder top java.util.Iterator
StackMap stack:
2: aload 4
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast java.util.List
astore 3
start local 3 3: aload 3
invokeinterface java.util.List.iterator:()Ljava/util/Iterator;
astore 6
goto 6
StackMap locals: java.util.List java.io.PrintWriter java.lang.StringBuilder java.util.List java.util.Iterator top java.util.Iterator
StackMap stack:
4: aload 6
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast com.oracle.graal.pointsto.meta.AnalysisMethod
astore 5
start local 5 5: aload 2
aload 5
iconst_0
invokevirtual com.oracle.graal.pointsto.meta.AnalysisMethod.asStackTraceElement:(I)Ljava/lang/StackTraceElement;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
bipush 10
invokevirtual java.lang.StringBuilder.append:(C)Ljava/lang/StringBuilder;
pop
end local 5 6: StackMap locals:
StackMap stack:
aload 6
invokeinterface java.util.Iterator.hasNext:()Z
ifne 4
7: aload 2
bipush 10
invokevirtual java.lang.StringBuilder.append:(C)Ljava/lang/StringBuilder;
pop
end local 3 8: StackMap locals: java.util.List java.io.PrintWriter java.lang.StringBuilder top java.util.Iterator
StackMap stack:
aload 4
invokeinterface java.util.Iterator.hasNext:()Z
ifne 2
9: aload 1
aload 2
invokevirtual java.io.PrintWriter.print:(Ljava/lang/Object;)V
end local 2 10: return
end local 1 LocalVariableTable:
Start End Slot Name Signature
0 11 1 pw Ljava/io/PrintWriter;
1 10 2 builder Ljava/lang/StringBuilder;
3 8 3 callPath Ljava/util/List<Lcom/oracle/graal/pointsto/meta/AnalysisMethod;>;
5 6 5 call Lcom/oracle/graal/pointsto/meta/AnalysisMethod;
}
SourceFile: "PermissionsFeature.java"
NestMembers:
com.oracle.svm.truffle.tck.PermissionsFeature$CallGraphFilter com.oracle.svm.truffle.tck.PermissionsFeature$IsEnabled com.oracle.svm.truffle.tck.PermissionsFeature$Options com.oracle.svm.truffle.tck.PermissionsFeature$ResourceAsOptionDecorator com.oracle.svm.truffle.tck.PermissionsFeature$SafeInterruptRecognizer com.oracle.svm.truffle.tck.PermissionsFeature$SafePrivilegedRecognizer com.oracle.svm.truffle.tck.PermissionsFeature$SafeServiceLoaderRecognizer
InnerClasses:
public UserException = com.oracle.svm.core.util.UserError$UserException of com.oracle.svm.core.util.UserError
public AfterAnalysisAccessImpl = com.oracle.svm.hosted.FeatureImpl$AfterAnalysisAccessImpl of com.oracle.svm.hosted.FeatureImpl
public DuringSetupAccessImpl = com.oracle.svm.hosted.FeatureImpl$DuringSetupAccessImpl of com.oracle.svm.hosted.FeatureImpl
private abstract CallGraphFilter = com.oracle.svm.truffle.tck.PermissionsFeature$CallGraphFilter of com.oracle.svm.truffle.tck.PermissionsFeature
final IsEnabled = com.oracle.svm.truffle.tck.PermissionsFeature$IsEnabled of com.oracle.svm.truffle.tck.PermissionsFeature
public Options = com.oracle.svm.truffle.tck.PermissionsFeature$Options of com.oracle.svm.truffle.tck.PermissionsFeature
private final ResourceAsOptionDecorator = com.oracle.svm.truffle.tck.PermissionsFeature$ResourceAsOptionDecorator of com.oracle.svm.truffle.tck.PermissionsFeature
private final SafeInterruptRecognizer = com.oracle.svm.truffle.tck.PermissionsFeature$SafeInterruptRecognizer of com.oracle.svm.truffle.tck.PermissionsFeature
private final SafePrivilegedRecognizer = com.oracle.svm.truffle.tck.PermissionsFeature$SafePrivilegedRecognizer of com.oracle.svm.truffle.tck.PermissionsFeature
private final SafeServiceLoaderRecognizer = com.oracle.svm.truffle.tck.PermissionsFeature$SafeServiceLoaderRecognizer of com.oracle.svm.truffle.tck.PermissionsFeature
public final Lookup = java.lang.invoke.MethodHandles$Lookup of java.lang.invoke.MethodHandles
public abstract Scope = org.graalvm.compiler.debug.DebugContext$Scope of org.graalvm.compiler.debug.DebugContext
public abstract AfterAnalysisAccess = org.graalvm.nativeimage.hosted.Feature$AfterAnalysisAccess of org.graalvm.nativeimage.hosted.Feature
public abstract DuringSetupAccess = org.graalvm.nativeimage.hosted.Feature$DuringSetupAccess of org.graalvm.nativeimage.hosted.Feature