TravaOpenJDK / trava-jdk-11-dcevm

dcevm-11 built on Travis
Apache License 2.0
403 stars 57 forks source link

Document HotswapAgent core vs fatjar #31

Closed cdalexndr closed 3 years ago

cdalexndr commented 3 years ago

What's the difference between -XX:HotswapAgent=core and -XX:HotswapAgent=fatjar?

skybber commented 3 years ago

HotswapAgent core has no plugin except core JVM plugins. Then it is faster since less scanning tasks are necessary to be done, less class copying to target classloaders, there is no need to disable plugins. You choose only what you want. If you use ha-core, then plugins must be configured as maven dependecies in pom.xml

cdalexndr commented 3 years ago

Please add to https://github.com/TravaOpenJDK/trava-jdk-11-dcevm/blob/master/README.md

skybber commented 3 years ago

Done