Getting MMTk and Jikes RVM and Eclipse working.
- Download Jikes RVM version 3.0.1 or later
- Ensure you can Build and Run the RVM.
Ensure you can build and run the
BaseBaseNoGC
configuration (build with:bin/buildit localhost BaseBaseNoGC
, run with something like:dist/BaseBaseNoGC_ia32-linux/rvm HelloWorld
Note that this configuration does not perform garbage collection so can only run small benchmarks which do not exhaust available memory. This configuration will be used as the basis for the tutorial.
- Ensure that your source is successfully imported (and editable) within an IDE such as Eclipse.
Creating The Base Tutorial Collector
- Copy the
org.mmtk.plan.nogc
package toorg.mmtk.plan.tutorial
(copy and paste the package in Eclipse). - Rename the constituent classes from
NoGC*
toTutorial*
(use Refactor->Rename on each class in Eclipse). - Create a new configuration file,
build/configs/BaseBaseTutorial.properties
, with a single line:config.mmtk.plan=org.mmtk.plan.tutorial.Tutorial
- Build and run the resulting collector:
build with something like:
bin/buildit localhost BaseBaseTutorial
run with something like:
dist/BaseBaseTutorial_ia32-linux/rvm HelloWorld
![]() | Checkpoint This patch captures all of the above steps with respect to Jikes RVM 3.0.1. You can use the patch to verify you've completed the above steps correctly. |