Integrated: 8248411: [aarch64] Insufficient error handling when CodeBuffer is exhausted

Patric Hedlin phedlin at openjdk.java.net
Thu Oct 22 16:03:17 UTC 2020


On Tue, 20 Oct 2020 13:31:59 GMT, Patric Hedlin <phedlin at openjdk.org> wrote:

> Trampoline call generation (in the macro-assembler) may run out of CodeBuffer space without the proper error handling, resulting in asserts such as:
> #  Internal Error (.../open/src/hotspot/share/asm/codeBuffer.hpp:198), pid=845, tid=859
> #  assert(allocates2(pc)) failed: relocation addr must be in this section
> This update extends the error handling for such error cases to cover all uses of `trampoline_call()`, direct and indirect. Failure registration/recording is retained in the "**aarch64.ad**" file.

This pull request has now been integrated.

Changeset: f279ddfa
Author:    Patric Hedlin <phedlin at openjdk.org>
URL:       https://git.openjdk.java.net/jdk/commit/f279ddfa
Stats:     148 lines in 5 files changed: 83 ins; 7 del; 58 mod

8248411: [aarch64] Insufficient error handling when CodeBuffer is exhausted

Reviewed-by: adinn

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

PR: https://git.openjdk.java.net/jdk/pull/765


More information about the hotspot-dev mailing list