Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8065634

Crash in InstanceKlass::clean_method_data when _method is NULL

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P1 P1
    • 9
    • 8u40, 9
    • hotspot
    • gc
    • b44
    • Not verified

        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.

              stefank Stefan Karlsson
              shadowbug Shadow Bug
              Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

                Created:
                Updated:
                Resolved: