On Thu, 7 Oct 2021 06:18:00 GMT, Kim Barrett <kbarr...@openjdk.org> wrote:
>> Leo Korinth has updated the pull request incrementally with one additional >> commit since the last revision: >> >> Use a thread local buffer so that the compiler might reorder operator new. > > src/hotspot/share/memory/memRegion.hpp line 110: > >> 108: // A ResourceObj version of MemRegionClosure >> 109: >> 110: class MemRegionClosureRO: public ResourceObj { > > I think this class could be deleted entirely, with the only derived class > (`DirtyCardToOopClosure`) instead deriving from ResourceObj. I agree. ------------- PR: https://git.openjdk.java.net/jdk/pull/5387