< prev index next >
src/share/vm/gc/g1/g1CollectorState.hpp
Print this page
rev 10385 : [mq]: step.01
*** 70,80 ****
bool _during_marking;
bool _mark_in_progress;
bool _in_marking_window;
bool _in_marking_window_im;
- bool _concurrent_cycle_started;
bool _full_collection;
public:
G1CollectorState() :
_gcs_are_young(true),
--- 70,79 ----
*** 86,96 ****
_during_marking(false),
_mark_in_progress(false),
_in_marking_window(false),
_in_marking_window_im(false),
- _concurrent_cycle_started(false),
_full_collection(false) {}
// Setters
void set_gcs_are_young(bool v) { _gcs_are_young = v; }
void set_last_gc_was_young(bool v) { _last_gc_was_young = v; }
--- 85,94 ----
*** 99,109 ****
void set_initiate_conc_mark_if_possible(bool v) { _initiate_conc_mark_if_possible = v; }
void set_during_marking(bool v) { _during_marking = v; }
void set_mark_in_progress(bool v) { _mark_in_progress = v; }
void set_in_marking_window(bool v) { _in_marking_window = v; }
void set_in_marking_window_im(bool v) { _in_marking_window_im = v; }
- void set_concurrent_cycle_started(bool v) { _concurrent_cycle_started = v; }
void set_full_collection(bool v) { _full_collection = v; }
// Getters
bool gcs_are_young() const { return _gcs_are_young; }
bool last_gc_was_young() const { return _last_gc_was_young; }
--- 97,106 ----
*** 112,122 ****
bool initiate_conc_mark_if_possible() const { return _initiate_conc_mark_if_possible; }
bool during_marking() const { return _during_marking; }
bool mark_in_progress() const { return _mark_in_progress; }
bool in_marking_window() const { return _in_marking_window; }
bool in_marking_window_im() const { return _in_marking_window_im; }
- bool concurrent_cycle_started() const { return _concurrent_cycle_started; }
bool full_collection() const { return _full_collection; }
// Composite booleans (clients worry about flickering)
bool during_concurrent_mark() const {
return (_in_marking_window && !_in_marking_window_im);
--- 109,118 ----
< prev index next >