changeset 9997:4abd6387a612

Allow UseCompressedOops argument
author Christos Kotselidis <christos.kotselidis@oracle.com>
date Tue, 11 Jun 2013 17:45:31 +0200
parents d9a331e2fd61
children e85afceb39e7
files src/share/vm/runtime/arguments.cpp
diffstat 1 files changed, 2 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/src/share/vm/runtime/arguments.cpp	Tue Jun 11 17:32:38 2013 +0200
+++ b/src/share/vm/runtime/arguments.cpp	Tue Jun 11 17:45:31 2013 +0200
@@ -2102,9 +2102,8 @@
       warning("UseCompressedOops is disabled, because it is not supported by Graal");
       FLAG_SET_CMDLINE(bool, UseCompressedOops, false);
     } else {
-      jio_fprintf(defaultStream::error_stream(),
-                    "CompressedOops are not supported in Graal at the moment\n");
-      status = false;
+      status = true;
+      FLAG_SET_CMDLINE(bool, UseCompressedOops, true);
     }
   } else {
     // This prevents the flag being set to true by set_ergonomics_flags()