Class EngineData
java.lang.Object
com.oracle.truffle.runtime.EngineData
Class used to store data used by the compiler in the Engine. Enables "global" compiler state per
engine. One-to-one relationship with a polyglot Engine instance.
-
Field Summary
FieldsModifier and TypeFieldDescriptionbooleanbooleanintintbooleanbooleanintintbooleanbooleanbooleanbooleanfinal longlongbooleanbooleanbooleanbooleanintbooleanbooleanbooleanbooleandoubleintintbooleanbooleanbooleanbooleanbooleanbooleanbooleandoublebooleanboolean -
Method Summary
Modifier and TypeMethodDescriptionvoidclearEngineLocal(Class<?> symbol) enterLanguage(com.oracle.truffle.api.TruffleLanguage<?> language) void<T> TgetEngineLocal(Class<T> symbol) com.oracle.truffle.api.TruffleLoggerorg.graalvm.options.OptionValuescom.oracle.truffle.api.TruffleLanguage<?> getLanguage(OptimizedCallTarget target) com.oracle.truffle.api.TruffleLoggervoidleaveLanguage(com.oracle.truffle.api.TruffleLanguage<?> language, Object prev) voidmergeLoadedSources(com.oracle.truffle.api.source.Source[] sources) void<T> voidputEngineLocal(Class<T> symbol, T value) static IllegalArgumentExceptionsandboxPolicyException(org.graalvm.polyglot.SandboxPolicy sandboxPolicy, String reason, String fix)
-
Field Details
-
id
public final long id -
statisticsListener
-
splitting
public boolean splitting -
splittingAllowForcedSplits
public boolean splittingAllowForcedSplits -
splittingDumpDecisions
public boolean splittingDumpDecisions -
splittingTraceEvents
public boolean splittingTraceEvents -
traceSplittingSummary
public boolean traceSplittingSummary -
traceSplits
public boolean traceSplits -
splittingMaxCalleeSize
public int splittingMaxCalleeSize -
splittingMaxPropagationDepth
public int splittingMaxPropagationDepth -
splittingGrowthLimit
public double splittingGrowthLimit -
compilation
public boolean compilation -
compileImmediately
public boolean compileImmediately -
multiTier
public boolean multiTier -
returnTypeSpeculation
public boolean returnTypeSpeculation -
argumentTypeSpeculation
public boolean argumentTypeSpeculation -
traceCompilation
public boolean traceCompilation -
traceCompilationDetails
public boolean traceCompilationDetails -
backgroundCompilation
public boolean backgroundCompilation -
compilationFailureAction
-
compileOnly
-
callTargetStatistics
public boolean callTargetStatistics -
callTargetStatisticDetails
public boolean callTargetStatisticDetails -
profilingEnabled
public boolean profilingEnabled -
traceTransferToInterpreter
public boolean traceTransferToInterpreter -
traceDeoptimizeFrame
public boolean traceDeoptimizeFrame -
compileAOTOnCreate
public boolean compileAOTOnCreate -
firstTierOnly
public boolean firstTierOnly -
priorityQueue
public boolean priorityQueue -
weightingBothTiers
public boolean weightingBothTiers -
traversingFirstTierPriority
public boolean traversingFirstTierPriority -
traversingFirstTierBonus
public double traversingFirstTierBonus -
propagateCallAndLoopCount
public boolean propagateCallAndLoopCount -
propagateCallAndLoopCountMaxDepth
public int propagateCallAndLoopCountMaxDepth -
callThresholdInInterpreter
public int callThresholdInInterpreter -
callAndLoopThresholdInInterpreter
public int callAndLoopThresholdInInterpreter -
callThresholdInFirstTier
public int callThresholdInFirstTier -
callAndLoopThresholdInFirstTier
public int callAndLoopThresholdInFirstTier -
interpreterCallStackHeadRoom
public long interpreterCallStackHeadRoom
-
-
Method Details
-
sandboxPolicyException
public static IllegalArgumentException sandboxPolicyException(org.graalvm.polyglot.SandboxPolicy sandboxPolicy, String reason, String fix) -
preinitializeContext
public void preinitializeContext() -
finalizeStore
public void finalizeStore() -
getEngineLock
-
getEngineLogHandler
-
getEngineLocal
-
clearEngineLocal
-
putEngineLocal
-
getPolyglotEngine
-
getCompilerOptions
-
getEngineOptions
public org.graalvm.options.OptionValues getEngineOptions() -
getCallTargets
-
getEngineLogger
public com.oracle.truffle.api.TruffleLogger getEngineLogger() -
getLogger
-
mergeLoadedSources
public void mergeLoadedSources(com.oracle.truffle.api.source.Source[] sources) -
enterLanguage
-
leaveLanguage
-
getLanguage
-