--- old/src/hotspot/share/gc/g1/g1CollectorState.hpp 2020-07-07 10:35:44.634954185 +0200 +++ new/src/hotspot/share/gc/g1/g1CollectorState.hpp 2020-07-07 10:35:44.534952413 +0200 @@ -47,10 +47,10 @@ // we'll have to wait for the concurrent marking thread to finish // what it is doing. In this case we will postpone the marking cycle // initiation decision for the next pause. When we eventually decide - // to start a cycle, we will set _in_concurrent_mark_gc which + // to start a cycle, we will set _in_concurrent_start_gc which // will stay true until the end of the concurrent start pause doing the // concurrent start work. - volatile bool _in_concurrent_mark_gc; + volatile bool _in_concurrent_start_gc; // At the end of a pause we check the heap occupancy and we decide // whether we will start a marking cycle during the next pause. If @@ -76,7 +76,7 @@ _in_young_only_phase(true), _in_young_gc_before_mixed(false), - _in_concurrent_mark_gc(false), + _in_concurrent_start_gc(false), _initiate_conc_mark_if_possible(false), _mark_or_rebuild_in_progress(false), @@ -88,7 +88,7 @@ // Pause setters void set_in_young_gc_before_mixed(bool v) { _in_young_gc_before_mixed = v; } - void set_in_concurrent_start_gc(bool v) { _in_concurrent_mark_gc = v; } + void set_in_concurrent_start_gc(bool v) { _in_concurrent_start_gc = v; } void set_in_full_gc(bool v) { _in_full_gc = v; } void set_initiate_conc_mark_if_possible(bool v) { _initiate_conc_mark_if_possible = v; } @@ -103,7 +103,7 @@ // Specific pauses bool in_young_gc_before_mixed() const { return _in_young_gc_before_mixed; } bool in_full_gc() const { return _in_full_gc; } - bool in_concurrent_start_gc() const { return _in_concurrent_mark_gc; } + bool in_concurrent_start_gc() const { return _in_concurrent_start_gc; } bool initiate_conc_mark_if_possible() const { return _initiate_conc_mark_if_possible; }