mirror of
https://github.com/openjdk/jdk.git
synced 2026-02-01 22:18:23 +00:00
8152104: G1 StringTable cleaning incorrectly logs with the stringdedup tag
Reviewed-by: mgerdin, jwilhelm, sjohanss
This commit is contained in:
parent
a15383123d
commit
97d34dd67a
@ -3743,11 +3743,12 @@ public:
|
||||
"claim value %d after unlink less than initial symbol table size %d",
|
||||
SymbolTable::parallel_claimed_index(), _initial_symbol_table_size);
|
||||
|
||||
log_debug(gc, stringdedup)("Cleaned string and symbol table, "
|
||||
"strings: " SIZE_FORMAT " processed, " SIZE_FORMAT " removed, "
|
||||
"symbols: " SIZE_FORMAT " processed, " SIZE_FORMAT " removed",
|
||||
strings_processed(), strings_removed(),
|
||||
symbols_processed(), symbols_removed());
|
||||
log_info(gc, stringtable)(
|
||||
"Cleaned string and symbol table, "
|
||||
"strings: " SIZE_FORMAT " processed, " SIZE_FORMAT " removed, "
|
||||
"symbols: " SIZE_FORMAT " processed, " SIZE_FORMAT " removed",
|
||||
strings_processed(), strings_removed(),
|
||||
symbols_processed(), symbols_removed());
|
||||
}
|
||||
|
||||
void work(uint worker_id) {
|
||||
|
||||
@ -84,6 +84,7 @@
|
||||
LOG_TAG(state) \
|
||||
LOG_TAG(stats) \
|
||||
LOG_TAG(stringdedup) \
|
||||
LOG_TAG(stringtable) \
|
||||
LOG_TAG(survivor) \
|
||||
LOG_TAG(sweep) \
|
||||
LOG_TAG(task) \
|
||||
|
||||
@ -39,7 +39,7 @@ public class TestStringSymbolTableStats {
|
||||
|
||||
ProcessBuilder pb = ProcessTools.createJavaProcessBuilder("-XX:+UseG1GC",
|
||||
"-XX:+UnlockExperimentalVMOptions",
|
||||
"-Xlog:gc+stringdedup=trace",
|
||||
"-Xlog:gc+stringtable=trace",
|
||||
SystemGCTest.class.getName());
|
||||
|
||||
OutputAnalyzer output = new OutputAnalyzer(pb.start());
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user