changeset 11433:7c2e47970d43

fixed class initialization order problem
author Doug Simon <doug.simon@oracle.com>
date Mon, 26 Aug 2013 23:19:09 +0200
parents 565724c714a7
children 0d9fe4e80ab8
files graal/com.oracle.graal.hotspot/src/com/oracle/graal/hotspot/bridge/VMToCompilerImpl.java
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- 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();
     }
 
     /**