RFR: 8252545: runtime/ErrorHandling/TestHeapDumpOnOutOfMemoryError.java timed out
Harold Seigel
hseigel at openjdk.java.net
Tue Jan 26 13:19:39 UTC 2021
On Tue, 26 Jan 2021 13:06:14 GMT, Coleen Phillimore <coleenp 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!
Thanks Thomas and Coleen for the reviews! I'll keep the Metaspace timeout as is for now to reduce the chances of that test timing out.
-------------
PR: https://git.openjdk.java.net/jdk/pull/2226
More information about the hotspot-dev
mailing list