# HG changeset patch # User Doug Simon # Date 1402419026 -7200 # Node ID 2023d61204169cea67c0906757ec6965ab0342b5 # Parent fa04403d1cb56a78a87ada2a063aa956108de209 disable lazy initialization of Graal runtime until Graal compilation queue is removed (GRAAL-798) diff -r fa04403d1cb5 -r 2023d6120416 graal/com.oracle.graal.hotspot/src/com/oracle/graal/hotspot/CompilationQueue.java --- 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();