On Mon, 6 Feb 2023 11:44:07 GMT, SUN Guoyun <d...@openjdk.org> wrote:

>> Hi all,
>> When -Xcomp be used, this testcase will use more codecaches, causing the GC 
>> to be triggered early, then causing this test failed on LoongArch64 
>> architecture.
>> 
>> This PR fix the issue, Please help review it.
>> 
>> Thanks.
>
> SUN Guoyun has updated the pull request incrementally with one additional 
> commit since the last revision:
> 
>   8301737: 
> java/rmi/server/UnicastRemoteObject/serialFilter/FilterUROTest.java fail with 
> -Xcomp

Please add @bug 8301737

It is not going to be obvious why a larger code cashe is needed (and only for 
aarch64).

Can you split the test runs so the original does not run on aarch64 and a new 
second run runs only on aarch64. For example,

/*
 * @test
 * @bug 8301737
 * @summary Check that objects are exported with ObjectInputFilters via 
UnicastRemoteObject
 * @requires os.arch != "aarch64"
 * @run testng/othervm FilterUROTest
 */

/*
 * @test
 * @summary Check that objects are exported with ObjectInputFilters via 
UnicastRemoteObject
 * @requires os.arch == "aarch64"
 * @run testng/othervm -XX:ReservedCodeCacheSize=512m FilterUROTest
 */

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

PR: https://git.openjdk.org/jdk/pull/12399

Reply via email to