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

Parallel weak klass link cleaning does not clean out previous klasses

XMLWordPrintable

    • gc

      KlassCleaningTask::work() only calls InstanceKlass::clean_weak_instanceklass_links() on the klasses in the hierarchy, missing old, previously redefined klasses like Klass::clean_weak_klass_links() would do if called with clean_live_klasses = true.

      JDK-8156137 missed that location when trying to fix this; however this has been found by code inspection, there is no known crash for this.

            tschatzl Thomas Schatzl
            tschatzl Thomas Schatzl
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated: