RFR: 8266422: GC ergo tests should not write cores
Stefan Johansson
sjohanss at openjdk.java.net
Wed May 5 15:06:50 UTC 2021
On Mon, 3 May 2021 07:28:02 GMT, Thomas Stuefe <stuefe at openjdk.org> wrote:
> Hi,
>
> unrelated crashes in GC tests showed timeouts and large core files on AIX, which unfortunately has no concept of committing memory - reserved memory counts toward the commit charge right away and hence are reflected in core file size.
>
> Therefore I would like to run these tests without cores. Note that it is not my intention to fix up all potential tests which do this, which would be a much larger task, or would require a change at a lower layer (e.g. always pass -CreateCoredumpOnCrash to createJavaProcessBuilder).
>
> Thanks, Thomas
Would it make sense to only add `-XX:-CreateCoredumpOnCrash` when on AIX? We have `Platform.isAix()` which could be used to check this. Or do you see a value in always adding this to the tests in question?
-------------
PR: https://git.openjdk.java.net/jdk/pull/3836
More information about the hotspot-gc-dev
mailing list