Testing whether a new collector will work with the current build is a good starting point before actually starting with the coding.
. First build Jikes RVM, with MarkSweep garbage collector
bin/buildit -j $JAVA_HOME localhost BaseBase MarkSweep
. Test the GC
bin/buildit -j $JAVA_HOME localhost -t gctest BaseBase MarkSweep
. Dummy Compressor GC.
Before testing the real implementation of the new GC algorithm Compressor, we will test that it will work.
Copy the package org.mmtk.plan.marksweep in MMTk/src as org.mmtk.plan.compressor and rename the package names accordingly.
In build/configs, copy BaseBaseMarkSweep.properties as BaseBaseCompressor.properties
. Test the dummy compressor GC
bin/buildit -j $JAVA_HOME localhost -t gctest BaseBase Compressor
You should be able to see the [echo] ... SUCCESS as seen above in , upon a successful build. Now this is time to check the implementation of the new algorithm.