The test was problem listed since jdk8 as intermittent failures were observed. For all the failed scenarios, number of objects left in leaseTable were less than or equal to 4. Though for most of the runs the number of objects left is less than 2, at times the tests are failing when the remaining objects are 3 or 4 (observed only on mac os). As per the code, the leak should be fixed if the number of objects left in the table is less than 11. I have updated the acceptable number of objects to 4 from 2, and is still at lower end compared to 11.
------------- Commit messages: - 7191877: TEST_BUG: java/rmi/transport/checkLeaseInfoLeak/CheckLeaseLeak.java failing intermittently Changes: https://git.openjdk.org/jdk/pull/26657/files Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=26657&range=00 Issue: https://bugs.openjdk.org/browse/JDK-7191877 Stats: 64 lines in 3 files changed: 3 ins; 18 del; 43 mod Patch: https://git.openjdk.org/jdk/pull/26657.diff Fetch: git fetch https://git.openjdk.org/jdk.git pull/26657/head:pull/26657 PR: https://git.openjdk.org/jdk/pull/26657