Integrated: 8292194: G1 nmethod entry barrier disarm value wraps around too early

Erik Österlund eosterlund at openjdk.org
Wed Aug 24 13:15:19 UTC 2022


On Wed, 10 Aug 2022 14:53:06 GMT, Erik Österlund <eosterlund at openjdk.org> wrote:

> The disarm value for G1 nmethod entry barriers assumes that a concurrent GC can be aborted at most once. However, it can happen many times. In order to avoid ABA issues in the nmethod entry barriers, the limit for wrapping around and reusing numbers needs to be higher. This patch changes that point to INT_MAX as there is little point in using lower values.

This pull request has now been integrated.

Changeset: a45a4b94
Author:    Erik Österlund <eosterlund at openjdk.org>
URL:       https://git.openjdk.org/jdk/commit/a45a4b9465d7d01715425000c4fd47c0aa3e76ca
Stats:     7 lines in 1 file changed: 6 ins; 0 del; 1 mod

8292194: G1 nmethod entry barrier disarm value wraps around too early

Reviewed-by: ayang, tschatzl

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

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


More information about the hotspot-dev mailing list