Track and trace java GC behavior
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
config
src
.gitignore
LICENSE
README.md
build.xml
pom.xml

README.md

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

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

Project Dependencies

Stream-GC requires the following:

Please use JCenter or Maven and dependencies will be downloaded automatically.