Search in sources :

Example 1 with HotSpotTruffleInstalledCode

use of org.graalvm.compiler.truffle.common.hotspot.HotSpotTruffleInstalledCode in project graal by oracle.

the class HotSpotTruffleCompilerImpl method afterCodeInstallation.

@Override
protected void afterCodeInstallation(InstalledCode installedCode) {
    if (installedCode instanceof HotSpotTruffleInstalledCode) {
        HotSpotTruffleCompilerRuntime runtime = (HotSpotTruffleCompilerRuntime) TruffleCompilerRuntime.getRuntime();
        HotSpotTruffleInstalledCode hotspotTruffleInstalledCode = (HotSpotTruffleInstalledCode) installedCode;
        runtime.onCodeInstallation(hotspotTruffleInstalledCode);
    }
}
Also used : HotSpotTruffleInstalledCode(org.graalvm.compiler.truffle.common.hotspot.HotSpotTruffleInstalledCode) HotSpotTruffleCompilerRuntime(org.graalvm.compiler.truffle.common.hotspot.HotSpotTruffleCompilerRuntime)

Aggregations

HotSpotTruffleCompilerRuntime (org.graalvm.compiler.truffle.common.hotspot.HotSpotTruffleCompilerRuntime)1 HotSpotTruffleInstalledCode (org.graalvm.compiler.truffle.common.hotspot.HotSpotTruffleInstalledCode)1