Changes for page Using DCEVM and Hotswap for rapid turnaround
Last modified by Markus Ruggiero on 2022/07/28 14:18
From version 11.1
edited by Samuel Pelletier
on 2015/07/07 17:42
on 2015/07/07 17:42
Change comment:
There is no comment for this version
To version 9.1
edited by Samuel Pelletier
on 2016/06/12 16:43
on 2016/06/12 16:43
Change comment:
There is no comment for this version
Summary
-
Page properties (1 modified, 0 added, 0 removed)
Details
- Page properties
-
- Content
-
... ... @@ -7,9 +7,9 @@ 7 7 8 8 === (% style="line-height: 1.4285715;" %)Patching the VM(%%) === 9 9 10 -(% style="line-height: 1.4285715;" %)DCEVM is the patch that enable the enhanced class redefinition in the VM. Download the installer for your JRE version and install the alternative VM. The patch is not always available for the latest update of the JRE, you may try the latest update available but it may not works. At the time I write this, the patch for Java 1.8 update 45is at build 15 and it does notworkscompletely,I get exception because some DelegatingClassLoader are not updated.The version for Java 1.7 update 71 build 2 works fine with java 1.7.0_79.10 +(% style="line-height: 1.4285715;" %)DCEVM is the patch that enable the enhanced class redefinition in the VM. Download the installer for your JRE version and install the alternative VM. The patch is not always available for the latest update of the JRE, you may try the latest update available but it may not works. At the time I write this, the patch for Java 1.8 update 92 works as expected. 11 11 12 -DCEVM download site: **[[http:~~/~~/dcevm.github.io>>url:http://dcevm.github.io||shape="rect"]] ** 12 +DCEVM download site: **[[http:~~/~~/dcevm.github.io>>url:http://dcevm.github.io||shape="rect"]] [[attach:JRE settings.png]]** 13 13 14 14 === (% style="line-height: 1.4285715;" %)Downloading the Hotswap agent(%%) === 15 15 ... ... @@ -19,16 +19,14 @@ 19 19 20 20 === How to use in a project === 21 21 22 -To enable HotSwap, add the following to the Runconfiguration of yourproject in the VM argumentsection:22 +To enable HotSwap for all java launch within eclipse, add the following to the default VM argument of your current JRE. 23 23 24 24 -XXaltjvm=dcevm -javaagent:/replace_with_correct_path/hotswap-agent.jar 25 25 26 +TO enable per project basis, add the same to the VM argument section of your project's Run configuration. 27 + 26 26 === Known limitations === 27 27 28 28 * Change of superclass is not supported by DCEVM. 29 -* Modifying the return type of a method breaks. It seems there is some cache not cleared. 30 30 31 -(% style="line-height: 1.4285715;" %) 32 - 33 - 34 34 (% style="line-height: 1.4285715;" %)