-
Type:
Enhancement
-
Resolution: Fixed
-
Priority:
P4
-
Affects Version/s: 19
-
Component/s: hotspot
-
b21
This showed up when working with a panama micro benchmark. Optimization of:
if ((base + (offset << 2)) & 3) != 0) {
}
into:
if ((base & 3) != 0) {
fails if the subgraph contains cast nodes.
if ((base + (offset << 2)) & 3) != 0) {
}
into:
if ((base & 3) != 0) {
fails if the subgraph contains cast nodes.
- relates to
-
JDK-8277850 C2: optimize mask checks in counted loops
-
- Resolved
-