On Sat, 12 Sep 2026 05:51:12 GMT, Yasumasa Suenaga <[email protected]> wrote:

> After Valhalla, `InstanceKlass::size()` in HotSpot adds sizeof 
> `ValueKlass::Members` for value class, however SA does not do. It caused the 
> failure in TestInstanceKlassSize.java with `--enable-preview`.
> 
> This PR fixes the problem, and adds the test for `java.lang.Byte` to 
> TestInstanceKlassSize.java again (removed by JEP 401).
> 
> ---------
> - [x] I confirm that I make this contribution in accordance with the [OpenJDK 
> Interim AI Policy](https://openjdk.org/legal/ai).

Looks good.

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

Marked as reviewed by cjplummer (Reviewer).

PR Review: https://git.openjdk.org/jdk/pull/32848#pullrequestreview-5229821372

Reply via email to