trouble with java -Xpatch
Alan Bateman
Alan.Bateman at oracle.com
Tue Mar 29 09:51:43 UTC 2016
On 29/03/2016 10:14, Michael Rasmussen wrote:
> With the new -Xpatch format, are there any plans to add support for
> adding (or modifying) these from JVMTI in the OnLoad phase?
>
> /Michael
Not specifically but you can use -Xpatch in conjunction with
-agentlib/-agentpath.
Also if enable the new can_generate_early_vmstart capability then you
can use the ClassFileLoadHook to patch classes loaded early in the
startup. In previous threads I think you mentioned this was something
you were looking to do.
-Alan
More information about the jigsaw-dev
mailing list