Improved test stability. See first comment for details.

Tested by running the test 25 times with every GC on every supported platform 
and also combined with -Xcomp.

-------------

Commit messages:
 - fix jcheck errors
 - improve test stability

Changes: https://git.openjdk.org/jdk/pull/27266/files
  Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=27266&range=00
  Issue: https://bugs.openjdk.org/browse/JDK-8367297
  Stats: 50 lines in 1 file changed: 36 ins; 1 del; 13 mod
  Patch: https://git.openjdk.org/jdk/pull/27266.diff
  Fetch: git fetch https://git.openjdk.org/jdk.git pull/27266/head:pull/27266

PR: https://git.openjdk.org/jdk/pull/27266

Reply via email to