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

InstanceKlass::_dependencies list isn't cleared from empty nmethodBucket entries

    XMLWordPrintable

Details

    • b93

    Backports

      Description

        Before nmethod is unloaded, all relevant dependencies are removed. But empty nmethodBucket entries are kept. It's a memory leak.
        InstanceKlass::clean_dependent_nmethods() does the right job, but it's rarely invoked (only G1KlassCleaningTask::clean_klass() does it).

        Attachments

          Issue Links

            Activity

              People

                stefank Stefan Karlsson
                vlivanov Vladimir Ivanov
                Votes:
                0 Vote for this issue
                Watchers:
                8 Start watching this issue

                Dates

                  Created:
                  Updated:
                  Resolved: