Integrated: 8305351: C2 setScopedValueCache intrinsic doesn't use access API

Erik Österlund eosterlund at openjdk.org
Mon Apr 17 12:17:46 UTC 2023


On Tue, 4 Apr 2023 12:40:14 GMT, Erik Österlund <eosterlund at openjdk.org> wrote:

> The setScopedValueCache intrinsic for C2 doesn't use the access API. Instead, we store into an OopHandle with a raw store. That doesn't necessarily play well with all GCs, for example Shenandoah and generational ZGC. We should use the access API to ensure the right barriers are emitted.

This pull request has now been integrated.

Changeset: 02347d0c
Author:    Erik Österlund <eosterlund at openjdk.org>
URL:       https://git.openjdk.org/jdk/commit/02347d0cec77212d38aad8d06b6ac0c316be00d7
Stats:     2 lines in 1 file changed: 0 ins; 1 del; 1 mod

8305351: C2 setScopedValueCache intrinsic doesn't use access API

Reviewed-by: kvn, rcastanedalo, aph, mdoerr

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

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


More information about the hotspot-compiler-dev mailing list