This is an attempt to make the FlushCustomClassLoader more stable. I cannot reproduce this bug so added some improvement blindly, based on assumption that the test may fail on the slow/overloaded system.
* The attempt limitation was removed, but the test execution time decreased to 1 minute * For each attempt the generation of OOM was added to make sure that the GC was triggered ------------- Commit messages: - Update FlushCustomClassLoader.java Changes: https://git.openjdk.java.net/jdk/pull/6778/files Webrev: https://webrevs.openjdk.java.net/?repo=jdk&pr=6778&range=00 Issue: https://bugs.openjdk.java.net/browse/JDK-8276819 Stats: 9 lines in 1 file changed: 3 ins; 4 del; 2 mod Patch: https://git.openjdk.java.net/jdk/pull/6778.diff Fetch: git fetch https://git.openjdk.java.net/jdk pull/6778/head:pull/6778 PR: https://git.openjdk.java.net/jdk/pull/6778
