A java agent that trace all shared memory accesses of the classes in a given Java jar package.
Requirements: Java 11+, Gradle 7.3+
gradle build
The built agent jar is at build/libs/jmtrace-0.1.jar
.
java -javaagent:build/libs/jmtrace-0.1.jar -jar demo.jar
We provide a script jmtrace
which resembled the java command to run jmtrace.
chmod +x ./jmtrace
./jmtrace -jar <jarfile> ...