8280450: Add task queue printing to STW Full GCs
Reviewed-by: ayang, sjohanss
This commit is contained in:
parent
dcc666d53d
commit
993a2488ef
@ -294,6 +294,10 @@ void G1FullCollector::phase1_mark_live_objects() {
|
||||
}
|
||||
|
||||
scope()->tracer()->report_object_count_after_gc(&_is_alive);
|
||||
#if TASKQUEUE_STATS
|
||||
oop_queue_set()->print_and_reset_taskqueue_stats("Oop Queue");
|
||||
array_queue_set()->print_and_reset_taskqueue_stats("ObjArrayOop Queue");
|
||||
#endif
|
||||
}
|
||||
|
||||
void G1FullCollector::phase2_prepare_compaction() {
|
||||
|
@ -2116,6 +2116,10 @@ void PSParallelCompact::marking_phase(ParallelOldTracer *gc_tracer) {
|
||||
}
|
||||
|
||||
_gc_tracer.report_object_count_after_gc(is_alive_closure());
|
||||
#if TASKQUEUE_STATS
|
||||
ParCompactionManager::oop_task_queues()->print_and_reset_taskqueue_stats("Oop Queue");
|
||||
ParCompactionManager::_objarray_task_queues->print_and_reset_taskqueue_stats("ObjArrayOop Queue");
|
||||
#endif
|
||||
}
|
||||
|
||||
class PSAdjustTask final : public WorkerTask {
|
||||
|
Loading…
x
Reference in New Issue
Block a user