From: Ivan Dubrov Date: Fri, 25 Apr 2014 21:25:39 +0000 (-0700) Subject: Update README.md X-Git-Tag: light-jdk8u5+36~12 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=1deaf9fbf9ca61cc289edc507ffcb3be6d01b131;p=dcevm.git Update README.md --- diff --git a/README.md b/README.md index 3d6065fd..486acdb3 100644 --- a/README.md +++ b/README.md @@ -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