Mercurial > hg > truffle
comparison src/share/vm/runtime/arguments.cpp @ 12825:c90e76575b03
8019375: Internal symbol table size should be tunable.
Reviewed-by: coleenp, kamg
author | kevinw |
---|---|
date | Tue, 08 Oct 2013 09:33:51 +0100 |
parents | 1c3486050433 |
children | aa6f2ea19d8f |
comparison
equal
deleted
inserted
replaced
12823:ac9cb1d5a202 | 12825:c90e76575b03 |
---|---|
2043 // Divide by bucket size to prevent a large size from causing rollover when | 2043 // Divide by bucket size to prevent a large size from causing rollover when |
2044 // calculating amount of memory needed to be allocated for the String table. | 2044 // calculating amount of memory needed to be allocated for the String table. |
2045 status = status && verify_interval(StringTableSize, minimumStringTableSize, | 2045 status = status && verify_interval(StringTableSize, minimumStringTableSize, |
2046 (max_uintx / StringTable::bucket_size()), "StringTable size"); | 2046 (max_uintx / StringTable::bucket_size()), "StringTable size"); |
2047 | 2047 |
2048 status = status && verify_interval(SymbolTableSize, minimumSymbolTableSize, | |
2049 (max_uintx / SymbolTable::bucket_size()), "SymbolTable size"); | |
2050 | |
2048 if (MinHeapFreeRatio > MaxHeapFreeRatio) { | 2051 if (MinHeapFreeRatio > MaxHeapFreeRatio) { |
2049 jio_fprintf(defaultStream::error_stream(), | 2052 jio_fprintf(defaultStream::error_stream(), |
2050 "MinHeapFreeRatio (" UINTX_FORMAT ") must be less than or " | 2053 "MinHeapFreeRatio (" UINTX_FORMAT ") must be less than or " |
2051 "equal to MaxHeapFreeRatio (" UINTX_FORMAT ")\n", | 2054 "equal to MaxHeapFreeRatio (" UINTX_FORMAT ")\n", |
2052 MinHeapFreeRatio, MaxHeapFreeRatio); | 2055 MinHeapFreeRatio, MaxHeapFreeRatio); |