RFR: JDK-8310919: runtime/ErrorHandling/TestAbortVmOnException.java times out due to core dumps taking a long time on OSX [v2]

Damon Fenacci dfenacci at openjdk.org
Thu Jun 29 11:07:09 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.

Damon Fenacci has updated the pull request incrementally with one additional commit since the last revision:

  JDK-8310919: removing -Xbatch

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

Changes:
  - all: https://git.openjdk.org/jdk/pull/14704/files
  - new: https://git.openjdk.org/jdk/pull/14704/files/6b583845..7f4e7aee

Webrevs:
 - full: https://webrevs.openjdk.org/?repo=jdk&pr=14704&range=01
 - incr: https://webrevs.openjdk.org/?repo=jdk&pr=14704&range=00-01

  Stats: 2 lines in 1 file changed: 0 ins; 0 del; 2 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