public final class HotSpotPartialEvaluator extends PartialEvaluator
callInlined, compilationLocalConstantProvider, config, instrumentation, instrumentationCfg, loopExplosionPlugin| Constructor and Description |
|---|
HotSpotPartialEvaluator(TruffleCompilerConfiguration config,
GraphBuilderConfiguration configForRoot) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
disableEncodedGraphCachePurges(boolean value)
Used only in unit-tests, to avoid transient failures caused by multiple compiler threads
racing to purge the cache.
|
protected Supplier<AutoCloseable> |
getCreateCachedGraphScope(boolean persistentEncodedGraphCache)
Gets a closeable producer that will be used in a try-with-resources statement surrounding the
creation of encoded graphs.
|
int |
getJvmciReservedReference0Offset() |
org.graalvm.collections.EconomicMap<ResolvedJavaMethod,EncodedGraph> |
getOrCreateEncodedGraphCache(boolean persistentEncodedGraphCache) |
protected void |
initialize(org.graalvm.options.OptionValues options) |
void |
purgeEncodedGraphCache()
Called in unit-tests via reflection.
|
protected void |
registerGraphBuilderInvocationPlugins(InvocationPlugins invocationPlugins,
boolean canDelayIntrinsification) |
appendParsingNodePlugins, asInlineInfo, createDecodingInvocationPlugins, createGraphDecoder, createNodePlugins, createTruffleBoundaryExceptionSpeculation, customizeStructuredGraphBuilder, doGraphPE, getCallDirect, getCallInlined, getCompilationRootMethods, getConfig, getConfigPrototype, getInstrumentation, getKnownTruffleTypes, getNeverInlineMethods, getProviders, inlineRootForCallTarget, rootForCallTargetpublic HotSpotPartialEvaluator(TruffleCompilerConfiguration config, GraphBuilderConfiguration configForRoot)
public int getJvmciReservedReference0Offset()
protected void initialize(org.graalvm.options.OptionValues options)
initialize in class PartialEvaluatorprotected void registerGraphBuilderInvocationPlugins(InvocationPlugins invocationPlugins, boolean canDelayIntrinsification)
registerGraphBuilderInvocationPlugins in class PartialEvaluatorpublic org.graalvm.collections.EconomicMap<ResolvedJavaMethod,EncodedGraph> getOrCreateEncodedGraphCache(boolean persistentEncodedGraphCache)
getOrCreateEncodedGraphCache in class PartialEvaluatorpublic void purgeEncodedGraphCache()
public boolean disableEncodedGraphCachePurges(boolean value)
protected Supplier<AutoCloseable> getCreateCachedGraphScope(boolean persistentEncodedGraphCache)
PartialEvaluatorgetCreateCachedGraphScope in class PartialEvaluator