Unrecognised ZGC file
Opened this issue · 2 comments
AlinaHovakimyan commented
gctoolkit is not being able to recognize ZGC file generated with non-debug mode. Issue is because it indicates ZGC file by looking for "Initializing The Z Garbage Collector" line, which is not there if you just generate zgc log by bin/java -XX:+UseZGC , but if I generate it on debug mode, then all is good: bin/java -XX:+UseZGC -Xlog:gc*,gc+director=debug:file=cms_generated.log:time,level,tags. The line that exists in both files and I guess could be used is "Using The Z Garbage Collector"
dsgrieve commented
ZGC coverage is weak. We do need more/better tests for ZGC. We do have tests for this, but it is very light. Again, a log file would help.
AlinaHovakimyan commented
@dsgrieve please see the log attached:
zgc_generated.log