On Tue, 18 Nov 2025 11:19:51 GMT, Quan Anh Mai <[email protected]> wrote:

> Hi,
> 
> The layout of a flat `TypeAryPtr` can only be obtained if it is exact. This 
> small patch refactors `TypeAryPtr::flat_layout_helper` and similar methods to 
> use `exact_klass()` instead of `klass()`, and add an additional condition for 
> when we can compute `_field_offset` during 
> `TypeAryPtr::add_field_offset_and_offset`. We can then remove the extra 
> condition in `TypeAryPtr::compute_klass`.
> 
> Please leave your reviews, thanks a lot.

Thanks a lot for your review!

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

PR Comment: https://git.openjdk.org/valhalla/pull/1744#issuecomment-3548877090

Reply via email to