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:
parent
2b3d514995
commit
54b7ae1ff9
@ -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) {
|
||||
|
@ -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;
|
||||
|
||||
|
||||
//----------------------------------------------------------------------------------------------------
|
||||
|
Loading…
x
Reference in New Issue
Block a user