comparison 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
comparison
equal deleted inserted replaced
10097:f2c0ccccc6b6 10126:63e31ce40bdb
1899 status = status && verify_percentage(MinHeapFreeRatio, "MinHeapFreeRatio"); 1899 status = status && verify_percentage(MinHeapFreeRatio, "MinHeapFreeRatio");
1900 status = status && verify_percentage(MaxHeapFreeRatio, "MaxHeapFreeRatio"); 1900 status = status && verify_percentage(MaxHeapFreeRatio, "MaxHeapFreeRatio");
1901 1901
1902 // Divide by bucket size to prevent a large size from causing rollover when 1902 // Divide by bucket size to prevent a large size from causing rollover when
1903 // calculating amount of memory needed to be allocated for the String table. 1903 // calculating amount of memory needed to be allocated for the String table.
1904 status = status && verify_interval(StringTableSize, defaultStringTableSize, 1904 status = status && verify_interval(StringTableSize, minimumStringTableSize,
1905 (max_uintx / StringTable::bucket_size()), "StringTable size"); 1905 (max_uintx / StringTable::bucket_size()), "StringTable size");
1906 1906
1907 if (MinHeapFreeRatio > MaxHeapFreeRatio) { 1907 if (MinHeapFreeRatio > MaxHeapFreeRatio) {
1908 jio_fprintf(defaultStream::error_stream(), 1908 jio_fprintf(defaultStream::error_stream(),
1909 "MinHeapFreeRatio (" UINTX_FORMAT ") must be less than or " 1909 "MinHeapFreeRatio (" UINTX_FORMAT ") must be less than or "