On Mon, 20 Sep 2021 13:21:26 GMT, Coleen Phillimore <cole...@openjdk.org> wrote:
>> src/hotspot/share/gc/parallel/psCompactionManager.cpp line 95: >> >>> 93: _shadow_region_array = new (ResourceObj::C_HEAP, mtGC) >>> GrowableArray<size_t >(10, mtGC); >>> 94: >>> 95: _shadow_region_monitor = new Monitor(Mutex::nosafepoint, >>> "CompactionManager_lock", >> >> Not clear why this one needed to change?? > > This one changes because 'barrier' is above 'leaf' which checks for > safepoint. nosafepoint it the top rank that doesn't check for safepoint, so > this was made nosafepoint. Okay ------------- PR: https://git.openjdk.java.net/jdk/pull/5550