8001424: G1: Rename certain G1-specific flags

Rename G1DefaultMinNewGenPercent, G1DefaultMaxNewGenPercent, and G1OldCSetRegionLiveThresholdPercent to G1NewSizePercent, G1MaxNewSizePercent, and G1MixedGCLiveThresholdPercent respectively. The previous names are no longer accepted.

Reviewed-by: brutisso, ysr
This commit is contained in:
John Cuthbertson 2012-12-21 11:45:34 -08:00
parent 7cb614b0e5
commit 2df5f7cc5a
4 changed files with 24 additions and 23 deletions

View file

@ -85,7 +85,7 @@ CollectionSetChooser::CollectionSetChooser() :
_curr_index(0), _length(0), _first_par_unreserved_idx(0),
_region_live_threshold_bytes(0), _remaining_reclaimable_bytes(0) {
_region_live_threshold_bytes =
HeapRegion::GrainBytes * (size_t) G1OldCSetRegionLiveThresholdPercent / 100;
HeapRegion::GrainBytes * (size_t) G1MixedGCLiveThresholdPercent / 100;
}
#ifndef PRODUCT