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

DependencyContext::remove_dependent_nmethod() deletion in place is unnecessary

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Withdrawn
    • Icon: P4 P4
    • None
    • 12
    • hotspot
    • None

      When expunge = true, it removes stale entry during matching iteration, which is unnecessary, since it calls expunge_stale_entries() at the end anyway.
      I can see deletion in place when has_stale_entries = false to avoid later call to expunge_stale_entries(), as it is the only entry needs to expunged.

            zgu Zhengyu Gu
            zgu Zhengyu Gu
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: