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

The HeapRegionRemSet::_m lock should use the "access" rank

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Duplicate
    • Icon: P4 P4
    • tbd
    • None
    • hotspot
    • gc

      In the quest to make G1 heap oop stores not dictate what lock ranks may be used in the VM, or where heap oop stores may be performed, a new "access" rank was created for locks that need to be acquired in order to perform memory accesses. These are 'special' locks that must not check for safepoints and may be acquired in leaf calls and almost any context.

      However, the HeapRegionRemSet::_m lock is till "leaf" ranked, and might be called from a heap oop access. Therefore, the heap oop store is not quite free, until this situation is remedied.

            Unassigned Unassigned
            eosterlund Erik Ă–sterlund
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: