8009928: PSR:PERF Increase default string table size

Increase default string table size to 60013 for 64-bit platforms.

Reviewed-by: coleenp, dholmes
This commit is contained in:
Harold Seigel 2013-04-17 08:20:02 -04:00
parent 2b3d514995
commit 54b7ae1ff9
2 changed files with 4 additions and 3 deletions

View File

@ -1901,7 +1901,7 @@ bool Arguments::check_vm_args_consistency() {
// 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) {

View File

@ -328,9 +328,10 @@ const int max_method_code_size = 64*K - 1; // JVM spec, 2nd ed. section 4.8.1 (
//----------------------------------------------------------------------------------------------------
// Minimum StringTableSize value
// Default and minimum StringTableSize values
const int defaultStringTableSize=1009;
const int defaultStringTableSize = NOT_LP64(1009) LP64_ONLY(60013);
const int minimumStringTableSize=1009;
//----------------------------------------------------------------------------------------------------