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

possible problem with clean_weak_method_links

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P4
    • Resolution: Duplicate
    • Affects Version/s: 9
    • Fix Version/s: tbd
    • Component/s: hotspot

      Description

      When we redefine classes, we make one attempt to call clean_weak_method_links(). But if the metadata is on the stack, we don't clear it. It seems we could leave stale metadata behind this way. I think we need to have the GC cleanup, clean_weak_klass_links call clean_weak_method_links. Or maybe combine them together into clean_weak_metadata_links.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                dlong Dean Long
                Reporter:
                dlong Dean Long
              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: