< prev index next >
src/hotspot/share/gc/g1/g1Policy.hpp
Print this page
rev 58105 : [mq]: 8236073-softmaxheapsize
*** 108,117 ****
--- 108,121 ----
// The amount of allocated bytes in old gen during the last mutator and the following
// young GC phase.
size_t _bytes_allocated_in_old_since_last_gc;
+ size_t _minimum_desired_bytes_after_last_cm;
+
+ void determine_desired_bytes_after_concurrent_mark();
+
G1InitialMarkToMixedTimeTracker _initial_mark_to_mixed;
bool should_update_surv_rate_group_predictors() {
return collector_state()->in_young_only_phase() && !collector_state()->mark_or_rebuild_in_progress();
}
*** 336,347 ****
void record_concurrent_mark_cleanup_start();
void record_concurrent_mark_cleanup_end();
void print_phases();
! bool next_gc_should_be_mixed(const char* true_action_str,
! const char* false_action_str) const;
// Calculate and return the number of initial and optional old gen regions from
// the given collection set candidates and the remaining time.
void calculate_old_collection_set_regions(G1CollectionSetCandidates* candidates,
double time_remaining_ms,
--- 340,351 ----
void record_concurrent_mark_cleanup_start();
void record_concurrent_mark_cleanup_end();
void print_phases();
! bool next_gc_should_be_mixed(const char* true_action_str = NULL,
! const char* false_action_str = NULL) const;
// Calculate and return the number of initial and optional old gen regions from
// the given collection set candidates and the remaining time.
void calculate_old_collection_set_regions(G1CollectionSetCandidates* candidates,
double time_remaining_ms,
*** 375,384 ****
--- 379,390 ----
// marking thread has completed its work during the previous cycle,
// it will set in_initial_mark_gc() to so that the pause does
// the initial-mark work and start a marking cycle.
void decide_on_conc_mark_initiation();
+ size_t desired_bytes_after_concurrent_mark() const { return _minimum_desired_bytes_after_last_cm; }
+
size_t young_list_target_length() const { return _young_list_target_length; }
bool should_allocate_mutator_region() const;
bool can_expand_young_list() const;
*** 442,449 ****
--- 448,456 ----
void update_survivors_policy();
virtual bool force_upgrade_to_full() {
return false;
}
+ size_t desired_bytes_after_concurrent_mark(size_t used_bytes);
};
#endif // SHARE_GC_G1_G1POLICY_HPP
< prev index next >