Skip to content

Simple JVMTI agent to monitor long gc pauses and kill application

License

Notifications You must be signed in to change notification settings

ivandasch/gcwatchdog

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Build Status

Simple JVMTI agent to monitor long GC pauses.

Usage

Add these to JVM options.

-agentpath:<path_to_agentlib>=threshold=<milliseconds>[default: 100],heapDumpOnExit=<true|false>[default: false],heapDumpPath=<path_to_dir>[default: '.'],logFilePath=<path_to_file>

Example:

-agentpath:<path_to_agentlib>=threshold=500,heapDumpOnExit=true,heapDumpPath=/tmp,logFilePath=/var/log/agent.log

Build

Cmake >= 3.14, gcc >= 4.8.1 required. JDK also must presents.

Run following commands:

mkdir build
cd build
cmake ..
make
make test
cpack

About

Simple JVMTI agent to monitor long gc pauses and kill application

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published