mirror of
https://github.com/openjdk/jdk.git
synced 2026-02-02 06:28:23 +00:00
8243463: Shenandoah: ditch total_pause counters
Reviewed-by: rkennke
This commit is contained in:
parent
b28137b093
commit
cbdb4ba7ca
@ -2691,7 +2691,6 @@ void ShenandoahHeap::safepoint_synchronize_end() {
|
||||
|
||||
void ShenandoahHeap::vmop_entry_init_mark() {
|
||||
TraceCollectorStats tcs(monitoring_support()->stw_collection_counters());
|
||||
ShenandoahGCPhase total(ShenandoahPhaseTimings::total_pause_gross);
|
||||
ShenandoahGCPhase phase(ShenandoahPhaseTimings::init_mark_gross);
|
||||
|
||||
try_inject_alloc_failure();
|
||||
@ -2701,7 +2700,6 @@ void ShenandoahHeap::vmop_entry_init_mark() {
|
||||
|
||||
void ShenandoahHeap::vmop_entry_final_mark() {
|
||||
TraceCollectorStats tcs(monitoring_support()->stw_collection_counters());
|
||||
ShenandoahGCPhase total(ShenandoahPhaseTimings::total_pause_gross);
|
||||
ShenandoahGCPhase phase(ShenandoahPhaseTimings::final_mark_gross);
|
||||
|
||||
try_inject_alloc_failure();
|
||||
@ -2711,7 +2709,6 @@ void ShenandoahHeap::vmop_entry_final_mark() {
|
||||
|
||||
void ShenandoahHeap::vmop_entry_init_updaterefs() {
|
||||
TraceCollectorStats tcs(monitoring_support()->stw_collection_counters());
|
||||
ShenandoahGCPhase total(ShenandoahPhaseTimings::total_pause_gross);
|
||||
ShenandoahGCPhase phase(ShenandoahPhaseTimings::init_update_refs_gross);
|
||||
|
||||
try_inject_alloc_failure();
|
||||
@ -2721,7 +2718,6 @@ void ShenandoahHeap::vmop_entry_init_updaterefs() {
|
||||
|
||||
void ShenandoahHeap::vmop_entry_final_updaterefs() {
|
||||
TraceCollectorStats tcs(monitoring_support()->stw_collection_counters());
|
||||
ShenandoahGCPhase total(ShenandoahPhaseTimings::total_pause_gross);
|
||||
ShenandoahGCPhase phase(ShenandoahPhaseTimings::final_update_refs_gross);
|
||||
|
||||
try_inject_alloc_failure();
|
||||
@ -2731,7 +2727,6 @@ void ShenandoahHeap::vmop_entry_final_updaterefs() {
|
||||
|
||||
void ShenandoahHeap::vmop_entry_full(GCCause::Cause cause) {
|
||||
TraceCollectorStats tcs(monitoring_support()->full_stw_collection_counters());
|
||||
ShenandoahGCPhase total(ShenandoahPhaseTimings::total_pause_gross);
|
||||
ShenandoahGCPhase phase(ShenandoahPhaseTimings::full_gc_gross);
|
||||
|
||||
try_inject_alloc_failure();
|
||||
@ -2741,7 +2736,6 @@ void ShenandoahHeap::vmop_entry_full(GCCause::Cause cause) {
|
||||
|
||||
void ShenandoahHeap::vmop_degenerated(ShenandoahDegenPoint point) {
|
||||
TraceCollectorStats tcs(monitoring_support()->full_stw_collection_counters());
|
||||
ShenandoahGCPhase total(ShenandoahPhaseTimings::total_pause_gross);
|
||||
ShenandoahGCPhase phase(ShenandoahPhaseTimings::degen_gc_gross);
|
||||
|
||||
VM_ShenandoahDegeneratedGC degenerated_gc((int)point);
|
||||
@ -2753,7 +2747,6 @@ void ShenandoahHeap::entry_init_mark() {
|
||||
ShenandoahPausePhase gc_phase(msg);
|
||||
EventMark em("%s", msg);
|
||||
|
||||
ShenandoahGCPhase total_phase(ShenandoahPhaseTimings::total_pause);
|
||||
ShenandoahGCPhase phase(ShenandoahPhaseTimings::init_mark);
|
||||
|
||||
ShenandoahWorkerScope scope(workers(),
|
||||
@ -2768,7 +2761,6 @@ void ShenandoahHeap::entry_final_mark() {
|
||||
ShenandoahPausePhase gc_phase(msg);
|
||||
EventMark em("%s", msg);
|
||||
|
||||
ShenandoahGCPhase total_phase(ShenandoahPhaseTimings::total_pause);
|
||||
ShenandoahGCPhase phase(ShenandoahPhaseTimings::final_mark);
|
||||
|
||||
ShenandoahWorkerScope scope(workers(),
|
||||
@ -2783,7 +2775,6 @@ void ShenandoahHeap::entry_init_updaterefs() {
|
||||
ShenandoahPausePhase gc_phase(msg);
|
||||
EventMark em("%s", msg);
|
||||
|
||||
ShenandoahGCPhase total_phase(ShenandoahPhaseTimings::total_pause);
|
||||
ShenandoahGCPhase phase(ShenandoahPhaseTimings::init_update_refs);
|
||||
|
||||
// No workers used in this phase, no setup required
|
||||
@ -2796,7 +2787,6 @@ void ShenandoahHeap::entry_final_updaterefs() {
|
||||
ShenandoahPausePhase gc_phase(msg);
|
||||
EventMark em("%s", msg);
|
||||
|
||||
ShenandoahGCPhase total_phase(ShenandoahPhaseTimings::total_pause);
|
||||
ShenandoahGCPhase phase(ShenandoahPhaseTimings::final_update_refs);
|
||||
|
||||
ShenandoahWorkerScope scope(workers(),
|
||||
@ -2811,7 +2801,6 @@ void ShenandoahHeap::entry_full(GCCause::Cause cause) {
|
||||
ShenandoahPausePhase gc_phase(msg, true /* log_heap_usage */);
|
||||
EventMark em("%s", msg);
|
||||
|
||||
ShenandoahGCPhase total_phase(ShenandoahPhaseTimings::total_pause);
|
||||
ShenandoahGCPhase phase(ShenandoahPhaseTimings::full_gc);
|
||||
|
||||
ShenandoahWorkerScope scope(workers(),
|
||||
@ -2827,7 +2816,6 @@ void ShenandoahHeap::entry_degenerated(int point) {
|
||||
ShenandoahPausePhase gc_phase(msg, true /* log_heap_usage */);
|
||||
EventMark em("%s", msg);
|
||||
|
||||
ShenandoahGCPhase total_phase(ShenandoahPhaseTimings::total_pause);
|
||||
ShenandoahGCPhase phase(ShenandoahPhaseTimings::degen_gc);
|
||||
|
||||
ShenandoahWorkerScope scope(workers(),
|
||||
|
||||
@ -57,9 +57,6 @@ class outputStream;
|
||||
// end
|
||||
|
||||
#define SHENANDOAH_GC_PHASE_DO(f) \
|
||||
f(total_pause_gross, "Total Pauses (G)") \
|
||||
f(total_pause, "Total Pauses (N)") \
|
||||
\
|
||||
f(init_mark_gross, "Pause Init Mark (G)") \
|
||||
f(init_mark, "Pause Init Mark (N)") \
|
||||
f(make_parsable, " Make Parsable") \
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user