Issue | Fix Version | Assignee | Priority | Status | Resolution | Resolved In Build |
---|---|---|---|---|---|---|
JDK-2038940 | 1.4.0 | Srdjan Mitrovic | P1 | Resolved | Fixed | beta |
Bug reported by Ken Russell.
running the code below in Xcomp causes the c1 compiler1 to crash.
public class CrashC1 {
public long alignUp(long size, long alignment) {
return (size + alignment - 1) & ~(alignment - 1);
}
public static void main(String[] args) {
new CrashC1().alignUp(8, 8);
}
}
running the code below in Xcomp causes the c1 compiler1 to crash.
public class CrashC1 {
public long alignUp(long size, long alignment) {
return (size + alignment - 1) & ~(alignment - 1);
}
public static void main(String[] args) {
new CrashC1().alignUp(8, 8);
}
}
- backported by
-
JDK-2038940 [Ladybird, Merlin] ShouldNotReachHere when perfrom math operations on longs.
-
- Resolved
-