Bug #110892# "Java URP bridge holds objects indefinitely" applies to cases where an object is sent from server to client, then recursively back from client to server. In such a case, the client should not increment its internal reference count for the object, as the server will never send back a corresponding release message.
This test has to detect whether the spawned client process fails to garbage-collect an object, which can not be done reliably. As an approximation, it waits for 10 sec and considers the process failing if it has not garbage-collected the object by then.
|
|
|
|