Test is intended to run with a small new size, -Xmn8m Without this, a larger new gen size means the allocations it make continually may never cause the Notification the test is waiting for. Timeout interacts with the process and means some allocation, which does hit the threshold, so we see "Test passed." and a timeout in the same log.
------------- Commit messages: - 8373111: Test java/lang/management/MemoryMXBean/MemoryManagement.java timed out Changes: https://git.openjdk.org/jdk/pull/28697/files Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=28697&range=00 Issue: https://bugs.openjdk.org/browse/JDK-8373111 Stats: 9 lines in 1 file changed: 4 ins; 3 del; 2 mod Patch: https://git.openjdk.org/jdk/pull/28697.diff Fetch: git fetch https://git.openjdk.org/jdk.git pull/28697/head:pull/28697 PR: https://git.openjdk.org/jdk/pull/28697
