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

MDO extra_data_lock leaks during class unloading

    XMLWordPrintable

    Details

    • Subcomponent:
    • Resolved In Build:
      b20

      Description

      The MDO has an extra_data_lock. When we perform class unloading, the memory of the MDO is reclaimed, but no destructor is run. Therefore, the destructor of the extra_data_lock isn't run either. Therefore, on platforms that need to run the destructor to avoid leaks, such as macOS, will suffer from a memory leak.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              coleenp Coleen Phillimore
              Reporter:
              eosterlund Erik Ă–sterlund
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: