-
Bug
-
Resolution: Fixed
-
P4
-
25
-
master
-
aarch64
-
os_x
When running jtreg tests on macOS aarch64 with ubsanized binaries, in the test
java/foreign/TestHandshake
this error/warning is reported :
jdk/src/hotspot/share/opto/block.cpp:1617:30: runtime error: 9.97582e+36 is outside the range of representable values of type 'int'
UndefinedBehaviorSanitizer:DEADLYSIGNAL
UndefinedBehaviorSanitizer: nested bug in the same thread, aborting.
seems it happens in this calculation (float value does not fit into an int) : int to_pct = (int) ((100 * freq) / target->_freq);
java/foreign/TestHandshake
this error/warning is reported :
jdk/src/hotspot/share/opto/block.cpp:1617:30: runtime error: 9.97582e+36 is outside the range of representable values of type 'int'
UndefinedBehaviorSanitizer:DEADLYSIGNAL
UndefinedBehaviorSanitizer: nested bug in the same thread, aborting.
seems it happens in this calculation (float value does not fit into an int) : int to_pct = (int) ((100 * freq) / target->_freq);
- relates to
-
JDK-8353041 NeverBranchNode causes incorrect block frequency calculation
-
- Open
-
-
JDK-8296389 C2: PhaseCFG::convert_NeverBranch_to_Goto must handle both orders of successors
-
- Resolved
-
-
JDK-6510732 Compute consistent block frequencies
-
- Closed
-
- links to
-
Commit(master) openjdk/jdk/ddf326b8
-
Review(master) openjdk/jdk/23962