RFR: 8252545: runtime/ErrorHandling/TestHeapDumpOnOutOfMemoryError.java timed out
Harold Seigel
hseigel at openjdk.java.net
Mon Jan 25 18:01:47 UTC 2021
Please review this change to fix JDK-8252545. The fix uses -Xm128m to reduce the size of the heap, lessening the amount of time needed to get an OutOfMemoryError exception. The fix also simplifies things by including test TestHeapDumpOnOutOfMemoryErrorInMetaspace.java with this test. (Hopefully, this won't increase the likelihood of timeouts.)
The fix was tested by running Mach5 tier 3 on Linux, Mac OS, and Windows, and running the test 100 times on Linxu x64 with the same JVM options that were used when the test last timed out: "-XX:MaxRAMPercentage=6 -XX:+UseParallelGC -XX:+UseNUMA".
Thanks, Harold
-------------
Commit messages:
- 8252545: runtime/ErrorHandling/TestHeapDumpOnOutOfMemoryError.java timed out
Changes: https://git.openjdk.java.net/jdk/pull/2226/files
Webrev: https://webrevs.openjdk.java.net/?repo=jdk&pr=2226&range=00
Issue: https://bugs.openjdk.java.net/browse/JDK-8252545
Stats: 36 lines in 3 files changed: 3 ins; 30 del; 3 mod
Patch: https://git.openjdk.java.net/jdk/pull/2226.diff
Fetch: git fetch https://git.openjdk.java.net/jdk pull/2226/head:pull/2226
PR: https://git.openjdk.java.net/jdk/pull/2226
More information about the hotspot-dev
mailing list