Track and trace java GC behavior using JAVA JMX GC notifications.
Features:
- GC metric collection from 1+ JVMs without profilers
- Production, test environments
- Measure GC performance, duration
- Measure memory pools before and after GC cycles
- Java Memory pool utilization
- Help troubleshoot and tune java GC
- Stream GC details to file, log4j
- Stream to https://www.jkoolcloud.com for visual analysis
- Requires jKoolCloud Event Sink (https://github.com/Nastel/JESL)
Running Stream-GC as javaagent:
java -javaagent:tnt4j-stream-gc.jar=myApplName -Dtnt4j.config=tnt4j.properties -classpath "lib/*" your.class.name your-args
Running Stream-GC as javaagent with JESL (streaming to jKoolCloud):
java -javaagent:tnt4j-stream-gc.jar=myApplName -Dtnt4j.config=tnt4j.properties -classpath “lib/*" your.class.name your-args
Invoking Stream-GC within java app:
import org.tnt4j.stream.java.gc.GCTracker;
GCTracker.installTracker("myAppName"); // need to be called only once per JVM
Stream-GC requires the following:
- JDK 1.8+
- TNT4J (https://github.com/Nastel/TNT4J)
Please use JCenter or Maven and dependencies will be downloaded automatically.