# HG changeset patch # User Doug Simon # Date 1377551949 -7200 # Node ID 7c2e47970d43fba77dcb4c92b07575bb198b8be1 # Parent 565724c714a70af618bcc7460d85ff14df6256ad fixed class initialization order problem diff -r 565724c714a7 -r 7c2e47970d43 graal/com.oracle.graal.hotspot/src/com/oracle/graal/hotspot/bridge/VMToCompilerImpl.java --- a/graal/com.oracle.graal.hotspot/src/com/oracle/graal/hotspot/bridge/VMToCompilerImpl.java Mon Aug 26 21:38:44 2013 +0200 +++ b/graal/com.oracle.graal.hotspot/src/com/oracle/graal/hotspot/bridge/VMToCompilerImpl.java Mon Aug 26 23:19:09 2013 +0200 @@ -131,6 +131,8 @@ public void startCompiler(boolean bootstrapEnabled) throws Throwable { + FastNodeClassRegistry.initialize(); + bootstrapRunning = bootstrapEnabled; HotSpotVMConfig config = graalRuntime.getConfig(); @@ -258,8 +260,6 @@ DynamicCounterNode.enabled = true; } compilerStartTime = System.nanoTime(); - - FastNodeClassRegistry.initialize(); } /**