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 I found the non-permanent target will be collection by GC early with `-Xcomp`. using `-Xlog:gc` can found the reason is: `GC(0) Pause Young (Concurrent Start) (CodeCache GC Threshold) 12M->2M(258M) 16.437ms` so I add `-XX:ReservedCodeCacheSize=512m` to make sure the test PASSED. Please review again, thank you. ------------- PR: https://git.openjdk.org/jdk/pull/12399