Crash in InstanceKlass::clean_method_data when _method is NULL

XMLWordPrintable

    • Type: Bug
    • Resolution: Fixed
    • Priority: P1
    • 9
    • Affects Version/s: 8u40, 9
    • Component/s: 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.

              Assignee:
              Stefan Karlsson
              Reporter:
              Shadow Bug
              Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

                Created:
                Updated:
                Resolved: