On Wed, 25 Oct 2023 10:10:57 GMT, Jorn Vernee <jver...@openjdk.org> wrote:

>> Explicitly handle UpcallStub allocation failures by terminating. We 
>> currently might try to use the returned `nullptr` which would fail sooner or 
>> later. This patch just makes the termination explicit.
>
> Jorn Vernee has updated the pull request incrementally with one additional 
> commit since the last revision:
> 
>   call fatal without holding code cache lock

I've uploaded another version that throws a OOME when the allocation of a 
downcall or upcall stub fails. (on x64 only for now, I'll look at the other 
platforms as well).

Let me know if that seems better.

-------------

PR Comment: https://git.openjdk.org/jdk/pull/16311#issuecomment-1781592177

Reply via email to