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

DependencyContext::remove_dependent_nmethod() deletion in place is unnecessary

    Details

    • Type: Enhancement
    • Status: Closed
    • Priority: P4
    • Resolution: Withdrawn
    • Affects Version/s: 12
    • Fix Version/s: None
    • Component/s: hotspot
    • Labels:
      None

      Description

      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.

        Attachments

          Issue Links

            Activity

              People

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

                Dates

                • Created:
                  Updated:
                  Resolved: