RFR: JDK-8303742: CompletableFuture.orTimeout leaks if the future completes exceptionally
Viktor Klang
duke at openjdk.org
Tue Mar 21 10:50:31 UTC 2023
Improves the stability of the memory leak test for CompletableFuture timeout cancellation by both reducing the count by 50% (which should still be above threshold to trigger given the ample margin set initially) as well as extending the default timeout of the test run.
-------------
Commit messages:
- Hardening the memory leak test for CompletableFuture timeout cancellation
Changes: https://git.openjdk.org/jdk/pull/13116/files
Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=13116&range=00
Issue: https://bugs.openjdk.org/browse/JDK-8303742
Stats: 3 lines in 1 file changed: 0 ins; 0 del; 3 mod
Patch: https://git.openjdk.org/jdk/pull/13116.diff
Fetch: git fetch https://git.openjdk.org/jdk.git pull/13116/head:pull/13116
PR: https://git.openjdk.org/jdk/pull/13116
More information about the core-libs-dev
mailing list