RFR: 8359820: Improve handshake/safepoint timeout diagnostic messages [v6]

Anton Artemov duke at openjdk.org
Mon Jul 28 09:19:52 UTC 2025


> Hi, please consider the following changes:
> 
> The problem in the issue description is not a problem by itself, the behavior is not unexpected, but it is somewhat difficult to find out what caused SIGILL to be fired.
> 
> We propagate this information from `handshake::handle_timeout()` to `VMError::report()` with a help of a global variable.  The same mechanism is used to address a similar issue in the safepoint timeout handler. 
> 
> Tested in tiers 1-3.

Anton Artemov has updated the pull request with a new target base due to a merge or a rebase. The incremental webrev excludes the unrelated changes brought in by the merge/rebase. The pull request contains 13 additional commits since the last revision:

 - Merge remote-tracking branch 'origin/master' into JDK-8359820-SIGILL-with-low-handshake-timeout-on-intel-sde
 - 8359820: Fixed spaces
 - 8359820: Addressed reviewer's comments
 - 8359820: Addressed reviewer's comments
 - 8359820: Addressed reviewer's comments
 - Merge remote-tracking branch 'origin/master' into JDK-8359820-SIGILL-with-low-handshake-timeout-on-intel-sde
 - 8359820: Fixed test
 - 8359820: Removed extra line
 - Merge branch 'JDK-8359820-SIGILL-with-low-handshake-timeout-on-intel-sde' of https://github.com/toxaart/jdk into JDK-8359820-SIGILL-with-low-handshake-timeout-on-intel-sde
 - Merge remote-tracking branch 'origin/master' into JDK-8359820-SIGILL-with-low-handshake-timeout-on-intel-sde
 - ... and 3 more: https://git.openjdk.org/jdk/compare/e695e215...f97067c3

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

Changes:
  - all: https://git.openjdk.org/jdk/pull/26309/files
  - new: https://git.openjdk.org/jdk/pull/26309/files/9ccf0960..f97067c3

Webrevs:
 - full: https://webrevs.openjdk.org/?repo=jdk&pr=26309&range=05
 - incr: https://webrevs.openjdk.org/?repo=jdk&pr=26309&range=04-05

  Stats: 15036 lines in 447 files changed: 7287 ins; 5799 del; 1950 mod
  Patch: https://git.openjdk.org/jdk/pull/26309.diff
  Fetch: git fetch https://git.openjdk.org/jdk.git pull/26309/head:pull/26309

PR: https://git.openjdk.org/jdk/pull/26309


More information about the hotspot-runtime-dev mailing list