On Tue, 7 Feb 2023 08:27:57 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

if this failure can be reproduced consistently, you could add the following 
properties to the run command of the test
-Dsun.rmi.runtime.logLevel=VERBOSE -Djava.rmi.server.logCalls=true 
-Dsun.rmi.server.logLevel=VERBOSE -Dsun.rmi.transport.logLevel=VERBOSE 
-Dsun.rmi.transport.tcp.logLevel=VERBOSE -Dsun.rmi.dgc.logLevel=VERBOSE
i.e.
@run testng/othervm -Dsun.rmi.runtime.logLevel=VERBOSE 
-Djava.rmi.server.logCalls=true -Dsun.rmi.server.logLevel=VERBOSE 
-Dsun.rmi.transport.logLevel=VERBOSE -Dsun.rmi.transport.tcp.logLevel=VERBOSE 
-Dsun.rmi.dgc.logLevel=VERBOSE FilterUROTes

these will produce log traces on stderr, which is recorded in the test's jtr 
file, and in the event of the failure occuring this trace might be useful in 
the diagnosis of the issue, for example, whether or not the removeTarget method 
is being invoked on the ObjectTable. You will see objects being added with 
trace such as:

FINER: MainThread: add object [0:0:0, 2]

FINER: MainThread: add object [-3d215748:18634027149:-7fff, 248225399703400139]

Feb 09, 2023 2:30:21 AM sun.rmi.transport.Transport exportObject
FINER: MainThread: add object [-3d215748:18634027149:-7ffd, 651168978636195090]

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

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

Reply via email to