diff src/share/vm/runtime/arguments.cpp @ 2906:0017f484608c

Made boolean options more robust to also allow -G:Time or -G:Meter.
author Thomas Wuerthinger <thomas@wuerthinger.net>
date Wed, 08 Jun 2011 17:42:07 +0200
parents d577d07cedec
children 1305cb3809c1
line wrap: on
line diff
--- a/src/share/vm/runtime/arguments.cpp	Wed Jun 08 17:27:31 2011 +0200
+++ b/src/share/vm/runtime/arguments.cpp	Wed Jun 08 17:42:07 2011 +0200
@@ -2699,7 +2699,7 @@
       sprintf(temp, "%s/graal/com.oracle.max.graal.graphviz/bin", graal_dir);
       scp_p->add_prefix(temp);
       *scp_assembly_required_p = true;
-    } else if (match_option(option, "-G:", &tail)) { // -graal:xxxx
+    } else if (match_option(option, "-G:", &tail)) { // -G:XXX
       // Option for the graal compiler.
       if (PrintVMOptions) {
         tty->print_cr("graal option %s", tail);