tnt4j-stream-gc
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/tnt4j-api-final-all.jar" 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/tnt4j-api-final-all.jar;jesl/jkool-jesl.jar;jesl/lib/httpcore-4.2.4.jar;jesl/lib/httpclient-4.2.5.jar" 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
Project Dependencies
Stream-GC requires the following:
- JDK 1.7+ (Update 04 or higher)
- TNT4J (https://github.com/Nastel/TNT4J)