Mercurial > hg > truffle
comparison src/share/vm/runtime/arguments.cpp @ 20545:ab4548891480
6883953: java -client -XX:ValueMapInitialSize=0 crashes
Summary: Added lower bound check for ValueMapInitialSize
Reviewed-by: kvn
Contributed-by: ygaevsky@azulsystems.com
author | adlertz |
---|---|
date | Tue, 20 May 2014 09:35:05 +0200 |
parents | 8ba0078861d4 |
children | f10fe402dfb1 |
comparison
equal
deleted
inserted
replaced
20544:fa14838b03c4 | 20545:ab4548891480 |
---|---|
2387 status = status && verify_interval(InitialTenuringThreshold, 0, MaxTenuringThreshold, "MaxTenuringThreshold"); | 2387 status = status && verify_interval(InitialTenuringThreshold, 0, MaxTenuringThreshold, "MaxTenuringThreshold"); |
2388 status = status && verify_percentage(TargetSurvivorRatio, "TargetSurvivorRatio"); | 2388 status = status && verify_percentage(TargetSurvivorRatio, "TargetSurvivorRatio"); |
2389 status = status && verify_percentage(MarkSweepDeadRatio, "MarkSweepDeadRatio"); | 2389 status = status && verify_percentage(MarkSweepDeadRatio, "MarkSweepDeadRatio"); |
2390 | 2390 |
2391 status = status && verify_min_value(MarkSweepAlwaysCompactCount, 1, "MarkSweepAlwaysCompactCount"); | 2391 status = status && verify_min_value(MarkSweepAlwaysCompactCount, 1, "MarkSweepAlwaysCompactCount"); |
2392 #ifdef COMPILER1 | |
2393 status = status && verify_min_value(ValueMapInitialSize, 1, "ValueMapInitialSize"); | |
2394 #endif | |
2392 | 2395 |
2393 if (PrintNMTStatistics) { | 2396 if (PrintNMTStatistics) { |
2394 #if INCLUDE_NMT | 2397 #if INCLUDE_NMT |
2395 if (MemTracker::tracking_level() == NMT_off) { | 2398 if (MemTracker::tracking_level() == NMT_off) { |
2396 #endif // INCLUDE_NMT | 2399 #endif // INCLUDE_NMT |