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

Evgeny Astigeevich eastigeevich at openjdk.org
Wed Aug 27 21:10:43 UTC 2025


On Wed, 27 Aug 2025 20:05:38 GMT, Coleen Phillimore <coleenp at openjdk.org> wrote:

> I don't see your test added to this PR.

You can find a reproducer in https://bugs.openjdk.org/browse/JDK-8277444 with instructions.

I don't think it is possible to create a reliable jtreg test. The data race depends on hardware very much.
You need delays selected in such a way the retransforming process is going behind the linking process in terms of rewritten bytecodes.

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

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


More information about the hotspot-dev mailing list