An open API service indexing awesome lists of open source software.

https://github.com/yjl9903/jmtrace

Trace Java memory access
https://github.com/yjl9903/jmtrace

bytecode java javassist memory trace

Last synced: 8 months ago
JSON representation

Trace Java memory access

Awesome Lists containing this project

README

          

# Jmtrace

Trace Java memory access.

## Installation

Build Jmtrace.

```bash
./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.

```powershell
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

```text
$ 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
```