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

Unnecessary memory barriers in G1ParScanThreadState::copy_to_survivor_space

    XMLWordPrintable

    Details

    • Type: Enhancement
    • Status: Resolved
    • Priority: P4
    • Resolution: Fixed
    • Affects Version/s: 11
    • Fix Version/s: 11
    • Component/s: hotspot
    • Subcomponent:
      gc
    • Resolved In Build:
      b20
    • CPU:
      ppc

      Backports

        Description

        In the G1ParScanThreadState::copy_to_survivor_space, a copy is performed after a thread succeeds in the CAS. CAS-failed threads are not allowed to dereference the forwardee concurrently. Current code is already written so that CAS-failed threads do not dereference the forwardee. Therefore, full fences before/after the CAS is not necessary.

          Attachments

            Issue Links

              Activity

                People

                Assignee:
                mhorie Michihiro Horie
                Reporter:
                mhorie Michihiro Horie
                Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                  Dates

                  Created:
                  Updated:
                  Resolved: