[jdk17] RFR: 8268641: [foreign] assert(allocates2(pc)) failed: not in CodeBuffer memory with ShenandoahGC
Jie Fu
jiefu at openjdk.java.net
Sat Jun 12 03:19:03 UTC 2021
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
-------------
Commit messages:
- 8268641: [foreign] assert(allocates2(pc)) failed: not in CodeBuffer memory with ShenandoahGC
Changes: https://git.openjdk.java.net/jdk17/pull/35/files
Webrev: https://webrevs.openjdk.java.net/?repo=jdk17&pr=35&range=00
Issue: https://bugs.openjdk.java.net/browse/JDK-8268641
Stats: 2 lines in 1 file changed: 0 ins; 0 del; 2 mod
Patch: https://git.openjdk.java.net/jdk17/pull/35.diff
Fetch: git fetch https://git.openjdk.java.net/jdk17 pull/35/head:pull/35
PR: https://git.openjdk.java.net/jdk17/pull/35
More information about the hotspot-compiler-dev
mailing list