changeset 11067:3ea89789ba39

Merge
author ehelin
date Fri, 28 Jun 2013 18:28:17 +0200
parents c92b74c62d97 (diff) be0600ec1102 (current diff)
children b30744960351
files
diffstat 1 files changed, 3 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/share/vm/runtime/arguments.cpp	Thu Jun 27 11:12:19 2013 -0700
+++ b/src/share/vm/runtime/arguments.cpp	Fri Jun 28 18:28:17 2013 +0200
@@ -1571,7 +1571,9 @@
     // By default HeapBaseMinAddress is 2G on all platforms except Solaris x86.
     // G1 currently needs a lot of C-heap, so on Solaris we have to give G1
     // some extra space for the C-heap compared to other collectors.
-    FLAG_SET_ERGO(uintx, HeapBaseMinAddress, 1*G);
+    // Use FLAG_SET_DEFAULT here rather than FLAG_SET_ERGO to make sure that
+    // code that checks for default values work correctly.
+    FLAG_SET_DEFAULT(HeapBaseMinAddress, 1*G);
   }
 }