RFR: 8264149 BreakpointInfo::set allocates metaspace object in VM thread
David Holmes
dholmes at openjdk.java.net
Mon Mar 29 05:03:25 UTC 2021
On Fri, 26 Mar 2021 13:24:38 GMT, Coleen Phillimore <coleenp at openjdk.org> wrote:
>> src/hotspot/share/memory/metaspace.cpp line 816:
>>
>>> 814: }
>>> 815:
>>> 816: return result;
>>
>> Shouldn't we still try to find more memory by calling Universe::heap()->satisfy_failed_metadata_allocation before giving up? Or can that not work if called from the VMThread?
>
> It can't work from the VMThread. Patricio and I were chatting yesterday and he pointed out neither of these VM operations can nest (VM_ChangeBreakpoints and VM_MetaspaceGC) making up names but you get the point.
Okay.
-------------
PR: https://git.openjdk.java.net/jdk/pull/3207
More information about the hotspot-dev
mailing list