Search in sources :

Example 1 with IsolatedSpeculationLog

use of com.oracle.svm.graal.isolated.IsolatedSpeculationLog in project graal by oracle.

the class IsolatedCompilableTruffleAST method getCompilationSpeculationLog.

@Override
public SpeculationLog getCompilationSpeculationLog() {
    if (cachedSpeculationLog == null) {
        ClientHandle<SpeculationLog> logHandle = getCompilationSpeculationLog0(IsolatedCompileContext.get().getClient(), handle);
        cachedSpeculationLog = new IsolatedSpeculationLog(logHandle);
    }
    return cachedSpeculationLog;
}
Also used : IsolatedSpeculationLog(com.oracle.svm.graal.isolated.IsolatedSpeculationLog) SpeculationLog(jdk.vm.ci.meta.SpeculationLog) IsolatedSpeculationLog(com.oracle.svm.graal.isolated.IsolatedSpeculationLog)

Aggregations

IsolatedSpeculationLog (com.oracle.svm.graal.isolated.IsolatedSpeculationLog)1 SpeculationLog (jdk.vm.ci.meta.SpeculationLog)1