Primitive boolean array packing

B. Blaser bsrbnd at gmail.com
Mon Oct 8 17:25:41 UTC 2018


On Mon, 8 Oct 2018 at 18:30, Maurizio Cimadamore
<maurizio.cimadamore at oracle.com> wrote:
>
> Hi Bernard,
> what you describe here is also overlapping with Project Panama, which
> allows you to define a Java wrapper for a packed struct using layout
> descriptions. If you go down that path, you can, I believe, address the
> memory footprint issues w/o touching the VM (e.g. by changing the
> implementation of some of these classes to use Panama structs). Could be
> a worthwhile experiment to try and do that!
>
> Cheers
> Maurizio

Thanks Maurizio, I'll take a look ;-)

Cheers,
Bernard


More information about the jdk-dev mailing list