< prev index next >
src/hotspot/share/gc/g1/g1Policy.hpp
Print this page
rev 52675 : 8213890: Implementation of JEP 344: Abortable Mixed Collections for G1
Reviewed-by:
Contributed-by: erik.helin@oracle.com, stefan.johansson@oracle.com
rev 52676 : imported patch AMGC-impl
rev 52677 : imported patch AMGC-tsch-rev1
rev 52680 : [mq]: AMGC-tsch-rev2
*** 400,414 ****
AgeTable _survivors_age_table;
size_t desired_survivor_size() const;
public:
// Fraction used when predicting how many optional regions to include in
! // the CSet. Use 20% of the available time for optional regions, the rest
! // is used to add old regions to the normal CSet.
double optional_prediction_fraction() { return 0.2; }
! // Fraction used when evacuating the optional regions. Use 75% of the
! // remaining time to choose what regions to include in the evacuation.
double optional_evacuation_fraction() { return 0.75; }
uint tenuring_threshold() const { return _tenuring_threshold; }
uint max_survivor_regions() {
--- 400,414 ----
AgeTable _survivors_age_table;
size_t desired_survivor_size() const;
public:
// Fraction used when predicting how many optional regions to include in
! // the CSet. This fraction of the available time is used for optional regions,
! // the rest is used to add old regions to the normal CSet.
double optional_prediction_fraction() { return 0.2; }
! // Fraction used when evacuating the optional regions. This fraction of the
! // remaining time is used to choose what regions to include in the evacuation.
double optional_evacuation_fraction() { return 0.75; }
uint tenuring_threshold() const { return _tenuring_threshold; }
uint max_survivor_regions() {
< prev index next >