8218920: Scan HCC should be on the same level as Update RS etc. in the log

Reviewed-by: lkorinth, kbarrett
This commit is contained in:
Thomas Schatzl 2019-02-19 12:56:02 +01:00
parent a3b6a825bc
commit 8b5d08be9f
2 changed files with 3 additions and 3 deletions

View File

@ -383,10 +383,10 @@ double G1GCPhaseTimes::print_evacuate_collection_set() const {
for (int i = ThreadRoots; i <= SATBFiltering; i++) {
trace_phase(_gc_par_phases[i]);
}
debug_phase(_gc_par_phases[UpdateRS]);
if (G1HotCardCache::default_use_cache()) {
trace_phase(_gc_par_phases[ScanHCC]);
debug_phase(_gc_par_phases[ScanHCC]);
}
debug_phase(_gc_par_phases[UpdateRS]);
debug_phase(_gc_par_phases[ScanRS]);
debug_phase(_gc_par_phases[CodeRoots]);
debug_phase(_gc_par_phases[ObjCopy]);

View File

@ -100,7 +100,7 @@ public class TestGCLogMessages {
new LogMessageWithLevel("Processed Buffers", Level.DEBUG),
new LogMessageWithLevel("Scanned Cards", Level.DEBUG),
new LogMessageWithLevel("Skipped Cards", Level.DEBUG),
new LogMessageWithLevel("Scan HCC", Level.TRACE),
new LogMessageWithLevel("Scan HCC", Level.DEBUG),
// Scan RS
new LogMessageWithLevel("Scan RS", Level.DEBUG),
new LogMessageWithLevel("Scanned Cards", Level.DEBUG),