--- a/hotspot/src/share/vm/logging/logPrefix.hpp Thu Dec 10 23:02:31 2015 +0000
+++ b/hotspot/src/share/vm/logging/logPrefix.hpp Thu Dec 10 14:57:55 2015 +0100
@@ -38,7 +38,38 @@
// List of prefixes for specific tags and/or tagsets.
// Syntax: LOG_PREFIX(<name of prefixer function>, LOG_TAGS(<chosen log tags>))
// Where the prefixer function matches the following signature: size_t (*)(char*, size_t)
-#define LOG_PREFIX_LIST // Currently unused/empty
+#define LOG_PREFIX_LIST \
+ LOG_PREFIX(GCId::print_prefix, LOG_TAGS(gc)) \
+ LOG_PREFIX(GCId::print_prefix, LOG_TAGS(gc, age)) \
+ LOG_PREFIX(GCId::print_prefix, LOG_TAGS(gc, alloc)) \
+ LOG_PREFIX(GCId::print_prefix, LOG_TAGS(gc, barrier)) \
+ LOG_PREFIX(GCId::print_prefix, LOG_TAGS(gc, compaction)) \
+ LOG_PREFIX(GCId::print_prefix, LOG_TAGS(gc, compaction, phases)) \
+ LOG_PREFIX(GCId::print_prefix, LOG_TAGS(gc, cpu)) \
+ LOG_PREFIX(GCId::print_prefix, LOG_TAGS(gc, ergo)) \
+ LOG_PREFIX(GCId::print_prefix, LOG_TAGS(gc, ergo, cset)) \
+ LOG_PREFIX(GCId::print_prefix, LOG_TAGS(gc, ergo, heap)) \
+ LOG_PREFIX(GCId::print_prefix, LOG_TAGS(gc, ergo, ihop)) \
+ LOG_PREFIX(GCId::print_prefix, LOG_TAGS(gc, heap)) \
+ LOG_PREFIX(GCId::print_prefix, LOG_TAGS(gc, freelist)) \
+ LOG_PREFIX(GCId::print_prefix, LOG_TAGS(gc, ihop)) \
+ LOG_PREFIX(GCId::print_prefix, LOG_TAGS(gc, liveness)) \
+ LOG_PREFIX(GCId::print_prefix, LOG_TAGS(gc, metaspace)) \
+ LOG_PREFIX(GCId::print_prefix, LOG_TAGS(gc, phases)) \
+ LOG_PREFIX(GCId::print_prefix, LOG_TAGS(gc, phases, start)) \
+ LOG_PREFIX(GCId::print_prefix, LOG_TAGS(gc, plab)) \
+ LOG_PREFIX(GCId::print_prefix, LOG_TAGS(gc, region)) \
+ LOG_PREFIX(GCId::print_prefix, LOG_TAGS(gc, remset)) \
+ LOG_PREFIX(GCId::print_prefix, LOG_TAGS(gc, ref)) \
+ LOG_PREFIX(GCId::print_prefix, LOG_TAGS(gc, ref, start)) \
+ LOG_PREFIX(GCId::print_prefix, LOG_TAGS(gc, start)) \
+ LOG_PREFIX(GCId::print_prefix, LOG_TAGS(gc, sweep)) \
+ 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)) \
+ LOG_PREFIX(GCId::print_prefix, LOG_TAGS(gc, tlab))
+
// The empty prefix, used when there's no prefix defined.
template <LogTagType T0, LogTagType T1, LogTagType T2, LogTagType T3, LogTagType T4, LogTagType GuardTag = LogTag::__NO_TAG>