- Java 17 or later
- Gradle 8.4 or later
JMC project should be downloaded from the GitHub repository and built as follows
In a different directory, clone the JMC repository:
git clone https://github.com/mpi-sws-rse/jmc.git
cd jmc
./gradlew clean
./gradlew :agent:publish
./gradlew :core:publish
This will build the JMC core and publish it to your local Maven repository.
(Note, ensure that you are using the same java and gradle versions for building JMC as you would use for this project.)
The repository contains a sample project that uses JMC to check concurrent counter implementation. (here) To run the example, follow these steps:
./gradlew clean
./gradlew --info test --tests "org.example.CounterTest.runTrustCounterTest"