diff src/share/vm/runtime/arguments.cpp @ 21255:ccddbb1409d2

[SPARC] Implement Narrow OOPS
author Stefan Anzinger <stefan.anzinger@oracle.com>
date Wed, 06 May 2015 17:13:50 +0200
parents e121783a0df9
children 5e09292fb017
line wrap: on
line diff
--- a/src/share/vm/runtime/arguments.cpp	Wed May 06 17:10:58 2015 +0200
+++ b/src/share/vm/runtime/arguments.cpp	Wed May 06 17:13:50 2015 +0200
@@ -1502,9 +1502,9 @@
   // to use UseCompressedOops is InitialHeapSize.
   size_t max_heap_size = MAX2(MaxHeapSize, InitialHeapSize);
   // Set default on graal with sparc to not use compressed oops as long they are not implemented
-#if defined(GRAAL) && defined(TARGET_ARCH_sparc)
+/*#if defined(GRAAL) && defined(TARGET_ARCH_sparc)
   FLAG_SET_DEFAULT(UseCompressedOops, false);
-#else // if !(GRAAL && SOLARIS)
+#else // if !(GRAAL && SOLARIS)*/
   if (max_heap_size <= max_heap_for_compressed_oops()) {
 #if !defined(COMPILER1) || defined(TIERED)
     if (FLAG_IS_DEFAULT(UseCompressedOops)) {
@@ -1529,7 +1529,7 @@
   }
 #endif // _LP64
 #endif // ZERO
-#endif // !(GRAAL && SOLARIS)
+//#endif // !(GRAAL && SOLARIS)
 }