performance issue with alignment-like checks

John Rose john.r.rose at oracle.com
Thu May 28 01:15:27 UTC 2020



> On May 27, 2020, at 2:27 PM, Maurizio Cimadamore <maurizio.cimadamore at oracle.com> wrote:
> 
> This issue was already known to Vlad - not sure if a bug has been submitted or not.
> 
> Currently Hotspot fail to hoist alignment-like checks (with either mod operator or bitwise-and) outside of loops. Simple benchmark: …

Bitwise subfield type analysis would cover all kinds of alignment
problems nicely, as well as a host of other use cases.

https://bugs.openjdk.java.net/browse/JDK-8001436

— John


More information about the panama-dev mailing list