final class jdk.tools.jaotc.GraalFilters
minor version: 0
major version: 59
flags: flags: (0x0030) ACC_FINAL, ACC_SUPER
this_class: jdk.tools.jaotc.GraalFilters
super_class: java.lang.Object
{
private java.util.List<jdk.vm.ci.meta.ResolvedJavaType> specialClasses;
descriptor: Ljava/util/List;
flags: (0x0002) ACC_PRIVATE
Signature: Ljava/util/List<Ljdk/vm/ci/meta/ResolvedJavaType;>;
private java.util.List<jdk.vm.ci.meta.ResolvedJavaType> specialArgumentAndReturnTypes;
descriptor: Ljava/util/List;
flags: (0x0002) ACC_PRIVATE
Signature: Ljava/util/List<Ljdk/vm/ci/meta/ResolvedJavaType;>;
private static java.util.Set<java.lang.Class<?>> skipAnnotations;
descriptor: Ljava/util/Set;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Signature: Ljava/util/Set<Ljava/lang/Class<*>;>;
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=2, locals=0, args_size=0
0: new java.util.HashSet
dup
invokespecial java.util.HashSet.<init>:()V
putstatic jdk.tools.jaotc.GraalFilters.skipAnnotations:Ljava/util/Set;
1: getstatic jdk.tools.jaotc.GraalFilters.skipAnnotations:Ljava/util/Set;
ldc Lorg/graalvm/compiler/graph/Node$NodeIntrinsic;
invokeinterface java.util.Set.add:(Ljava/lang/Object;)Z
pop
2: getstatic jdk.tools.jaotc.GraalFilters.skipAnnotations:Ljava/util/Set;
ldc Lorg/graalvm/compiler/api/replacements/Snippet;
invokeinterface java.util.Set.add:(Ljava/lang/Object;)Z
pop
3: getstatic jdk.tools.jaotc.GraalFilters.skipAnnotations:Ljava/util/Set;
ldc Lorg/graalvm/compiler/api/replacements/MethodSubstitution;
invokeinterface java.util.Set.add:(Ljava/lang/Object;)Z
pop
4: return
LocalVariableTable:
Start End Slot Name Signature
boolean shouldCompileMethod(jdk.vm.ci.meta.ResolvedJavaMethod);
descriptor: (Ljdk/vm/ci/meta/ResolvedJavaMethod;)Z
flags: (0x0000)
Code:
stack=3, locals=4, args_size=2
start local 0 start local 1 0: aload 1
invokestatic jdk.tools.jaotc.GraalFilters.hasExcludedAnnotation:(Ljdk/vm/ci/meta/ResolvedJavaMethod;)Z
ifeq 2
1: iconst_0
ireturn
2: StackMap locals:
StackMap stack:
aload 1
invokeinterface jdk.vm.ci.meta.ResolvedJavaMethod.getDeclaringClass:()Ljdk/vm/ci/meta/ResolvedJavaType;
astore 2
start local 2 3: aload 1
invokeinterface jdk.vm.ci.meta.ResolvedJavaMethod.toParameterTypes:()[Ljdk/vm/ci/meta/JavaType;
invokestatic java.util.Arrays.asList:([Ljava/lang/Object;)Ljava/util/List;
invokeinterface java.util.List.stream:()Ljava/util/stream/Stream;
aload 2
invokedynamic apply(Ljdk/vm/ci/meta/ResolvedJavaType;)Ljava/util/function/Function;
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;)Ljava/lang/Object;
jdk/tools/jaotc/GraalFilters.lambda$0(Ljdk/vm/ci/meta/ResolvedJavaType;Ljdk/vm/ci/meta/JavaType;)Ljdk/vm/ci/meta/ResolvedJavaType; (6)
(Ljdk/vm/ci/meta/JavaType;)Ljdk/vm/ci/meta/ResolvedJavaType;
invokeinterface java.util.stream.Stream.map:(Ljava/util/function/Function;)Ljava/util/stream/Stream;
invokestatic java.util.stream.Collectors.toList:()Ljava/util/stream/Collector;
invokeinterface java.util.stream.Stream.collect:(Ljava/util/stream/Collector;)Ljava/lang/Object;
checkcast java.util.List
astore 3
start local 3 4: aload 3
aload 1
invokeinterface jdk.vm.ci.meta.ResolvedJavaMethod.getSignature:()Ljdk/vm/ci/meta/Signature;
aconst_null
invokeinterface jdk.vm.ci.meta.Signature.getReturnType:(Ljdk/vm/ci/meta/ResolvedJavaType;)Ljdk/vm/ci/meta/JavaType;
aload 2
invokeinterface jdk.vm.ci.meta.JavaType.resolve:(Ljdk/vm/ci/meta/ResolvedJavaType;)Ljdk/vm/ci/meta/ResolvedJavaType;
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
5: aload 3
invokeinterface java.util.List.stream:()Ljava/util/stream/Stream;
aload 0
invokedynamic apply(Ljdk/tools/jaotc/GraalFilters;)Ljava/util/function/Function;
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;)Ljava/lang/Object;
jdk/tools/jaotc/GraalFilters.lambda$1(Ljdk/vm/ci/meta/ResolvedJavaType;)Ljava/util/stream/Stream; (7)
(Ljdk/vm/ci/meta/ResolvedJavaType;)Ljava/util/stream/Stream;
invokeinterface java.util.stream.Stream.flatMap:(Ljava/util/function/Function;)Ljava/util/stream/Stream;
invokeinterface java.util.stream.Stream.findAny:()Ljava/util/Optional;
invokevirtual java.util.Optional.isPresent:()Z
ifeq 7
6: iconst_0
ireturn
7: StackMap locals: jdk.vm.ci.meta.ResolvedJavaType java.util.List
StackMap stack:
iconst_1
ireturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 this Ljdk/tools/jaotc/GraalFilters;
0 8 1 method Ljdk/vm/ci/meta/ResolvedJavaMethod;
3 8 2 declaringClass Ljdk/vm/ci/meta/ResolvedJavaType;
4 8 3 signatureTypes Ljava/util/List<Ljdk/vm/ci/meta/ResolvedJavaType;>;
MethodParameters:
Name Flags
method
private static boolean hasExcludedAnnotation(jdk.vm.ci.meta.ResolvedJavaMethod);
descriptor: (Ljdk/vm/ci/meta/ResolvedJavaMethod;)Z
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=2, locals=5, args_size=1
start local 0 0: aload 0
invokeinterface jdk.vm.ci.meta.ResolvedJavaMethod.getAnnotations:()[Ljava/lang/annotation/Annotation;
dup
astore 4
arraylength
istore 3
iconst_0
istore 2
goto 5
StackMap locals: jdk.vm.ci.meta.ResolvedJavaMethod top int int java.lang.annotation.Annotation[]
StackMap stack:
1: aload 4
iload 2
aaload
astore 1
start local 1 2: getstatic jdk.tools.jaotc.GraalFilters.skipAnnotations:Ljava/util/Set;
aload 1
invokeinterface java.lang.annotation.Annotation.annotationType:()Ljava/lang/Class;
invokeinterface java.util.Set.contains:(Ljava/lang/Object;)Z
ifeq 4
3: iconst_1
ireturn
end local 1 4: StackMap locals:
StackMap stack:
iinc 2 1
StackMap locals:
StackMap stack:
5: iload 2
iload 3
if_icmplt 1
6: iconst_0
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 method Ljdk/vm/ci/meta/ResolvedJavaMethod;
2 4 1 annotation Ljava/lang/annotation/Annotation;
MethodParameters:
Name Flags
method
boolean shouldCompileAnyMethodInClass(jdk.vm.ci.meta.ResolvedJavaType);
descriptor: (Ljdk/vm/ci/meta/ResolvedJavaType;)Z
flags: (0x0000)
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield jdk.tools.jaotc.GraalFilters.specialClasses:Ljava/util/List;
invokeinterface java.util.List.stream:()Ljava/util/stream/Stream;
aload 1
invokedynamic test(Ljdk/vm/ci/meta/ResolvedJavaType;)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
jdk/tools/jaotc/GraalFilters.lambda$3(Ljdk/vm/ci/meta/ResolvedJavaType;Ljdk/vm/ci/meta/ResolvedJavaType;)Z (6)
(Ljdk/vm/ci/meta/ResolvedJavaType;)Z
invokeinterface java.util.stream.Stream.filter:(Ljava/util/function/Predicate;)Ljava/util/stream/Stream;
invokeinterface java.util.stream.Stream.findAny:()Ljava/util/Optional;
invokevirtual java.util.Optional.isPresent:()Z
ifeq 2
1: iconst_0
ireturn
2: StackMap locals:
StackMap stack:
iconst_1
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Ljdk/tools/jaotc/GraalFilters;
0 3 1 klass Ljdk/vm/ci/meta/ResolvedJavaType;
MethodParameters:
Name Flags
klass
private static java.util.List<jdk.vm.ci.meta.ResolvedJavaType> getSpecialClasses(jdk.vm.ci.meta.MetaAccessProvider);
descriptor: (Ljdk/vm/ci/meta/MetaAccessProvider;)Ljava/util/List;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=5, locals=1, args_size=1
start local 0 0: iconst_4
anewarray jdk.vm.ci.meta.ResolvedJavaType
dup
iconst_0
aload 0
ldc Lorg/graalvm/compiler/replacements/Snippets;
invokeinterface jdk.vm.ci.meta.MetaAccessProvider.lookupJavaType:(Ljava/lang/Class;)Ljdk/vm/ci/meta/ResolvedJavaType;
aastore
dup
iconst_1
1: aload 0
ldc Lorg/graalvm/compiler/hotspot/replacements/HotSpotClassSubstitutions;
invokeinterface jdk.vm.ci.meta.MetaAccessProvider.lookupJavaType:(Ljava/lang/Class;)Ljdk/vm/ci/meta/ResolvedJavaType;
aastore
dup
iconst_2
2: aload 0
ldc Lorg/graalvm/compiler/api/directives/GraalDirectives;
invokeinterface jdk.vm.ci.meta.MetaAccessProvider.lookupJavaType:(Ljava/lang/Class;)Ljdk/vm/ci/meta/ResolvedJavaType;
aastore
dup
iconst_3
3: aload 0
ldc Lorg/graalvm/compiler/api/replacements/ClassSubstitution;
invokeinterface jdk.vm.ci.meta.MetaAccessProvider.lookupJavaType:(Ljava/lang/Class;)Ljdk/vm/ci/meta/ResolvedJavaType;
aastore
4: invokestatic java.util.Arrays.asList:([Ljava/lang/Object;)Ljava/util/List;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 meta Ljdk/vm/ci/meta/MetaAccessProvider;
Signature: (Ljdk/vm/ci/meta/MetaAccessProvider;)Ljava/util/List<Ljdk/vm/ci/meta/ResolvedJavaType;>;
MethodParameters:
Name Flags
meta
private static java.util.List<jdk.vm.ci.meta.ResolvedJavaType> getSpecialArgumentAndReturnTypes(jdk.vm.ci.meta.MetaAccessProvider);
descriptor: (Ljdk/vm/ci/meta/MetaAccessProvider;)Ljava/util/List;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=5, locals=1, args_size=1
start local 0 0: iconst_2
anewarray jdk.vm.ci.meta.ResolvedJavaType
dup
iconst_0
aload 0
ldc Lorg/graalvm/word/WordBase;
invokeinterface jdk.vm.ci.meta.MetaAccessProvider.lookupJavaType:(Ljava/lang/Class;)Ljdk/vm/ci/meta/ResolvedJavaType;
aastore
dup
iconst_1
1: aload 0
ldc Lorg/graalvm/compiler/hotspot/word/MetaspacePointer;
invokeinterface jdk.vm.ci.meta.MetaAccessProvider.lookupJavaType:(Ljava/lang/Class;)Ljdk/vm/ci/meta/ResolvedJavaType;
aastore
2: invokestatic java.util.Arrays.asList:([Ljava/lang/Object;)Ljava/util/List;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 meta Ljdk/vm/ci/meta/MetaAccessProvider;
Signature: (Ljdk/vm/ci/meta/MetaAccessProvider;)Ljava/util/List<Ljdk/vm/ci/meta/ResolvedJavaType;>;
MethodParameters:
Name Flags
meta
void <init>(jdk.vm.ci.meta.MetaAccessProvider);
descriptor: (Ljdk/vm/ci/meta/MetaAccessProvider;)V
flags: (0x0000)
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
aload 1
invokestatic jdk.tools.jaotc.GraalFilters.getSpecialClasses:(Ljdk/vm/ci/meta/MetaAccessProvider;)Ljava/util/List;
putfield jdk.tools.jaotc.GraalFilters.specialClasses:Ljava/util/List;
2: aload 0
aload 1
invokestatic jdk.tools.jaotc.GraalFilters.getSpecialArgumentAndReturnTypes:(Ljdk/vm/ci/meta/MetaAccessProvider;)Ljava/util/List;
putfield jdk.tools.jaotc.GraalFilters.specialArgumentAndReturnTypes:Ljava/util/List;
3: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Ljdk/tools/jaotc/GraalFilters;
0 4 1 metaAccess Ljdk/vm/ci/meta/MetaAccessProvider;
MethodParameters:
Name Flags
metaAccess
static boolean shouldIgnoreException(java.lang.Throwable);
descriptor: (Ljava/lang/Throwable;)Z
flags: (0x0008) ACC_STATIC
Code:
stack=2, locals=3, args_size=1
start local 0 0: aload 0
instanceof org.graalvm.compiler.debug.GraalError
ifeq 4
1: aload 0
invokevirtual java.lang.Throwable.getMessage:()Ljava/lang/String;
astore 1
start local 1 2: aload 1
ldc "ArrayKlass::_component_mirror"
invokevirtual java.lang.String.contains:(Ljava/lang/CharSequence;)Z
ifeq 4
3: iconst_1
ireturn
end local 1 4: StackMap locals:
StackMap stack:
aload 0
instanceof org.graalvm.compiler.java.BytecodeParser$BytecodeParserError
ifeq 10
5: aload 0
invokevirtual java.lang.Throwable.getCause:()Ljava/lang/Throwable;
astore 1
start local 1 6: aload 1
instanceof org.graalvm.compiler.debug.GraalError
ifeq 10
7: aload 1
invokevirtual java.lang.Throwable.getMessage:()Ljava/lang/String;
astore 2
start local 2 8: aload 2
ldc "@NodeIntrinsic method"
invokevirtual java.lang.String.contains:(Ljava/lang/CharSequence;)Z
ifeq 10
aload 2
ldc "must only be called from within a replacement"
invokevirtual java.lang.String.contains:(Ljava/lang/CharSequence;)Z
ifeq 10
9: iconst_1
ireturn
end local 2 end local 1 10: StackMap locals:
StackMap stack:
iconst_0
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 11 0 e Ljava/lang/Throwable;
2 4 1 m Ljava/lang/String;
6 10 1 cause Ljava/lang/Throwable;
8 10 2 m Ljava/lang/String;
MethodParameters:
Name Flags
e
private static jdk.vm.ci.meta.ResolvedJavaType lambda$0(jdk.vm.ci.meta.ResolvedJavaType, jdk.vm.ci.meta.JavaType);
descriptor: (Ljdk/vm/ci/meta/ResolvedJavaType;Ljdk/vm/ci/meta/JavaType;)Ljdk/vm/ci/meta/ResolvedJavaType;
flags: (0x100a) ACC_PRIVATE, ACC_STATIC, ACC_SYNTHETIC
Code:
stack=2, locals=2, args_size=2
start local 1 0: aload 1
aload 0
invokeinterface jdk.vm.ci.meta.JavaType.resolve:(Ljdk/vm/ci/meta/ResolvedJavaType;)Ljdk/vm/ci/meta/ResolvedJavaType;
areturn
end local 1 LocalVariableTable:
Start End Slot Name Signature
0 1 1 p Ljdk/vm/ci/meta/JavaType;
private java.util.stream.Stream lambda$1(jdk.vm.ci.meta.ResolvedJavaType);
descriptor: (Ljdk/vm/ci/meta/ResolvedJavaType;)Ljava/util/stream/Stream;
flags: (0x1002) ACC_PRIVATE, ACC_SYNTHETIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield jdk.tools.jaotc.GraalFilters.specialArgumentAndReturnTypes:Ljava/util/List;
invokeinterface java.util.List.stream:()Ljava/util/stream/Stream;
aload 1
invokedynamic test(Ljdk/vm/ci/meta/ResolvedJavaType;)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
jdk/tools/jaotc/GraalFilters.lambda$2(Ljdk/vm/ci/meta/ResolvedJavaType;Ljdk/vm/ci/meta/ResolvedJavaType;)Z (6)
(Ljdk/vm/ci/meta/ResolvedJavaType;)Z
invokeinterface java.util.stream.Stream.filter:(Ljava/util/function/Predicate;)Ljava/util/stream/Stream;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljdk/tools/jaotc/GraalFilters;
0 1 1 t Ljdk/vm/ci/meta/ResolvedJavaType;
private static boolean lambda$3(jdk.vm.ci.meta.ResolvedJavaType, jdk.vm.ci.meta.ResolvedJavaType);
descriptor: (Ljdk/vm/ci/meta/ResolvedJavaType;Ljdk/vm/ci/meta/ResolvedJavaType;)Z
flags: (0x100a) ACC_PRIVATE, ACC_STATIC, ACC_SYNTHETIC
Code:
stack=2, locals=2, args_size=2
start local 1 0: aload 1
aload 0
invokeinterface jdk.vm.ci.meta.ResolvedJavaType.isAssignableFrom:(Ljdk/vm/ci/meta/ResolvedJavaType;)Z
ireturn
end local 1 LocalVariableTable:
Start End Slot Name Signature
0 1 1 s Ljdk/vm/ci/meta/ResolvedJavaType;
private static boolean lambda$2(jdk.vm.ci.meta.ResolvedJavaType, jdk.vm.ci.meta.ResolvedJavaType);
descriptor: (Ljdk/vm/ci/meta/ResolvedJavaType;Ljdk/vm/ci/meta/ResolvedJavaType;)Z
flags: (0x100a) ACC_PRIVATE, ACC_STATIC, ACC_SYNTHETIC
Code:
stack=2, locals=2, args_size=2
start local 1 0: aload 1
aload 0
invokeinterface jdk.vm.ci.meta.ResolvedJavaType.isAssignableFrom:(Ljdk/vm/ci/meta/ResolvedJavaType;)Z
ireturn
end local 1 LocalVariableTable:
Start End Slot Name Signature
0 1 1 s Ljdk/vm/ci/meta/ResolvedJavaType;
}
SourceFile: "GraalFilters.java"
InnerClasses:
public final Lookup = java.lang.invoke.MethodHandles$Lookup of java.lang.invoke.MethodHandles
public abstract NodeIntrinsic = org.graalvm.compiler.graph.Node$NodeIntrinsic of org.graalvm.compiler.graph.Node
public BytecodeParserError = org.graalvm.compiler.java.BytecodeParser$BytecodeParserError of org.graalvm.compiler.java.BytecodeParser