RFR: 8252545: runtime/ErrorHandling/TestHeapDumpOnOutOfMemoryError.java timed out

Coleen Phillimore coleenp at openjdk.java.net
Tue Jan 26 13:08:41 UTC 2021


On Mon, 25 Jan 2021 17:57:33 GMT, Harold Seigel <hseigel at openjdk.org> wrote:

> 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

LGTM!

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

Marked as reviewed by coleenp (Reviewer).

PR: https://git.openjdk.java.net/jdk/pull/2226


More information about the hotspot-dev mailing list