[lworld] RFR: 8354068: [lworld] Fold strict final fields more aggressively [v2]
Tobias Hartmann
thartmann at openjdk.org
Thu Apr 24 14:01:18 UTC 2025
On Thu, 24 Apr 2025 01:12:10 GMT, Quan Anh Mai <qamai at openjdk.org> wrote:
>> I also wonder if the other usages of `is_ptr_to_boxed_value()` in the code could need some update.
>
> That's right, I have added a case when valhalla is not enabled to catch `is_ptr_to_boxed_value` then.
But what I mean is that before your changes, we also executed this code if `t_oop->is_ptr_to_boxed_value()` was true but now we bail out. And if EnableValhalla is false, and primitive boxes are not value classes, we would therefore not optimize loads from those boxes anymore, right?
-------------
PR Review Comment: https://git.openjdk.org/valhalla/pull/1424#discussion_r2058472106
More information about the valhalla-dev
mailing list