Mercurial > hg > truffle
diff src/share/vm/runtime/arguments.cpp @ 10126:63e31ce40bdb
8009928: PSR:PERF Increase default string table size
Summary: Increase default string table size to 60013 for 64-bit platforms.
Reviewed-by: coleenp, dholmes
author | hseigel |
---|---|
date | Wed, 17 Apr 2013 08:20:02 -0400 |
parents | 480d934f62a8 |
children | e01e02a9fcb6 1d0fba8a2a6d |
line wrap: on
line diff
--- a/src/share/vm/runtime/arguments.cpp Tue Apr 16 08:59:29 2013 -0700 +++ b/src/share/vm/runtime/arguments.cpp Wed Apr 17 08:20:02 2013 -0400 @@ -1901,7 +1901,7 @@ // Divide by bucket size to prevent a large size from causing rollover when // calculating amount of memory needed to be allocated for the String table. - status = status && verify_interval(StringTableSize, defaultStringTableSize, + status = status && verify_interval(StringTableSize, minimumStringTableSize, (max_uintx / StringTable::bucket_size()), "StringTable size"); if (MinHeapFreeRatio > MaxHeapFreeRatio) {