RFR: 8299570: [JVMCI] Insufficient error handling when CodeBuffer is exhausted [v4]

Andrew Haley aph at openjdk.org
Wed Mar 8 10:57:21 UTC 2023


On Fri, 20 Jan 2023 15:33:50 GMT, Doug Simon <dnsimon at openjdk.org> wrote:

>> This PR fixes the handling of a full CodeBuffer when emitting stubs as part of JVMCI code installation.
>
> Doug Simon has updated the pull request with a new target base due to a merge or a rebase. The pull request now contains four commits:
> 
>  - Merge remote-tracking branch 'openjdk-jdk/master' into JDK-8299570
>  - changed return type of NativeCall::trampoline_jump to void
>  - try rationalize code in NativeCall::trampoline_jump
>  - properly handle CodeBuffer exhaustion in JVMCI backend

src/hotspot/cpu/aarch64/nativeInst_aarch64.cpp line 548:

> 546:     }
> 547:   } else {
> 548:     // If not using far branches, patch this call directly to dest.

This is all very complicated.  Can't we just add `JVMCI_ERROR`s where we need them?

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

PR: https://git.openjdk.org/jdk/pull/11945


More information about the hotspot-compiler-dev mailing list