Assets 4

Basic Info

Option -XXaltjvm=dcevm is not supported since dcevm11. There is full java-11-openjdk distribution instead of it.

WARNING: OpenJDK-hotswap (dcevm) is not intended to use as 'main' JDK, since it uses serial GC by default.

Content

  • java11-openjdk-dcevm-linux.tar.gz - linux x64 JDK binary bundled with latest SNAPHOT release of hotswap-agent.jar
  • java11-openjdk-dcevm-windows.zip - windows x64 JDK binary bundled with latest SNAPHOT release of hotswap-agent.jar
  • java11-openjdk-dcevm-osx.tar.gz - macos JDK binary bundled with latest SNAPHOT release of hotswap-agent.jar

How to disable integrated HotswapAgent:

Use option -XX:+DisableHotswapAgent

How to use DCEVM image in existing jdk-11

Find out libjvm.so inder directory lib/server/ and copy it to existing jdk-11 to directory lib/dcevm, dcevm directory must be at the same level as folder server/ with system JVM. All should work as you are used to from dcevm8.

Check distribution

hotswap@skybber ~ $ java -version
Starting HotswapAgent '/usr/lib/jvm/java-11-haopenjdk/lib/hotswap/hotswap-agent.jar'
HOTSWAP AGENT: 16:43:16.605 INFO (org.hotswap.agent.HotswapAgent) - Loading Hotswap agent {1.3.1-SNAPSHOT} - unlimited runtime class redefinition.
HOTSWAP AGENT: 16:43:16.801 INFO (org.hotswap.agent.config.PluginRegistry) - Discovered plugins: [Hotswapper, JdkPlugin, WatchResources, ClassInitPlugin, AnonymousClassPatch, Hibernate, Hibernate3JPA, Hibernate3, Spring, Jersey1, Jersey2, Jetty, Tomcat, ZK, Logback, Log4j2, MyFaces, Mojarra, Omnifaces, Seam, ELResolver, WildFlyELResolver, OsgiEquinox, Owb, Proxy, WebObjects, Weld, JBossModules, ResteasyRegistry, Deltaspike, GlassFish, Vaadin]
openjdk version "11" 2018-09-25
OpenJDK Runtime Environment (build 11+0)
OpenJDK 64-Bit Server VM (build 11+0, mixed mode)

With HotswapAgent disabled:

hotswap@skybber ~ $ java -XX:+DisableHotswapAgent -version
openjdk version "11" 2018-09-25
OpenJDK Runtime Environment (build 11+0)
OpenJDK 64-Bit Server VM (build 11+0, mixed mode)

News:

  • Fix method handles
  • Newest HotswapAgent 1.3.1-SNAPHOT (including new WicketPlugin)
  • "HotswapAgent not found on path:.." is not printed out on start if hotswap-agent.jar is missing in lib/hotswap/. So jvm image can be used as alternative jdk image (-XXaltjvm=dcevm) without hotswap-agent without unpleasant messages.
  • fix HotswapProjects/openjdk-jdk11u#1

Known issues:

  • reference on removed method handle (in variable)
  • fieldhandles are not reloaded correctly
Assets 5

Basic Info

Option -XXaltjvm=dcevm is not supported since dcevm11. There is full java-11-openjdk distribution instead of it.

WARNING: OpenJDK-hotswap (dcevm) is not intended to use as 'main' JDK, since it uses serial GC by default.

Content

  • java11-openjdk-dcevm-linux.tar.gz - linux x64 JDK binary bundled with latest SNAPHOT release of hotswap-agent.jar
  • java11-openjdk-dcevm-windows.zip - windows x64 JDK binary bundled with latest SNAPHOT release of hotswap-agent.jar
  • java11-openjdk-dcevm-osx.tar.gz - macos JDK binary bundled with latest SNAPHOT release of hotswap-agent.jar

How to disable integrated HotswapAgent:

Use option -XX:+DisableHotswapAgent

How to use DCEVM image in existing jdk-11

Find out libjvm.so inder directory lib/server/ and copy it to existing jdk-11 to directory lib/dcevm, dcevm directory must be at the same level as folder server/ with system JVM. All should work as you are used to from dcevm8.

Check distribution

hotswap@skybber ~ $ java -version
Starting HotswapAgent '/usr/lib/jvm/java-11-haopenjdk/lib/hotswap/hotswap-agent.jar'
HOTSWAP AGENT: 16:43:16.605 INFO (org.hotswap.agent.HotswapAgent) - Loading Hotswap agent {1.3.1-SNAPSHOT} - unlimited runtime class redefinition.
HOTSWAP AGENT: 16:43:16.801 INFO (org.hotswap.agent.config.PluginRegistry) - Discovered plugins: [Hotswapper, JdkPlugin, WatchResources, ClassInitPlugin, AnonymousClassPatch, Hibernate, Hibernate3JPA, Hibernate3, Spring, Jersey1, Jersey2, Jetty, Tomcat, ZK, Logback, Log4j2, MyFaces, Mojarra, Omnifaces, Seam, ELResolver, WildFlyELResolver, OsgiEquinox, Owb, Proxy, WebObjects, Weld, JBossModules, ResteasyRegistry, Deltaspike, GlassFish, Vaadin]
openjdk version "11" 2018-09-25
OpenJDK Runtime Environment (build 11+0)
OpenJDK 64-Bit Server VM (build 11+0, mixed mode)

With HotswapAgent disabled:

hotswap@skybber ~ $ java -XX:+DisableHotswapAgent -version
openjdk version "11" 2018-09-25
OpenJDK Runtime Environment (build 11+0)
OpenJDK 64-Bit Server VM (build 11+0, mixed mode)

News:

  • Newest HotswapAgent 1.3.1-SNAPHOT (including new WicketPlugin)
  • "HotswapAgent not found on path:.." is not printed out on start if hotswap-agent.jar is missing in lib/hotswap/. So jvm image can be used as alternative jdk image (-XXaltjvm=dcevm) without hotswap-agent without unpleasant messages.
  • fix HotswapProjects/openjdk-jdk11u#1

Known Issues

  • field method handle removal
Assets 5

Basic Info

Option -XXaltjvm=dcevm is not supported since dcevm11. There is full java-11-openjdk distribution instead of it.

WARNING: OpenJDK-hotswap (dcevm) is not intended to use as 'main' JDK, since it uses serial GC by default.

Content

  • java11-openjdk-dcevm-linux.tar.gz - linux x64 JDK binary bundled with latest SNAPHOT release of hotswap-agent.jar
  • java11-openjdk-dcevm-windows.zip - windows x64 JDK binary bundled with latest SNAPHOT release of hotswap-agent.jar
  • java11-openjdk-dcevm-osx.tar.gz - macos JDK binary bundled with latest SNAPHOT release of hotswap-agent.jar

How to disable integrated HotswapAgent:

Use option -XX:+DisableHotswapAgent

Check distribution

hotswap@skybber ~ $ java -version
Starting HotswapAgent '/usr/lib/jvm/java-11-haopenjdk/lib/hotswap/hotswap-agent.jar'
HOTSWAP AGENT: 16:43:16.605 INFO (org.hotswap.agent.HotswapAgent) - Loading Hotswap agent {1.3.1-SNAPSHOT} - unlimited runtime class redefinition.
HOTSWAP AGENT: 16:43:16.801 INFO (org.hotswap.agent.config.PluginRegistry) - Discovered plugins: [Hotswapper, JdkPlugin, WatchResources, ClassInitPlugin, AnonymousClassPatch, Hibernate, Hibernate3JPA, Hibernate3, Spring, Jersey1, Jersey2, Jetty, Tomcat, ZK, Logback, Log4j2, MyFaces, Mojarra, Omnifaces, Seam, ELResolver, WildFlyELResolver, OsgiEquinox, Owb, Proxy, WebObjects, Weld, JBossModules, ResteasyRegistry, Deltaspike, GlassFish, Vaadin]
openjdk version "11" 2018-09-25
OpenJDK Runtime Environment (build 11+0)
OpenJDK 64-Bit Server VM (build 11+0, mixed mode)

With HotswapAgent disabled:

hotswap@skybber ~ $ java -XX:+DisableHotswapAgent -version
openjdk version "11" 2018-09-25
OpenJDK Runtime Environment (build 11+0)
OpenJDK 64-Bit Server VM (build 11+0, mixed mode)

News:

Known Issues

  • field method handle removal
Assets 5

Basic Info

First stable trava-jdk-11-dcevm build

Option -XXaltjvm=dcevm is not supported since dcevm11. There is full java-11-openjdk distribution instead of it.

WARNING: OpenJDK-hotswap (dcevm) is not intended to use as 'main' JDK, since it uses serial GC by default.

Content

  • java11-openjdk-dcevm-linux.tar.gz - linux x64 JDK binary bundled with latest SNAPHOT release of hotswap-agent.jar
  • java11-openjdk-dcevm-windows.zip - windows x64 JDK binary bundled with latest SNAPHOT release of hotswap-agent.jar
  • java11-openjdk-dcevm-osx.tar.gz - macos JDK binary bundled with latest SNAPHOT release of hotswap-agent.jar

How to disable integrated HotswapAgent:

Use option -XX:+DisableHotswapAgent

Check distribution

hotswap@skybber ~ $ java -version
Starting HotswapAgent '/usr/lib/jvm/java-11-haopenjdk/lib/hotswap/hotswap-agent.jar'
HOTSWAP AGENT: 16:43:16.605 INFO (org.hotswap.agent.HotswapAgent) - Loading Hotswap agent {1.3.1-SNAPSHOT} - unlimited runtime class redefinition.
HOTSWAP AGENT: 16:43:16.801 INFO (org.hotswap.agent.config.PluginRegistry) - Discovered plugins: [Hotswapper, JdkPlugin, WatchResources, ClassInitPlugin, AnonymousClassPatch, Hibernate, Hibernate3JPA, Hibernate3, Spring, Jersey1, Jersey2, Jetty, Tomcat, ZK, Logback, Log4j2, MyFaces, Mojarra, Omnifaces, Seam, ELResolver, WildFlyELResolver, OsgiEquinox, Owb, Proxy, WebObjects, Weld, JBossModules, ResteasyRegistry, Deltaspike, GlassFish, Vaadin]
openjdk version "11" 2018-09-25
OpenJDK Runtime Environment (build 11+0)
OpenJDK 64-Bit Server VM (build 11+0, mixed mode)

With HotswapAgent disabled:

hotswap@skybber ~ $ java -XX:+DisableHotswapAgent -version
openjdk version "11" 2018-09-25
OpenJDK Runtime Environment (build 11+0)
OpenJDK 64-Bit Server VM (build 11+0, mixed mode)

News:

  • 2018-12-01 - First trava-jdk-11-dcevm relase

Known Issues

  • field method handle removal