On Sun, 19 Oct 2025 17:13:18 GMT, Quan Anh Mai <[email protected]> wrote:
> Hi, > > The load to FlatArrayKlass::_layout_kind can be constant-folded if the > receiver is a constant. This eliminates all checks when the array type is > known statically or speculated correctly. > > Please leave your reviews, thanks a lot. This pull request has now been integrated. Changeset: be252e23 Author: Quan Anh Mai <[email protected]> URL: https://git.openjdk.org/valhalla/commit/be252e2371ced4034ccbcb5c588a465e58c4cc43 Stats: 140 lines in 4 files changed: 138 ins; 0 del; 2 mod 8370195: [lworld] Constant-fold _layout_kind loads from constant FlatArrayKlass Reviewed-by: thartmann ------------- PR: https://git.openjdk.org/valhalla/pull/1687
