yjl9903 / Jmtrace

Trace Java memory access

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Jmtrace

Trace Java memory access.

Installation

Build Jmtrace.

./gradlew build fatJar

For Windows users, you can add path\to\jmtrace\bin to your PATH environment variable. Also, you can add the following config to your PowerShell $PROFILE file (like .bashrc in Linux). It will also register the command jmtrace globally.

Set-Alias -Name jmtrace -Value "path\to\jmtrace\bin\jmtrace.ps1"

For Linux / macOS users, you can append path/to/jmtrace/bin directory to PATH environment variable in .bashrc.

Usage

$ jmtrace --help
Usage: jmtrace options_list
Arguments: 
    args -> Args for running jar (optional) { String }
Options: 
    --jar, -jar -> Input jar package (always required) { String }
    --verbose, -v [false] -> Enable verbose Log 
    --help, -h -> Usage info

About

Trace Java memory access


Languages

Language:Kotlin 97.1%Language:PowerShell 2.0%Language:Shell 0.8%