RFR: 8340313: Crash due to invalid oop in nmethod after C1 patching [v2]

Tobias Hartmann thartmann at openjdk.org
Tue Oct 15 11:58:10 UTC 2024


On Tue, 15 Oct 2024 11:47:22 GMT, Erik Österlund <eosterlund at openjdk.org> wrote:

> We could instead extend the CodeCache_lock critical section a bit, and then there is no need for the Patching_lock at all. Is it time for this lock to retire?

+1 to retiring the `Patching_lock` and using the `CodeCache_lock` instead. Let's see what others think.

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

PR Comment: https://git.openjdk.org/jdk/pull/21389#issuecomment-2413709220


More information about the hotspot-compiler-dev mailing list