RFR: 8273915: Create 'nosafepoint' rank [v3]

David Holmes dholmes at openjdk.java.net
Tue Sep 21 02:52:51 UTC 2021


On Mon, 20 Sep 2021 13:21:26 GMT, Coleen Phillimore <coleenp at 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


More information about the hotspot-dev mailing list