[jdk17u-dev] Withdrawn: 8277444: Data race between JvmtiClassFileReconstituter::copy_bytecodes and class linking

duke duke at openjdk.org
Wed Jan 14 03:45:29 UTC 2026


On Thu, 18 Sep 2025 21:34:05 GMT, Chad Rakoczy <duke at openjdk.org> wrote:

> Backport of https://bugs.openjdk.org/browse/JDK-8277444. Trivial conflict (`NULL` vs `nullptr`)
> 
> This fixes a race condition that occurs when a class is simultaneously retransformed via the Instrumentation API and linked. This can lead to invalid bytecode which will cause a VerifyError. Even worse, if class verifying is turned off, which it is by default for java.* classes, this will cause the JVM to crash/segfault.
> 
> The included test `test/jdk/java/lang/instrument/RetransformBigClassTest.java` fails before the patch and passes after

This pull request has been closed without being integrated.

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

PR: https://git.openjdk.org/jdk17u-dev/pull/3955


More information about the jdk-updates-dev mailing list