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 Is stub allocation the same as other VM C heap exhaustion cases? They will terminate the VM too. Otherwise it would be better report an error and have the Java code thrown OOME. ------------- PR Comment: https://git.openjdk.org/jdk/pull/16311#issuecomment-1781002967