-
Sub-task
-
Resolution: Fixed
-
P4
-
8-pool, 11-pool, 17, 21
-
b23
Running with -ftrapv I found two cases of signed overflow that happen during startup. immI_Pow2M1 does
is_power_of_2(n->get_int() + 1)
and _debug_idx code does
new_debug_idx += bump
which can cause _debug_idx to go negative.
Then I tried tier1 testing and hit two more problems with c1 Canonicalizer::do_Op2 and c2 AddHelper::will_overflow.
is_power_of_2(n->get_int() + 1)
and _debug_idx code does
new_debug_idx += bump
which can cause _debug_idx to go negative.
Then I tried tier1 testing and hit two more problems with c1 Canonicalizer::do_Op2 and c2 AddHelper::will_overflow.
- duplicates
-
JDK-8310127 Crash in C1 compiled code for always throwing loop body
- Closed
-
JDK-8307197 Signed overflow in multiply_high_signed()
- Closed
- is cloned by
-
JDK-8308975 Fix signed integer overflow in compiler code, part 2
- Resolved