RFR: 8290062: Remove nmethodLocker for nmethods on-stack

Vladimir Kozlov kvn at openjdk.org
Sat Jul 30 20:02:34 UTC 2022


On Sat, 30 Jul 2022 07:07:53 GMT, Erik Österlund <eosterlund at openjdk.org> wrote:

> The nmethodLockers targeted in this PR are "protecting" nmethods that are already on the stack. Nmethods that are on the stack are kept alive by both sweeper and GC as they both walk stacks. Therefore, using nmethodLocker for on-stack nmethods is redundant.

Thank you for explaining.

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

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


More information about the hotspot-dev mailing list