[jdk21u-dev] Withdrawn: 8320310: CompiledMethod::has_monitors flag can be incorrect

Satyen Subramaniam ssubramaniam at openjdk.org
Mon May 12 17:04:01 UTC 2025


On Fri, 2 May 2025 21:23:56 GMT, Satyen Subramaniam <ssubramaniam at openjdk.org> wrote:

> Backporting JDK-8320310: CompiledMethod::has_monitors flag can be incorrect. The proposed fix is to rely on Method::has_monitor_bytecodes to set the has_monitors flag when compiling, which is immune to issues where not all byte codes of a method are parsed during compilation. Adds test. Ran GHA Sanity Checks, local Tier 1 and 2 tests. Patch is almost clean (missing `src/hotspot/share/runtime/continuationFreezeThaw.cpp`).

This pull request has been closed without being integrated.

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

PR: https://git.openjdk.org/jdk21u-dev/pull/1732


More information about the jdk-updates-dev mailing list