RFR: 8312332: C2: Refactor SWPointer out from SuperWord [v3]

Pengfei Li pli at openjdk.org
Mon Sep 11 13:49:42 UTC 2023


On Mon, 11 Sep 2023 07:21:02 GMT, Emanuel Peter <epeter at openjdk.org> wrote:

>> Ah, we need to access it via `pre_loop_end()` which has asserts that check the consistency. Ok.
>
> We just have to make sure that this field is never accessed directly. What happens if people start using it elsewhere?

The field is already private. What else do you think we can do to further protect it?

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

PR Review Comment: https://git.openjdk.org/jdk/pull/15013#discussion_r1321582800


More information about the hotspot-compiler-dev mailing list