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) |
static AutoCloseable |
pauseThreadLocalRegistry(IntrinsificationPluginRegistry registry) |
static AutoCloseable |
startThreadLocalRegistry(IntrinsificationPluginRegistry registry) |
public final Set<com.oracle.graal.pointsto.meta.AnalysisMethod> methodsWithIntrinsification
public final ThreadLocal<ConcurrentHashMap<IntrinsificationPluginRegistry.CallSiteDescriptor,Object>> threadLocalRegistry
public static AutoCloseable startThreadLocalRegistry(IntrinsificationPluginRegistry registry)
public static AutoCloseable pauseThreadLocalRegistry(IntrinsificationPluginRegistry registry)
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)