RFR: 8259643: ZGC can return metaspace OOM prematurely [v5]
Erik Österlund
eosterlund at openjdk.java.net
Tue Nov 16 08:38:13 UTC 2021
On Mon, 15 Nov 2021 16:49:31 GMT, Coleen Phillimore <coleenp at openjdk.org> wrote:
>> Erik Österlund has updated the pull request incrementally with one additional commit since the last revision:
>>
>> style polish in ZGC code
>
> src/hotspot/share/runtime/mutexLocker.cpp line 248:
>
>> 246:
>> 247: def(Metaspace_lock , PaddedMutex , nosafepoint-3);
>> 248: def(MetaspaceCritical_lock , PaddedMonitor, nosafepoint-1, true);
>
> You don't need the true parameter. That's the default for nosafepoint locks.
Oh, okay. Fixed.
-------------
PR: https://git.openjdk.java.net/jdk/pull/2289
More information about the hotspot-dev
mailing list