OpenJDK / bsd-port / jdk9 / hotspot
changeset 11619:f3d84276e127
8159893: StringTable cleaning log line lacks the GC ID prefix
Reviewed-by: pliden, jmasa
author | stefank |
---|---|
date | Tue, 21 Jun 2016 14:00:18 +0200 |
parents | d5b704ac66af |
children | 399e76f7e29b |
files | src/share/vm/logging/logPrefix.hpp test/gc/g1/TestStringSymbolTableStats.java |
diffstat | 2 files changed, 2 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/src/share/vm/logging/logPrefix.hpp Thu Jul 07 14:58:17 2016 -0700 +++ b/src/share/vm/logging/logPrefix.hpp Tue Jun 21 14:00:18 2016 +0200 @@ -74,6 +74,7 @@ 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, stringtable)) \ 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)) \
--- a/test/gc/g1/TestStringSymbolTableStats.java Thu Jul 07 14:58:17 2016 -0700 +++ b/test/gc/g1/TestStringSymbolTableStats.java Tue Jun 21 14:00:18 2016 +0200 @@ -46,7 +46,7 @@ System.out.println("Output:\n" + output.getOutput()); - output.shouldContain("Cleaned string and symbol table"); + output.shouldMatch("GC\\(\\d+\\) Cleaned string and symbol table"); output.shouldHaveExitValue(0); }