gctoolkit icon indicating copy to clipboard operation
gctoolkit copied to clipboard

Unrecognised ZGC file

Open AlinaHovakimyan opened this issue 1 year ago • 2 comments
trafficstars

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"

AlinaHovakimyan avatar Sep 02 '24 13:09 AlinaHovakimyan