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

changeset 4681
27714220e50e
parent 4385
37f7535e5f18
child 4929
71013d764f6e
equal deleted inserted replaced
4680:0624b9d81255 4681:27714220e50e
617 // given free space (expressed by base_free_regions). It is used by 617 // given free space (expressed by base_free_regions). It is used by
618 // calculate_young_list_target_length(). 618 // calculate_young_list_target_length().
619 bool predict_will_fit(uint young_length, double base_time_ms, 619 bool predict_will_fit(uint young_length, double base_time_ms,
620 uint base_free_regions, double target_pause_time_ms); 620 uint base_free_regions, double target_pause_time_ms);
621 621
622 // Calculate the minimum number of old regions we'll add to the CSet
623 // during a mixed GC.
624 uint calc_min_old_cset_length();
625
626 // Calculate the maximum number of old regions we'll add to the CSet
627 // during a mixed GC.
628 uint calc_max_old_cset_length();
629
630 // Returns the given amount of uncollected reclaimable space
631 // as a percentage of the current heap capacity.
632 double reclaimable_bytes_perc(size_t reclaimable_bytes);
633
622 public: 634 public:
623 635
624 G1CollectorPolicy(); 636 G1CollectorPolicy();
625 637
626 virtual G1CollectorPolicy* as_g1_policy() { return this; } 638 virtual G1CollectorPolicy* as_g1_policy() { return this; }

mercurial