Revised JEP and JVMS: Flattened Heap Layouts for Value Objects

John Rose john.r.rose at oracle.com
Wed May 3 19:19:28 UTC 2023


> dup2; swap; iinc $P, -1; iload $P; iastore  (#Dim times)
> invokestatic Array::newInstance(Class,int[])

…Oops, forgot to push the component mirror in that code.
There may be other bugs too.
The JDK could special-case the condy BSM.
A constant dimension array could be condy-fied as well.
YMMV.  HTH!


More information about the valhalla-spec-observers mailing list