8280146: Parallel: Remove time log tag

Reviewed-by: tschatzl, iwalulya
This commit is contained in:
Albert Mingkun Yang 2022-01-20 12:33:16 +00:00
parent 20297deaeb
commit 98b157a79a
4 changed files with 0 additions and 28 deletions

View File

@ -1735,10 +1735,6 @@ bool PSParallelCompact::invoke_no_policy(bool maximum_heap_compaction) {
_gc_timer.register_gc_start();
_gc_tracer.report_gc_start(heap->gc_cause(), _gc_timer.gc_start());
TimeStamp marking_start;
TimeStamp compaction_start;
TimeStamp collection_exit;
GCCause::Cause gc_cause = heap->gc_cause();
PSYoungGen* young_gen = heap->young_gen();
PSOldGen* old_gen = heap->old_gen();
@ -1791,7 +1787,6 @@ bool PSParallelCompact::invoke_no_policy(bool maximum_heap_compaction) {
ref_processor()->start_discovery(maximum_heap_compaction);
marking_start.update();
marking_phase(vmthread_cm, &_gc_tracer);
bool max_on_system_gc = UseMaximumCompactionOnSystemGC
@ -1807,7 +1802,6 @@ bool PSParallelCompact::invoke_no_policy(bool maximum_heap_compaction) {
// needed by the compaction for filling holes in the dense prefix.
adjust_roots();
compaction_start.update();
compact();
ParCompactionManager::verify_all_region_stack_empty();
@ -1922,15 +1916,9 @@ bool PSParallelCompact::invoke_no_policy(bool maximum_heap_compaction) {
old_gen->object_space()->check_mangled_unused_area_complete();
}
collection_exit.update();
heap->print_heap_after_gc();
heap->trace_heap_after_gc(&_gc_tracer);
log_debug(gc, task, time)("VM-Thread " JLONG_FORMAT " " JLONG_FORMAT " " JLONG_FORMAT,
marking_start.ticks(), compaction_start.ticks(),
collection_exit.ticks());
AdaptiveSizePolicyOutput::print(size_policy, heap->total_collections());
_gc_timer.register_gc_end();

View File

@ -358,12 +358,6 @@ bool PSScavenge::invoke_no_policy() {
_gc_timer.register_gc_start();
TimeStamp scavenge_entry;
TimeStamp scavenge_midpoint;
TimeStamp scavenge_exit;
scavenge_entry.update();
if (GCLocker::check_active_before_gc()) {
return false;
}
@ -463,8 +457,6 @@ bool PSScavenge::invoke_no_policy() {
ParallelScavengeHeap::heap()->workers().run_task(&task);
}
scavenge_midpoint.update();
// Process reference objects discovered during scavenge
{
GCTraceTime(Debug, gc, phases) tm("Reference Processing", &_gc_timer);
@ -669,12 +661,6 @@ bool PSScavenge::invoke_no_policy() {
heap->print_heap_after_gc();
heap->trace_heap_after_gc(&_gc_tracer);
scavenge_exit.update();
log_debug(gc, task, time)("VM-Thread " JLONG_FORMAT " " JLONG_FORMAT " " JLONG_FORMAT,
scavenge_entry.ticks(), scavenge_midpoint.ticks(),
scavenge_exit.ticks());
AdaptiveSizePolicyOutput::print(size_policy, heap->total_collections());
_gc_timer.register_gc_end();

View File

@ -90,7 +90,6 @@ DEBUG_ONLY(size_t Test_log_prefix_prefixer(char* buf, size_t len);)
LOG_PREFIX(GCId::print_prefix, LOG_TAGS(gc, task)) \
LOG_PREFIX(GCId::print_prefix, LOG_TAGS(gc, task, start)) \
LOG_PREFIX(GCId::print_prefix, LOG_TAGS(gc, task, stats)) \
LOG_PREFIX(GCId::print_prefix, LOG_TAGS(gc, task, time)) \
DEBUG_ONLY(LOG_PREFIX(Test_log_prefix_prefixer, LOG_TAGS(logging, test))) \
LOG_PREFIX(GCId::print_prefix, LOG_TAGS(gc, tlab)) \
LOG_PREFIX(GCId::print_prefix, LOG_TAGS(gc, verify)) \

View File

@ -183,7 +183,6 @@
DEBUG_ONLY(LOG_TAG(test)) \
LOG_TAG(thread) \
LOG_TAG(throttle) \
LOG_TAG(time) \
LOG_TAG(timer) \
LOG_TAG(tlab) \
LOG_TAG(tracking) \