Mercurial > hg > release > icedtea7-forest-2.4 > hotspot
changeset 4768:1dad4752d5f7
Merge
author | brutisso |
---|---|
date | Fri, 28 Jun 2013 14:25:25 +0200 |
parents | 9658c969b7cf (current diff) 973c3ede4866 (diff) |
children | 12019d9953a8 |
files | |
diffstat | 1 files changed, 3 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/src/share/vm/runtime/arguments.cpp Fri Jun 28 00:44:13 2013 -0700 +++ b/src/share/vm/runtime/arguments.cpp Fri Jun 28 14:25:25 2013 +0200 @@ -1505,7 +1505,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); } }