The CancelStreamedBodyTest.java and ISO_8859_1_Test.java were observed failing in AssertioError due to resources not being released in the imparted time. I am suspecting this to occur on particularly slow/overloaded machines.
This change propose to increase the time these two tests wait for resources to be released. It also improves traces in the ReferenceTracker to give better visibility on the tracker waiting loop and help better diagnose any future issue that might be cause by the tracker not waiting long enough. ------------- Commit messages: - 8298931 - 8298931 Changes: https://git.openjdk.org/jdk/pull/11725/files Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=11725&range=00 Issue: https://bugs.openjdk.org/browse/JDK-8298931 Stats: 31 lines in 3 files changed: 21 ins; 0 del; 10 mod Patch: https://git.openjdk.org/jdk/pull/11725.diff Fetch: git fetch https://git.openjdk.org/jdk pull/11725/head:pull/11725 PR: https://git.openjdk.org/jdk/pull/11725