RFR: 8365398: TEST_BUG: java/rmi/transport/checkLeaseInfoLeak/CheckLeaseLeak.java failing intermittently [v2]

Mark Sheppard msheppar at openjdk.org
Tue Sep 9 11:48:52 UTC 2025


On Tue, 9 Sep 2025 10:15:02 GMT, Johny Jose <duke at openjdk.org> wrote:

>> Increasing the count value of available objects to 6 (which is half the number of objects created). The failures were reported in macos which seems to take more time to clear the objects. Though majority runs has less values for objects (less than 4), in order to eliminate intermittent failures, raising the threshold values to 6
>
> Johny Jose has updated the pull request with a new target base due to a merge or a rebase. The incremental webrev excludes the unrelated changes brought in by the merge/rebase. The pull request contains two additional commits since the last revision:
> 
>  - Merge branch 'openjdk:master' into JDK-8365398
>  - 8365398: TEST_BUG: java/rmi/transport/checkLeaseInfoLeak/CheckLeaseLeak.java failing intermittently

test/jdk/java/rmi/transport/checkLeaseInfoLeak/CheckLeaseLeak.java line 130:

> 128:         /* numLeft should be 6 - if 11 there is a problem. */
> 129:         if (numLeft > 6) {
> 130:             TestLibrary.bomb("Too many objects in DGCImpl.leaseTable: "+

This doesn't solve the problem, the structure of the test is problematic please c.f. comments in bug

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

PR Review Comment: https://git.openjdk.org/jdk/pull/26815#discussion_r2333219528


More information about the core-libs-dev mailing list