changeset 21475:e538b5923ff0

fixed regression that disabled parsing of Graal command line options
author Doug Simon <doug.simon@oracle.com>
date Sun, 24 May 2015 10:27:27 +0200
parents 43c2b3eb3d6d
children 73713483b8ac
files graal/com.oracle.graal.hotspot/src/com/oracle/graal/hotspot/HotSpotOptions.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/HotSpotOptions.java	Sun May 24 09:18:55 2015 +0200
+++ b/graal/com.oracle.graal.hotspot/src/com/oracle/graal/hotspot/HotSpotOptions.java	Sun May 24 10:27:27 2015 +0200
@@ -47,6 +47,8 @@
     private static native void parseVMOptions();
 
     static {
+        parseVMOptions();
+
         assert !Debug.Initialization.isDebugInitialized() : "The class " + Debug.class.getName() + " must not be initialized before the Graal runtime has been initialized. " +
                         "This can be fixed by placing a call to " + Graal.class.getName() + ".runtime() on the path that triggers initialization of " + Debug.class.getName();
         if (areDebugScopePatternsEnabled()) {