[jdk17] Integrated: 8268641: [foreign] assert(allocates2(pc)) failed: not in CodeBuffer memory with ShenandoahGC

Jie Fu jiefu at openjdk.java.net
Thu Jun 17 02:14:12 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

This pull request has now been integrated.

Changeset: 112ddb76
Author:    Jie Fu <jiefu at openjdk.org>
URL:       https://git.openjdk.java.net/jdk17/commit/112ddb7633d8794d5c85e1b2cf0369ee2e0e349a
Stats:     2 lines in 1 file changed: 0 ins; 0 del; 2 mod

8268641: [foreign] assert(allocates2(pc)) failed: not in CodeBuffer memory with ShenandoahGC

Reviewed-by: rbackman, kvn

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

PR: https://git.openjdk.java.net/jdk17/pull/35


More information about the hotspot-compiler-dev mailing list