Integrated: 8372380: Make hs_err reporting more robust for unattached threads
David Holmes
dholmes at openjdk.org
Wed Nov 26 20:04:00 UTC 2025
On Mon, 24 Nov 2025 02:14:15 GMT, David Holmes <dholmes at openjdk.org> wrote:
> There were a number of places where the code called by hs_err reporting assumed/required an attached current thread. These would then cause secondary failures during hs_err reporting. Using a simple example of an unattached thread causing a SEGV I went through and eliminated all the problems I encountered. In some cases the thread dependency was obvious and easy to address directly, but in others we just skip that section at the top-level.
>
> Testing:
> - manual inspection of hs_err file, for different GCs
> - tiers 1-3 sanity
>
> Thanks
This pull request has now been integrated.
Changeset: 6e920fbd
Author: David Holmes <dholmes at openjdk.org>
URL: https://git.openjdk.org/jdk/commit/6e920fbdab17201886804bb53b59188b362f541d
Stats: 11 lines in 4 files changed: 6 ins; 0 del; 5 mod
8372380: Make hs_err reporting more robust for unattached threads
Reviewed-by: shade, aboldtch, kevinw
-------------
PR: https://git.openjdk.org/jdk/pull/28470
More information about the hotspot-dev
mailing list