JDK-8209439 : C2 library_call can potentially ignore Math.pow intrinsic or use null pointer
  • Type: Bug
  • Component: hotspot
  • Sub-Component: compiler
  • Affected Version: 10,11
  • Priority: P3
  • Status: Resolved
  • Resolution: Fixed
  • Submitted: 2018-08-13
  • Updated: 2020-04-28
  • Resolved: 2018-08-15
The Version table provides details related to the release that this issue/RFE will be addressed.

Unresolved : Release in which this issue/RFE will be addressed.
Resolved: Release in which this issue/RFE has been resolved.
Fixed : Release in which this issue/RFE has been fixed. The release containing this fix may be available for download as an Early Access Release or a General Availability Release.

To download the current JDK release, click here.
JDK 11 JDK 12
11.0.8-oracleFixed 12 b07Fixed
Related Reports
Relates :  
Description
LibraryCallKit::inline_math_native ignore existence of StubRoutines::dpow. Probably copy-paste error. Another case is when dexp is defined, but dpow is not. VM will crash in this case.
Comments
Fix request (11u) -- will label after testing completed. I would like to downport this for parity with 11.0.8-oracle. Applies clean.
22-04-2020

Code was introduced by JDK-8190869. ILW = Potential crash during C2 compilation due to NPE, if dexp is defined but dpow is not, disable affected intrinsic = HLM = P3
14-08-2018