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.
- relates to
-
JDK-8154736 enhancement of cmpxchg and copy_to_survivor for ppc64
- Resolved
-
JDK-8204524 Unnecessary memory barriers in G1ParScanThreadState::copy_to_survivor_space
- Resolved