RFR: 8267842: SIGSEGV in get_current_contended_monitor

Stefan Karlsson stefank at openjdk.java.net
Thu May 27 15:23:06 UTC 2021


On Thu, 27 May 2021 09:56:22 GMT, Martin Doerr <mdoerr at openjdk.org> wrote:

> We need a fix for crashes in get_current_contended_monitor due to concurrent modification of memory locations which are not declared volatile. See bug for details.

I wonder if this should be changed to perform the read once by using Atomic::load? That's the guidance we've given the last few years. Some background for this: JDK-8234192.

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

Changes requested by stefank (Reviewer).

PR: https://git.openjdk.java.net/jdk/pull/4224


More information about the hotspot-runtime-dev mailing list