RFR: JDK-8310919: runtime/ErrorHandling/TestAbortVmOnException.java times out due to core dumps taking a long time on OSX
Damon Fenacci
dfenacci at openjdk.org
Thu Jun 29 10:32:10 UTC 2023
Sometimes the test `runtime/ErrorHandling/TestAbortVmOnException.java` times out on MacOS.
This is due to the fact that the test crashes 3 times by design creating a core dump every time and sometimes on MacOS it takes a long time to create core dumps.
Since there is no reason for these crashes to have core dumps, we avoid creating them by using the `-XX:-CreateCoredumpOnCrash` flag.
Additionally adding `-XX:CompileCommand=compileonly,TestAbortVmOnException::*` to restrict the compilation only to `TestAbortVmOnException` methods and thus make the test faster.
-------------
Commit messages:
- JDK-8310919: adding compileonly,TestAbortVmOnException::* to restrict the compilation to necessary methods
- JDK-8310919: runtime/ErrorHandling/TestAbortVmOnException.java timed out
Changes: https://git.openjdk.org/jdk/pull/14704/files
Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=14704&range=00
Issue: https://bugs.openjdk.org/browse/JDK-8310919
Stats: 4 lines in 1 file changed: 1 ins; 0 del; 3 mod
Patch: https://git.openjdk.org/jdk/pull/14704.diff
Fetch: git fetch https://git.openjdk.org/jdk.git pull/14704/head:pull/14704
PR: https://git.openjdk.org/jdk/pull/14704
More information about the hotspot-runtime-dev
mailing list