[jdk17] RFR: 8268641: [foreign] assert(allocates2(pc)) failed: not in CodeBuffer memory with ShenandoahGC
Rickard Bäckman
rbackman at openjdk.java.net
Wed Jun 16 14:44:47 UTC 2021
On Sat, 12 Jun 2021 03:12:43 GMT, Jie Fu <jiefu at openjdk.org> wrote:
> Hi all,
>
> The following 4 tests failed with -XX:+UseShenandoahGC on x86 (both release and debug VMs).
>
> java/foreign/stackwalk/TestStackWalk.java
> java/foreign/valist/VaListTest.java
> java/foreign/TestUpcall.java
> java/foreign/StdLibTest.java
>
>
> The reason is that code buffer size for upcall_stub_linkToNative is too small.
> To fix the crash, the size has been increased from 1024 to 2048 (note: 1536 is still not enough).
>
> Thanks.
> Best regards,
> Jie
Marked as reviewed by rbackman (Reviewer).
-------------
PR: https://git.openjdk.java.net/jdk17/pull/35
More information about the hotspot-compiler-dev
mailing list