8223822: Add gc IDs in the log of gc verification
authorstefank
Tue, 14 May 2019 10:54:23 +0200
changeset 54840 a82655619efd
parent 54839 e9db10a375d9
child 54841 43439afaab4a
8223822: Add gc IDs in the log of gc verification Reviewed-by: stefank, tschatzl Contributed-by: fujie@loongson.cn
src/hotspot/share/logging/logPrefix.hpp
--- a/src/hotspot/share/logging/logPrefix.hpp	Tue May 14 12:07:24 2019 +0200
+++ b/src/hotspot/share/logging/logPrefix.hpp	Tue May 14 10:54:23 2019 +0200
@@ -71,6 +71,8 @@
   LOG_PREFIX(GCId::print_prefix, LOG_TAGS(gc, phases, ref)) \
   LOG_PREFIX(GCId::print_prefix, LOG_TAGS(gc, phases, start)) \
   LOG_PREFIX(GCId::print_prefix, LOG_TAGS(gc, phases, task)) \
+  LOG_PREFIX(GCId::print_prefix, LOG_TAGS(gc, phases, verify)) \
+  LOG_PREFIX(GCId::print_prefix, LOG_TAGS(gc, phases, verify, start)) \
   LOG_PREFIX(GCId::print_prefix, LOG_TAGS(gc, plab)) \
   LOG_PREFIX(GCId::print_prefix, LOG_TAGS(gc, promotion)) \
   LOG_PREFIX(GCId::print_prefix, LOG_TAGS(gc, region)) \
@@ -88,6 +90,8 @@
   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)) \
+  LOG_PREFIX(GCId::print_prefix, LOG_TAGS(gc, verify, start)) \
   LOG_PREFIX(GCId::print_prefix, LOG_TAGS(gc, workgang))