Skip to content

Changes

Summary

  1. Remove flushCachesForGC from acquireExclusiveForGC path (commit: bdff063) (details)
Commit bdff0638057f3556b60581ae29b3d2043c8ba1bf by Aleksandar Micic
Remove flushCachesForGC from acquireExclusiveForGC path

flushCachesForGC is mostly called close/prior to start-gc point for each
particual GC operation/STW-increment, so that we often end up doing it
twice, the first one being early during acquireExclusiveVMAccessForGC
negotiation.

This change removes the one from acquireExclusiveVMAccessForGC, but also
adds a couple of flushCachesForGC in GC specific operation that relied
on acquireExclusiveVMAccessForGC to do it.

Signed-off-by: Aleksandar Micic <Aleksandar_Micic@ca.ibm.com>
(commit: bdff063)
The file was modified gc/base/standard/ConcurrentGCIncrementalUpdate.hpp (diff)
The file was modified gc/base/MemorySubSpaceFlat.cpp (diff)
The file was modified gc/base/MemorySubSpaceSemiSpace.cpp (diff)
The file was modified gc/base/standard/ConcurrentGC.cpp (diff)
The file was modified gc/base/standard/ConcurrentGCSATB.hpp (diff)
The file was modified gc/base/MemorySubSpaceGenerational.cpp (diff)
The file was modified gc/base/standard/ConcurrentGC.hpp (diff)
The file was modified gc/base/standard/Scavenger.cpp (diff)
The file was modified gc/base/EnvironmentBase.cpp (diff)
The file was modified gc/base/EnvironmentBase.hpp (diff)