gctoolkit
gctoolkit copied to clipboard
Tool for parsing GC logs
The ZGC log pattern seems to have changed since jdk21, do you have a plan to support it? Known changes for **CYCLE_START**: before: ``` [20.134s][info ][gc ] GC(1) Garbage Collection...
**Describe the bug** A NullPointerException is thrown when processing a file that contains no GC events. The JVM does not return after this NPE occurs. (Have to kill the process...
**Describe the bug** I first used JDK 8 and set `-XX:+UseG1GC` option to run a program, and exported the GC log (I will provide the link to the log file...
**Describe the bug** When processing a line like: ```5.374: [GC (Allocation Failure) [PSYoungGen: 262144K->28340K(305664K)] 262144K->28364K(1005056K), 0.0146665 secs] [Times: user=0.08 sys=0.00, real=0.01 secs]``` GenerationalHeapParser.psYoungGen(GCLogTrace, String) is called and the offset (5)...
GCToolKit doesn't do well with logs that have no details. The attached CMS log should be parsable. [gc.out.3 (1).zip](https://github.com/microsoft/gctoolkit/files/14950784/gc.out.3.1.zip)
**Describe the bug** The getCommandLine() method has been stubbed out with a TODO. See https://github.com/microsoft/gctoolkit/blob/1476fc128465991f2c531645c780d3ed7c865f2c/api/src/main/java/com/microsoft/gctoolkit/jvm/AbstractJavaVirtualMachine.java#L84 **Expected behavior** Expected this method, or child override in PreUnifiedJavaVirtualMachine to return the command line...
**Describe the bug** The attached file seems to be generated by using the options -Xlog:gc (not -Xlog:gc*). Without the *, only the events tagged "gc" are written out. ``` [6.837s][info][gc]...
Generational ZGC runs two garbage collectors concurrently (major and minor). The current implementation of ZGCParser assumes that at any given time, there can be at most one cycle happening. When...
- **Update dependencies but disable rat plugin as mvnw won't pick up correct config**
Log lines are being parsed ( WORKER_SUMMARY parsing rule) and saved on G1GCForwardReference. But there are no getters there for the corresponding (evacuationWorkersUsed and evacuationWorkersAvailable) variables.