Agent and sizing

Henri Tremblay henri.tremblay at gmail.com
Mon Oct 16 02:03:41 UTC 2017


Great!

It still believe that things should be open but in my case, I might be able
to get something to work.

On 15 October 2017 at 04:19, Alan Bateman <Alan.Bateman at oracle.com> wrote:

> On 15/10/2017 05:13, Henri Tremblay wrote:
>
>> :
>>
>> Remi, thanks for your answer. According to it, it seems impossible to open
>> the JDK apart from using JVM parameters. Even an agent can't. Am I right?
>>
>> Agents specified on the command line with `-javaagent` or loaded by tools
> into a target VM via the attach mechanism can use Instrumentation
> redefineModule to open any package in any module to other modules. Every
> effort was made to provide agents (both JVM TI and j.l.instrument based)
> with the APIs needed to work with, and instrument, modules that have chosen
> to encapsulate their internals.
>
> -Alan.
>


More information about the jdk9-dev mailing list