JDK-8180855 : Null pointer dereference in OopMapSet::all_do of oopMap.cpp:394
  • Type: Bug
  • Component: hotspot
  • Sub-Component: compiler
  • Affected Version: 8,9,10
  • Priority: P2
  • Status: Resolved
  • Resolution: Fixed
  • OS: generic
  • Submitted: 2017-05-23
  • Updated: 2019-09-13
  • Resolved: 2017-05-29
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 10 JDK 8 JDK 9
10Fixed 8u162Fixed 9 b172Fixed
Description
Null pointer dereference in OopMapSet::all_do of oopMap.cpp:394
Comments
Approved for JDK 9.
24-05-2017

Vladimir [~kvn], could you please approve the fix? I'll run testing and send out a RFR later on. Thank you!
24-05-2017

Here is the proposed fix: http://cr.openjdk.java.net/~zmajo/8180855/webrev.00/
24-05-2017

Fix request This bug was found by the Parfait tool and should be fixed because it can potentially result in a crash due to a null-pointer dereference (as far as our history goes, the problem has never occurred in practice). The fix is trivial and thus its risk is very low.
24-05-2017

ILW = Potential crash due to null pointer dereference, never occurred, no workaround = HLH = P2
24-05-2017