gctoolkit
gctoolkit copied to clipboard
Unrecognised ZGC file
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"