Call WhiteBox.fullGC() instead of System.gc() for a guaranteed full GC. It is assumed that one full GC is sufficient for these tests.
Testing was done with fastdebug and release builds on the main platforms and also on Linux/PPC64le and AIX. ------------- Commit messages: - Merge branch 'master' - Use /native option - Use WhiteBox::fullGC instead of System::gc Changes: https://git.openjdk.org/jdk/pull/26363/files Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=26363&range=00 Issue: https://bugs.openjdk.org/browse/JDK-8362482 Stats: 7 lines in 1 file changed: 5 ins; 0 del; 2 mod Patch: https://git.openjdk.org/jdk/pull/26363.diff Fetch: git fetch https://git.openjdk.org/jdk.git pull/26363/head:pull/26363 PR: https://git.openjdk.org/jdk/pull/26363