Mercurial > hg > truffle
changeset 16072:2023d6120416
disable lazy initialization of Graal runtime until Graal compilation queue is removed (GRAAL-798)
author | Doug Simon <doug.simon@oracle.com> |
---|---|
date | Tue, 10 Jun 2014 18:50:26 +0200 |
parents | fa04403d1cb5 |
children | b38191cd1665 |
files | graal/com.oracle.graal.hotspot/src/com/oracle/graal/hotspot/CompilationQueue.java |
diffstat | 1 files changed, 4 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/graal/com.oracle.graal.hotspot/src/com/oracle/graal/hotspot/CompilationQueue.java Sat Jun 07 14:23:10 2014 +0200 +++ b/graal/com.oracle.graal.hotspot/src/com/oracle/graal/hotspot/CompilationQueue.java Tue Jun 10 18:50:26 2014 +0200 @@ -54,6 +54,10 @@ static { try (InitTimer t = timer("initialize CompilationQueue")) { + // The Graal runtime needs to be initialized here to avoid + // issues re-entering Java code during compilation scheduling. + HotSpotGraalRuntime.runtime(); + // Must be first to ensure any options accessed by the rest of the class // initializer are initialized from the command line. HotSpotOptions.initialize();