Integrated: 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 12:11:05 UTC 2023
On Thu, 29 Jun 2023 06:35:15 GMT, Damon Fenacci <dfenacci at openjdk.org> wrote:
> 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.
This pull request has now been integrated.
Changeset: e5744b81
Author: Damon Fenacci <dfenacci at openjdk.org>
URL: https://git.openjdk.org/jdk/commit/e5744b8120548a161f75aa098826a6798d85f90f
Stats: 4 lines in 1 file changed: 1 ins; 0 del; 3 mod
8310919: runtime/ErrorHandling/TestAbortVmOnException.java times out due to core dumps taking a long time on OSX
Reviewed-by: thartmann, dholmes
-------------
PR: https://git.openjdk.org/jdk/pull/14704
More information about the hotspot-runtime-dev
mailing list