On Tue, 9 May 2023 00:50:56 GMT, Fei Yang <fy...@openjdk.org> wrote:

>> That's unfortunate. Could you try this patch, which probes the address range 
>> to see if it can reserve the memory somewhere else within 
>> `[ZAddressHeapBase, ZAddressHeapBase+ZAddressOffsetMax)`:
>> https://github.com/stefank/jdk/tree/zgc_generational_review_test_zforwarding
>
>> That's unfortunate. Could you try this patch, which probes the address range 
>> to see if it can reserve the memory somewhere else within 
>> `[ZAddressHeapBase, ZAddressHeapBase+ZAddressOffsetMax)`: 
>> https://github.com/stefank/jdk/tree/zgc_generational_review_test_zforwarding
> 
> @stefank : Good news is that this gtest case can now pass on linux-riscv64 
> with this patch. I tried several times and it seems we could always reserve a 
> space of ZGranuleSize(0x200000) bytes at address 0x852000000. Thanks for 
> fixing this!

Thanks for helping out with this. I've now pushed the proposed patch.

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

PR Review Comment: https://git.openjdk.org/jdk/pull/13771#discussion_r1188168418

Reply via email to