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

Shenandoah: Move CodeCache_lock close to its use in ShenandoahConcurrentNMethodIterator

    XMLWordPrintable

Details

    • gc
    • b04

    Backports

      Description

        ShenandoahConcurrentNMethodIterator requires CodeCache_lock at begin and end of iteration.

        Right now, the CodeCache_lock is placed at their call site, which is not very obvious and readable. Let's move the lock inside the methods.

        Attachments

          Issue Links

            Activity

              People

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

                Dates

                  Created:
                  Updated:
                  Resolved: