[lworld] RFR: 8370349: [lworld] Generalize some memory optimizations for strict final fields

Tobias Hartmann thartmann at openjdk.org
Wed Oct 22 06:28:30 UTC 2025


On Tue, 21 Oct 2025 17:07:21 GMT, Quan Anh Mai <qamai at openjdk.org> wrote:

> Hi,
> 
> Some optimizations in `memnode.cpp` look at some properties of the pointer such as if it is a field of a value class, or if it is a field of a box class while the required assumption is that the pointer is to a strict final field. This PR cleans that up.
> 
> Please leave your reviews, thanks very much.

Nice refactoring, looks good to me!

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

Marked as reviewed by thartmann (Committer).

PR Review: https://git.openjdk.org/valhalla/pull/1692#pullrequestreview-3363873195


More information about the valhalla-dev mailing list