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

Unnecessarily strong memory barriers in ParNewGeneration::copy_to_survivor_space

    XMLWordPrintable

    Details

    • Type: Enhancement
    • Status: Closed
    • Priority: P4
    • Resolution: Not an Issue
    • Affects Version/s: 11
    • Fix Version/s: tbd
    • Component/s: hotspot
    • Labels:
    • Subcomponent:
      gc
    • CPU:
      ppc

      Description

      In ParNewGeneration::copy_to_survivor_space for CMS GC, there are two paths of copying objects: copying an object after a CAS succeeds or copying an object before another CAS. Although full fences are used before and after the CAS, they are stronger than needed. I would like to raise this problem as a performance bug for PPC64.

        Attachments

          Issue Links

            Activity

              People

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

                Dates

                Created:
                Updated:
                Resolved: