JDK-8065634 : Crash in InstanceKlass::clean_method_data when _method is NULL
  • Type: Bug
  • Component: hotspot
  • Sub-Component: gc
  • Affected Version: 8u40,9
  • Priority: P1
  • Status: Closed
  • Resolution: Fixed
  • Submitted: 2014-11-21
  • Updated: 2017-07-26
  • Resolved: 2014-12-08
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 8 JDK 9
8u40Fixed 9 b44Fixed
Description
ClassFileParser::apply_parsed_class_metadata can safepoint when allocating the Annotations, before the other metadata fields are setup. This allows GCs to find incomplete InstanceKlasses in the CLD _klasses list. The code crashes when the InstanceKlass::_methods field is NULL.
Comments
ILW: HHH => P1
26-11-2014