public class IntrinsificationPluginRegistry extends Object
Modifier and Type | Class and Description |
---|---|
static class |
IntrinsificationPluginRegistry.CallSiteDescriptor |
Modifier and Type | Field and Description |
---|---|
Set<com.oracle.graal.pointsto.meta.AnalysisMethod> |
methodsWithIntrinsification |
ThreadLocal<ConcurrentHashMap<IntrinsificationPluginRegistry.CallSiteDescriptor,Object>> |
threadLocalRegistry |
Constructor and Description |
---|
IntrinsificationPluginRegistry() |
Modifier and Type | Method and Description |
---|---|
void |
add(List<org.graalvm.collections.Pair<jdk.vm.ci.meta.ResolvedJavaMethod,Integer>> callingContext,
Object element) |
<T> T |
get(List<org.graalvm.collections.Pair<jdk.vm.ci.meta.ResolvedJavaMethod,Integer>> callingContext) |
boolean |
hasIntrinsifications(com.oracle.graal.pointsto.meta.AnalysisMethod method) |
AutoCloseable |
startThreadLocalIntrinsificationRegistry() |
AutoCloseable |
startThreadLocalReflectionRegistry() |
public final Set<com.oracle.graal.pointsto.meta.AnalysisMethod> methodsWithIntrinsification
public final ThreadLocal<ConcurrentHashMap<IntrinsificationPluginRegistry.CallSiteDescriptor,Object>> threadLocalRegistry
public AutoCloseable startThreadLocalReflectionRegistry()
public AutoCloseable startThreadLocalIntrinsificationRegistry()
public void add(List<org.graalvm.collections.Pair<jdk.vm.ci.meta.ResolvedJavaMethod,Integer>> callingContext, Object element)
public <T> T get(List<org.graalvm.collections.Pair<jdk.vm.ci.meta.ResolvedJavaMethod,Integer>> callingContext)
public boolean hasIntrinsifications(com.oracle.graal.pointsto.meta.AnalysisMethod method)