Changes for page Using DCEVM and Hotswap for rapid turnaround
Last modified by Markus Ruggiero on 2022/07/28 14:18
From 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
To 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
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 92worksasexpected.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 45 is at build 15 and it does not works completely, 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. 11 11 12 -DCEVM download site: **[[http:~~/~~/dcevm.github.io>>url:http://dcevm.github.io||shape="rect"]] [[attach:JREsettings.png]]**12 +DCEVM download site: **[[http:~~/~~/dcevm.github.io>>url:http://dcevm.github.io||shape="rect"]] ** 13 13 14 14 === (% style="line-height: 1.4285715;" %)Downloading the Hotswap agent(%%) === 15 15 ... ... @@ -19,14 +19,16 @@ 19 19 20 20 === How to use in a project === 21 21 22 -To enable HotSwap for all java launch within eclipse, add the following to thedefaultVM argument of your currentJRE.22 +To enable HotSwap, add the following to the Run configuration of your project in the VM argument section: 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 - 28 28 === Known limitations === 29 29 30 30 * 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. 31 31 31 +(% style="line-height: 1.4285715;" %) 32 + 33 + 32 32 (% style="line-height: 1.4285715;" %)