src/share/vm/runtime/arguments.cpp

changeset 5004
e01e02a9fcb6
parent 5002
3c0584fec1e6
parent 4958
63e31ce40bdb
child 5072
30860066ae8f
child 5088
64340da5b68c
child 5092
711016f146fd
child 5110
6f3fd5150b67
equal deleted inserted replaced
5002:3c0584fec1e6 5004:e01e02a9fcb6
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 "

mercurial