On 01/05/2017 18:37, fo...@univ-mlv.fr wrote:

:
In both cases, the VM adds modules to the configuration like with --add-modules 
before the boot layer is created, so there are not dynamically loaded.
That is the -Dcom.sun.management.jmxremote or -javaagent case.

The other case is where a tool attaches to a running VM and starts the JMX agent or loads a java agent. If the modules aren't loaded then it trigger the creation of a relative configuration and a child layer with the modules that are needed. It's not exposed in the API so just think of it as limited support for dynamic augmentation of platform modules.

It's definitely something to come back in the future.

-Alan.

Reply via email to