RFR: 8253916: ResourceExhausted/resexhausted001 crashes on Linux-x64
Thomas Stuefe
stuefe at openjdk.java.net
Tue Dec 1 16:55:00 UTC 2020
On Tue, 1 Dec 2020 14:12:58 GMT, Coleen Phillimore <coleenp at openjdk.org> wrote:
>> You need to merge from master to get GH Actions fixes. They are currently failing with outdated dependencies in your branch, and master has a fix for that.
>
> Thanks Aleksey, I've remerged, we'll see if that helps.
Hi Coleen,
I believe this is intermittent and can be temporary (most likely number of process local mappings, see my comment in JBS). Therefore ideally, this should result in an OOM, not a VM exit - at least when it happens during thread creation, which is the most likely scenario.
I believe this can happen when the number of mappings exceeds the allowed process limit. One simple maybe stupid approach could be to pre-reserve mappings, and release them in this situation to decrease the process local mapping counter.
Cheers, Thomas
-------------
PR: https://git.openjdk.java.net/jdk/pull/1540
More information about the hotspot-dev
mailing list