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

ClassListParser::_interfaces should be freed

    XMLWordPrintable

Details

    • Enhancement
    • Resolution: Fixed
    • P4
    • 18
    • 17, 18
    • hotspot
    • b02

    Description

      ClassListParser::ClassListParser(const char* file) {
        ...
        _interfaces = new (ResourceObj::C_HEAP, mtClass) GrowableArray<int>(10, mtClass);
        _indy_items = new (ResourceObj::C_HEAP, mtClass) GrowableArray<const char*>(9, mtClass);
       ...
      }

      These should be freed inside the destructor.

      Attachments

        Issue Links

          Activity

            People

              ccheung Calvin Cheung
              iklam Ioi Lam
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: