Withdrawn: 8296955: Kitchensink.java failed with "double free or corruption (!prev): <addr>"

Coleen Phillimore coleenp at openjdk.org
Thu Dec 8 16:40:55 UTC 2022


On Thu, 8 Dec 2022 14:22:15 GMT, Coleen Phillimore <coleenp at openjdk.org> wrote:

> Thanks to Kim for the diagnosis of this problem.  G1 cleans up nmethods in parallel threads during a safepoint and may post or queue unload events to be posted.  The event posting creates jmethodIDs.  The jmethodID code assumes that it's thread safe in a safepoint, which it is not.
> I removed this optimization, which isn't much of an optimization and is unsafe in the modern code.
> Tested with tier1-5, where 5 found the original bug.
> I'll also rebase this to JDK 20 repository and close this, but here's a preview.

This pull request has been closed without being integrated.

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

PR: https://git.openjdk.org/jdk/pull/11594


More information about the serviceability-dev mailing list