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

Jie Fu jiefu at openjdk.java.net
Thu Jun 17 02:14:11 UTC 2021


On Thu, 17 Jun 2021 02:02:34 GMT, Vladimir Kozlov <kvn 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 kvn (Reviewer).

Thanks @vnkozlov .

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

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


More information about the hotspot-compiler-dev mailing list