-
Bug
-
Resolution: Delivered
-
P4
-
8-pool, 11-pool, 17, 21
There are multiple locations in the compiler code with signed overflows which is undefined behavior (compilers could use this undefined behavior for optimizations). We should check our code by configuring with --with-extra-cxx-flags='-ftrapv' and running some extensive testing with it. -ftrapv emits traps for signed additions, subtractions and multiplications. If there is an overflow, we abort.
- blocks
-
JDK-8233144 undefined behavior: signed integer overflow
- Open
- duplicates
-
JDK-8307230 Fix signed overflow issues found with -ftrapv
- Closed
- relates to
-
JDK-8306331 assert((cnt > 0.0f) && (prob > 0.0f)) failed: Bad frequency assignment in if
- Resolved
-
JDK-8324833 Signed integer overflows in ABS
- Closed
1.
|
Fix signed integer overflow in compiler code, part 1 | Resolved | Dean Long | ||
2.
|
Fix signed integer overflow in compiler code, part 2 | Resolved | Dean Long | ||
3.
|
Fix signed integer overflow, part 3 | Resolved | Dean Long | ||
4.
|
Fix signed integer overflow, final part | Resolved | Dean Long |