RFR: 8301737: java/rmi/server/UnicastRemoteObject/serialFilter/FilterUROTest.java fail with -Xcomp [v4]
SUN Guoyun
duke at openjdk.org
Thu Feb 9 12:10:44 UTC 2023
On Thu, 9 Feb 2023 08:48:17 GMT, SUN Guoyun <duke at 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 adjusted the parameters appropriately to `-Xcomp -Dsun.rmi.dgc.logLevel=VERBOSE -XX:ReservedCodeCacheSize=160m` and was able to reproduce the error I found earlier.
STDERR:
Feb 09, 2023 7:59:32 PM sun.rmi.transport.Target pinImpl
FINER: MainThread: strongRef = sun.rmi.transport.DGCImpl at 3088ba53
Feb 09, 2023 7:59:37 PM sun.rmi.transport.DGCImpl$2 run
FINER: MainThread: add object [0:0:0, 2]
Feb 09, 2023 7:59:37 PM sun.rmi.transport.Transport exportObject
FINER: MainThread: add object [697a7a97:186360b89cf:-7fff, -7341913114514311741]
Feb 09, 2023 7:59:38 PM sun.rmi.transport.ObjectTable$Reaper run
FINER: RMI Reaper: remove object [697a7a97:186360b89cf:-7fff, -7341913114514311741]
java.rmi.NoSuchObjectException: no such object in table
-------------
PR: https://git.openjdk.org/jdk/pull/12399
More information about the core-libs-dev
mailing list