The VMKit project is retired
You can still play with the last VMKit release, but the project is not more maintained. Moreover, the information on these pages may be out of date.
If you are interested in restarting the project, please contact GaŽl Thomas
Getting Started: Building and Running VMKit
This page gives you the shortest path to checking out vmkit and demos a few options. This should get you up and running with the minimum of muss and fuss. If you like what you see, please consider getting involved with the vmkit community.
Building vmkit / working with the code
If you would like to check out and build the project, the current scheme is:
- tar zxvf llvm-3.3.src.tar.gz
- cd llvm-3.3.src/tools
- tar zxvf ../../cfe-3.3.src.tar.gz
- mv cfe-3.3.src clang
- cd ..
- ./configure --enable-optimized; make
Note: To compile LLVM and VMKit with RTTI enabled, one can pass the parameter REQUIRES_RTTI=1 to llvm make. Passing this argument removes the flag -fno-rtti from the compiler options. Ex: $ make REQUIRES_RTTI=1
- svn co http://llvm.org/svn/llvm-project/vmkit/trunk vmkit
- Tell vmkit where the llvm-config binary is located.
- org.mmtk.plan.marksweep.MS (default)
- Tell vmkit to use OpenJDK classpath implementation.
- Tell vmkit where OpenJDK is located.
- make (this will give you a release build)
- j3 --help
- j3 HelloWorld