Verification in agent transformers

Alan Bateman alan.bateman at oracle.com
Fri Mar 7 18:42:57 UTC 2025



On 07/03/2025 17:28, Ryan Ernst wrote:
> When the transformer runs outside of retransformClasses, there is no VerifyError, yet the incompatible type existed (but it was unused, so did not trip a runtime problem, it was just a bad type sitting on the stack).
>

What does "outside of retransformClasses" mean? Is this static 
instrumentation where classes in modules mapped to the boot loader are 
instrumented and the jimage re-created with the modified classes, or is 
this load time instrumentation?

-Alan
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mail.openjdk.org/pipermail/hotspot-dev/attachments/20250307/ba064220/attachment-0001.htm>


More information about the hotspot-dev mailing list