RFR: 8318586: Explicitly handle upcall stub allocation failure [v2]
Jorn Vernee
jvernee at openjdk.org
Thu Oct 26 18:11:04 UTC 2023
On Wed, 25 Oct 2023 10:10:57 GMT, Jorn Vernee <jvernee at 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
More information about the hotspot-compiler-dev
mailing list