Mercurial > hg > graal-compiler
changeset 22483:4d973aaf97dc
Make sure JVMCI is initialized before accessing the GraalRuntime.
author | Roland Schatz <roland.schatz@oracle.com> |
---|---|
date | Wed, 19 Aug 2015 15:14:21 +0200 |
parents | aacbf2e9aa42 |
children | af21ee97d1db |
files | graal/com.oracle.graal.hotspot/src/com/oracle/graal/hotspot/HotSpotGraalRuntimeAccess.java |
diffstat | 1 files changed, 2 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/graal/com.oracle.graal.hotspot/src/com/oracle/graal/hotspot/HotSpotGraalRuntimeAccess.java Wed Aug 19 14:06:18 2015 +0200 +++ b/graal/com.oracle.graal.hotspot/src/com/oracle/graal/hotspot/HotSpotGraalRuntimeAccess.java Wed Aug 19 15:14:21 2015 +0200 @@ -22,6 +22,7 @@ */ package com.oracle.graal.hotspot; +import jdk.internal.jvmci.runtime.*; import jdk.internal.jvmci.service.*; import com.oracle.graal.api.runtime.*; @@ -31,6 +32,7 @@ @Override public GraalRuntime getRuntime() { + JVMCI.initialize(); return HotSpotGraalRuntime.runtime(); } }