RFR: JDK-8260282: Add option to compress heap dumps created by -XX:+HeapDumpOnOutOfMemoryError [v2]

Chris Plummer cjplummer at openjdk.java.net
Tue Jan 26 08:11:51 UTC 2021


On Tue, 26 Jan 2021 07:57:42 GMT, Ralf Schmelter <rschmelter at openjdk.org> wrote:

> I've added a -Xmx128M. This should probably also done to TestHeapDumpOnOutOfMemoryError, which uses the same code.

Yes, it should. Probably it hasn't caused failures because my recollection is that it usually takes 2 or more such heap exhaustion tests running in parallel to result in unexpected failures in our testing, but it really depends on the test host and available memory. Also, the metaspace version of the test does use `-XX:MaxMetaspaceSize=16m`, so it doesn't use that much memory.

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

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


More information about the hotspot-runtime-dev mailing list