trouble with java -Xpatch

Alan Bateman Alan.Bateman at oracle.com
Thu Apr 28 13:16:34 UTC 2016


On 08/04/2016 14:50, Michael Rasmussen wrote:
> :
> So this would mean the agent would be able to get CLFH for _all_ classes,
> even Object, String, Class etc, that are the very first to be loaded, and
> potentially instrument the bytes for those classes as well?
> Of course still following the rules about not introducing any new packages
> etc at the time, since it would cause the module system verification to
> fail (yeah, been there, done that).
>
> If that is the case, that also seems like a good solution for me, which
> should still give me access to what I'm looking for. Also, it would
> basically mean that can_generate_all_class_hook_events would make CLFH
> work similar to how it does on previous versions.
>
Just a quick mail to say that can_generate_early_class_hook_events (new 
capability) is in jdk9/hs so it should make it into JDK 9 master and 
into a promoted build soon (maybe jdk-9+117 or jdk-9+118).

-Alan


More information about the jigsaw-dev mailing list