.
├── README.md
├── build.gradle
├── jmtrace
├── settings.gradle
└── src
└── main
└── java
├── ClassVisitorAdapter.java
├── MethodVisitorAdapter.java
├── PreMainAgent.java
└── TraceInsn.java
- ASM 9.0
- Gradle
- jdk 11
- run
$gradle jar
in the root folder, ajmtrace-1.0-SNAPSHOT.jar
file will be generated inbuild\libs
- use
$./jmtrace -jar [path to something.jar]
to run.
- jmtrace can be used to monitor memory access. For every
(getstatic/putstatic/getfield/putfield/*aload/*astore)
instruction, a log will be printed.
R/W ThreadId ObjectId Field