RFR: 8277444: Race condition on Instrumentation.retransformClasses() and class linking [v2]

David Holmes dholmes at openjdk.org
Mon Aug 25 05:50:51 UTC 2025


On Fri, 22 Aug 2025 20:28:08 GMT, Dean Long <dlong at openjdk.org> wrote:

> This seems like the correct fix. Forcing these APIs to link the class first would be a change in behavior and I assume it could cause linking-related exceptions to be thrown that the client might not expect.

@dean-long `retransformClasses` is specified to to be able to throw `LinkageErrors`.

-------------

PR Comment: https://git.openjdk.org/jdk/pull/26863#issuecomment-3218916859


More information about the hotspot-dev mailing list