< prev index next >

src/share/vm/gc/g1/g1CollectorPolicy.hpp

Print this page

        

*** 844,867 **** AgeTable _survivors_age_table; public: uint tenuring_threshold() const { return _tenuring_threshold; } ! static const uint REGIONS_UNLIMITED = (uint) -1; ! ! uint max_regions(InCSetState dest) const { ! switch (dest.value()) { ! case InCSetState::Young: return _max_survivor_regions; - case InCSetState::Old: - return REGIONS_UNLIMITED; - default: - assert(false, "Unknown dest state: " CSETSTATE_FORMAT, dest.value()); - break; - } - // keep some compilers happy - return 0; } void note_start_adding_survivor_regions() { _survivor_surv_rate_group->start_adding_regions(); } --- 844,855 ---- AgeTable _survivors_age_table; public: uint tenuring_threshold() const { return _tenuring_threshold; } ! uint max_survivor_regions() { return _max_survivor_regions; } void note_start_adding_survivor_regions() { _survivor_surv_rate_group->start_adding_regions(); }
< prev index next >