Primitive boolean array packing

B. Blaser bsrbnd at gmail.com
Mon Oct 8 08:40:19 UTC 2018


On Sun, 7 Oct 2018 at 20:29, Roman Kennke <rkennke at redhat.com> wrote:
>
> IIRC, some CPUs even have instructions for directly getting/setting
> bits, without explicit mask/shift. AArch64 can do that I think. Not sure
> if it's more efficient though.
>
> Roman

Sounds great, probably no word-tearing problem and no additional sync
would be necessary on this arch.
Unfortunately, I don't have the opportunity to work on this hardware,
maybe someone could experiment on it?
Bernard


More information about the jdk-dev mailing list