diff options
author | Ivan Dubrov <dubrov.ivan@gmail.com> | 2014-04-25 14:25:39 -0700 |
---|---|---|
committer | Ivan Dubrov <dubrov.ivan@gmail.com> | 2014-04-25 14:25:39 -0700 |
commit | 1deaf9fbf9ca61cc289edc507ffcb3be6d01b131 (patch) | |
tree | dfe321891b51d3f2bc8d577445b0288bc947f373 /README.md | |
parent | 597ce0d6ae31ce14a5cb635e907f8428250ab58b (diff) | |
download | dcevm-1deaf9fbf9ca61cc289edc507ffcb3be6d01b131.tar.gz dcevm-1deaf9fbf9ca61cc289edc507ffcb3be6d01b131.zip |
Update README.md
Diffstat (limited to 'README.md')
-rw-r--r-- | README.md | 11 |
1 files changed, 11 insertions, 0 deletions
@@ -18,6 +18,7 @@ You need the following software to build DCEVM: * Java 7 or later. If you intend to run tests, it should be one of the supported versions (see list of [patches/](patches/)) * C++ compiler toolchain (gcc). There is no strict version requirement except that it should be supported by HotSpot build scripts. +* Mercurial ### Compiling DCEVM @@ -31,6 +32,11 @@ You need the following software to build DCEVM: * Replace `libjvm.so/jvm.dll/libjvm.dylib` in the target JRE. * Run `java -version`, it should include `Dynamic Code Evolution` string. +Or you can install DCEVM using the gradle script: + + * Run `./gradlew installFastdebug -PtargetJre=$JAVA_HOME/jre` or `./gradlew installProduct -PtargetJre=$JAVA_HOME/jre` + * DCEVM will be installed as "alternative" JVM. To use it, add `-XXaltjvm=dcevm` + ### Testing DCEVM * Configure version you want in [gradle.properties](gradle.properties). @@ -39,4 +45,9 @@ You need the following software to build DCEVM: * Run `./gradlew test` to run tests. * Tests reports will be in `dcevm/build/reports/tests/index.html` +To run tests from IDE, you need: + + * Add agent.jar as JVM agent (`-javaagent:agent/build/libs/agent.jar`). + * Configure Java to use DCEVM JVM if installed side-by-side (`-XXaltjvm=dcevm`). + ### Known issues |