changeset 7294:49bbf004fbb8

restored support for -G:+PrintFlags option
author Doug Simon <doug.simon@oracle.com>
date Tue, 25 Dec 2012 22:59:37 +0100
parents 4974776828ec
children 287f97c93de3
files graal/com.oracle.graal.hotspot/src/com/oracle/graal/hotspot/HotSpotOptions.java
diffstat 1 files changed, 5 insertions(+), 4 deletions(-) [+]
line wrap: on
line diff
--- a/graal/com.oracle.graal.hotspot/src/com/oracle/graal/hotspot/HotSpotOptions.java	Fri Dec 21 15:27:04 2012 -0800
+++ b/graal/com.oracle.graal.hotspot/src/com/oracle/graal/hotspot/HotSpotOptions.java	Tue Dec 25 22:59:37 2012 +0100
@@ -46,6 +46,11 @@
         String fieldName = null;
         String valueString = null;
 
+        if (option.equals("+PrintFlags")) {
+            printFlags();
+            return true;
+        }
+
         char first = option.charAt(0);
         if (first == '+' || first == '-') {
             fieldName = option.substring(1);
@@ -115,10 +120,6 @@
             return false;
         }
 
-        if (option.equals("+PrintFlags")) {
-            printFlags();
-        }
-
         return true;
     }