public class com.oracle.svm.hosted.snippets.IntrinsificationPluginRegistry
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: com.oracle.svm.hosted.snippets.IntrinsificationPluginRegistry
super_class: java.lang.Object
{
private static final java.lang.Object NULL_MARKER;
descriptor: Ljava/lang/Object;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
private final java.util.concurrent.ConcurrentHashMap<com.oracle.svm.hosted.snippets.IntrinsificationPluginRegistry$CallSiteDescriptor, java.lang.Object> globalAnalysisElements;
descriptor: Ljava/util/concurrent/ConcurrentHashMap;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
Signature: Ljava/util/concurrent/ConcurrentHashMap<Lcom/oracle/svm/hosted/snippets/IntrinsificationPluginRegistry$CallSiteDescriptor;Ljava/lang/Object;>;
public final java.util.Set<com.oracle.graal.pointsto.meta.AnalysisMethod> methodsWithIntrinsification;
descriptor: Ljava/util/Set;
flags: (0x0011) ACC_PUBLIC, ACC_FINAL
Signature: Ljava/util/Set<Lcom/oracle/graal/pointsto/meta/AnalysisMethod;>;
public final java.lang.ThreadLocal<java.util.concurrent.ConcurrentHashMap<com.oracle.svm.hosted.snippets.IntrinsificationPluginRegistry$CallSiteDescriptor, java.lang.Object>> threadLocalRegistry;
descriptor: Ljava/lang/ThreadLocal;
flags: (0x0011) ACC_PUBLIC, ACC_FINAL
Signature: Ljava/lang/ThreadLocal<Ljava/util/concurrent/ConcurrentHashMap<Lcom/oracle/svm/hosted/snippets/IntrinsificationPluginRegistry$CallSiteDescriptor;Ljava/lang/Object;>;>;
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=2, locals=0, args_size=0
0: new java.lang.Object
dup
invokespecial java.lang.Object.<init>:()V
putstatic com.oracle.svm.hosted.snippets.IntrinsificationPluginRegistry.NULL_MARKER:Ljava/lang/Object;
return
LocalVariableTable:
Start End Slot Name Signature
public void <init>();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
new java.util.concurrent.ConcurrentHashMap
dup
invokespecial java.util.concurrent.ConcurrentHashMap.<init>:()V
putfield com.oracle.svm.hosted.snippets.IntrinsificationPluginRegistry.globalAnalysisElements:Ljava/util/concurrent/ConcurrentHashMap;
2: aload 0
invokestatic java.util.concurrent.ConcurrentHashMap.newKeySet:()Ljava/util/concurrent/ConcurrentHashMap$KeySetView;
putfield com.oracle.svm.hosted.snippets.IntrinsificationPluginRegistry.methodsWithIntrinsification:Ljava/util/Set;
3: aload 0
new java.lang.ThreadLocal
dup
invokespecial java.lang.ThreadLocal.<init>:()V
putfield com.oracle.svm.hosted.snippets.IntrinsificationPluginRegistry.threadLocalRegistry:Ljava/lang/ThreadLocal;
4: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lcom/oracle/svm/hosted/snippets/IntrinsificationPluginRegistry;
public java.lang.AutoCloseable startThreadLocalReflectionRegistry();
descriptor: ()Ljava/lang/AutoCloseable;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: new com.oracle.svm.hosted.snippets.IntrinsificationPluginRegistry$1
dup
aload 0
invokespecial com.oracle.svm.hosted.snippets.IntrinsificationPluginRegistry$1.<init>:(Lcom/oracle/svm/hosted/snippets/IntrinsificationPluginRegistry;)V
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/oracle/svm/hosted/snippets/IntrinsificationPluginRegistry;
public java.lang.AutoCloseable startThreadLocalIntrinsificationRegistry();
descriptor: ()Ljava/lang/AutoCloseable;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: new com.oracle.svm.hosted.snippets.IntrinsificationPluginRegistry$2
dup
aload 0
invokespecial com.oracle.svm.hosted.snippets.IntrinsificationPluginRegistry$2.<init>:(Lcom/oracle/svm/hosted/snippets/IntrinsificationPluginRegistry;)V
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/oracle/svm/hosted/snippets/IntrinsificationPluginRegistry;
private java.util.concurrent.ConcurrentHashMap<com.oracle.svm.hosted.snippets.IntrinsificationPluginRegistry$CallSiteDescriptor, java.lang.Object> getAnalysisElements();
descriptor: ()Ljava/util/concurrent/ConcurrentHashMap;
flags: (0x0002) ACC_PRIVATE
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield com.oracle.svm.hosted.snippets.IntrinsificationPluginRegistry.threadLocalRegistry:Ljava/lang/ThreadLocal;
invokevirtual java.lang.ThreadLocal.get:()Ljava/lang/Object;
ifnonnull 1
aload 0
getfield com.oracle.svm.hosted.snippets.IntrinsificationPluginRegistry.globalAnalysisElements:Ljava/util/concurrent/ConcurrentHashMap;
goto 2
StackMap locals:
StackMap stack:
1: aload 0
getfield com.oracle.svm.hosted.snippets.IntrinsificationPluginRegistry.threadLocalRegistry:Ljava/lang/ThreadLocal;
invokevirtual java.lang.ThreadLocal.get:()Ljava/lang/Object;
checkcast java.util.concurrent.ConcurrentHashMap
StackMap locals:
StackMap stack: java.util.concurrent.ConcurrentHashMap
2: areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lcom/oracle/svm/hosted/snippets/IntrinsificationPluginRegistry;
Signature: ()Ljava/util/concurrent/ConcurrentHashMap<Lcom/oracle/svm/hosted/snippets/IntrinsificationPluginRegistry$CallSiteDescriptor;Ljava/lang/Object;>;
public void add(java.util.List<org.graalvm.collections.Pair<jdk.vm.ci.meta.ResolvedJavaMethod, java.lang.Integer>>, );
descriptor: (Ljava/util/List;Ljava/lang/Object;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=5, args_size=3
start local 0 start local 1 start local 2 0: aload 2
ifnull 1
aload 2
goto 2
StackMap locals:
StackMap stack:
1: getstatic com.oracle.svm.hosted.snippets.IntrinsificationPluginRegistry.NULL_MARKER:Ljava/lang/Object;
StackMap locals:
StackMap stack: java.lang.Object
2: astore 3
start local 3 3: aload 0
invokevirtual com.oracle.svm.hosted.snippets.IntrinsificationPluginRegistry.getAnalysisElements:()Ljava/util/concurrent/ConcurrentHashMap;
new com.oracle.svm.hosted.snippets.IntrinsificationPluginRegistry$CallSiteDescriptor
dup
aload 1
invokespecial com.oracle.svm.hosted.snippets.IntrinsificationPluginRegistry$CallSiteDescriptor.<init>:(Ljava/util/List;)V
aload 3
invokevirtual java.util.concurrent.ConcurrentHashMap.putIfAbsent:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
astore 4
start local 4 4: aload 4
ifnull 5
aload 4
aload 3
if_acmpeq 5
iconst_0
goto 6
StackMap locals: java.lang.Object java.lang.Object
StackMap stack:
5: iconst_1
StackMap locals:
StackMap stack: int
6: ldc "Newly intrinsified element is different than the previous"
invokestatic com.oracle.svm.core.util.VMError.guarantee:(ZLjava/lang/String;)V
7: aload 0
getfield com.oracle.svm.hosted.snippets.IntrinsificationPluginRegistry.methodsWithIntrinsification:Ljava/util/Set;
aload 1
iconst_0
invokeinterface java.util.List.get:(I)Ljava/lang/Object;
checkcast org.graalvm.collections.Pair
invokevirtual org.graalvm.collections.Pair.getLeft:()Ljava/lang/Object;
checkcast com.oracle.graal.pointsto.meta.AnalysisMethod
invokeinterface java.util.Set.add:(Ljava/lang/Object;)Z
pop
8: return
end local 4 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/hosted/snippets/IntrinsificationPluginRegistry;
0 9 1 callingContext Ljava/util/List<Lorg/graalvm/collections/Pair<Ljdk/vm/ci/meta/ResolvedJavaMethod;Ljava/lang/Integer;>;>;
0 9 2 element Ljava/lang/Object;
3 9 3 nonNullElement Ljava/lang/Object;
4 9 4 previous Ljava/lang/Object;
Signature: (Ljava/util/List<Lorg/graalvm/collections/Pair<Ljdk/vm/ci/meta/ResolvedJavaMethod;Ljava/lang/Integer;>;>;Ljava/lang/Object;)V
MethodParameters:
Name Flags
callingContext
element
public <T> T get(java.util.List<org.graalvm.collections.Pair<jdk.vm.ci.meta.ResolvedJavaMethod, java.lang.Integer>>);
descriptor: (Ljava/util/List;)Ljava/lang/Object;
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=3, args_size=2
start local 0 start local 1 0: aload 0
invokevirtual com.oracle.svm.hosted.snippets.IntrinsificationPluginRegistry.getAnalysisElements:()Ljava/util/concurrent/ConcurrentHashMap;
new com.oracle.svm.hosted.snippets.IntrinsificationPluginRegistry$CallSiteDescriptor
dup
aload 1
invokespecial com.oracle.svm.hosted.snippets.IntrinsificationPluginRegistry$CallSiteDescriptor.<init>:(Ljava/util/List;)V
invokevirtual java.util.concurrent.ConcurrentHashMap.get:(Ljava/lang/Object;)Ljava/lang/Object;
astore 2
start local 2 1: aload 2
getstatic com.oracle.svm.hosted.snippets.IntrinsificationPluginRegistry.NULL_MARKER:Ljava/lang/Object;
if_acmpeq 2
aload 2
goto 3
StackMap locals: java.lang.Object
StackMap stack:
2: aconst_null
StackMap locals:
StackMap stack: java.lang.Object
3: areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lcom/oracle/svm/hosted/snippets/IntrinsificationPluginRegistry;
0 4 1 callingContext Ljava/util/List<Lorg/graalvm/collections/Pair<Ljdk/vm/ci/meta/ResolvedJavaMethod;Ljava/lang/Integer;>;>;
1 4 2 nonNullElement Ljava/lang/Object;
Signature: <T:Ljava/lang/Object;>(Ljava/util/List<Lorg/graalvm/collections/Pair<Ljdk/vm/ci/meta/ResolvedJavaMethod;Ljava/lang/Integer;>;>;)TT;
MethodParameters:
Name Flags
callingContext
public boolean hasIntrinsifications(com.oracle.graal.pointsto.meta.AnalysisMethod);
descriptor: (Lcom/oracle/graal/pointsto/meta/AnalysisMethod;)Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield com.oracle.svm.hosted.snippets.IntrinsificationPluginRegistry.methodsWithIntrinsification: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/hosted/snippets/IntrinsificationPluginRegistry;
0 1 1 method Lcom/oracle/graal/pointsto/meta/AnalysisMethod;
MethodParameters:
Name Flags
method
}
SourceFile: "IntrinsificationPluginRegistry.java"
NestMembers:
com.oracle.svm.hosted.snippets.IntrinsificationPluginRegistry$1 com.oracle.svm.hosted.snippets.IntrinsificationPluginRegistry$2 com.oracle.svm.hosted.snippets.IntrinsificationPluginRegistry$CallSiteDescriptor
InnerClasses:
com.oracle.svm.hosted.snippets.IntrinsificationPluginRegistry$1
com.oracle.svm.hosted.snippets.IntrinsificationPluginRegistry$2
public CallSiteDescriptor = com.oracle.svm.hosted.snippets.IntrinsificationPluginRegistry$CallSiteDescriptor of com.oracle.svm.hosted.snippets.IntrinsificationPluginRegistry
public KeySetView = java.util.concurrent.ConcurrentHashMap$KeySetView of java.util.concurrent.ConcurrentHashMap