Incorporating a fix made in Valhalla repository that fixed a test timing out. (JDK-8375207) The original commit included ProblemList changes that are not applicable, so instead of cherry-picking, fixing it separately in the mainline.
------------- Commit messages: - initial commit Changes: https://git.openjdk.org/jdk/pull/30208/files Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=30208&range=00 Issue: https://bugs.openjdk.org/browse/JDK-8379558 Stats: 3 lines in 1 file changed: 0 ins; 0 del; 3 mod Patch: https://git.openjdk.org/jdk/pull/30208.diff Fetch: git fetch https://git.openjdk.org/jdk.git pull/30208/head:pull/30208 PR: https://git.openjdk.org/jdk/pull/30208
