Integrated: 8364106: Include java.runtime.version in thread dump output

David Holmes dholmes at openjdk.org
Sun Aug 3 22:31:58 UTC 2025


On Mon, 28 Jul 2025 23:43:35 GMT, David Holmes <dholmes at openjdk.org> wrote:

> Proposed output (similar to that produced for hs_err log):
> 
> 
> Full thread dump Java HotSpot(TM) 64-Bit Server VM (26-internal-2025-07-28-0739549.daholme... mixed mode, sharing)
>                  JRE version: Java(TM) SE Runtime Environment (26.0) (fastdebug build 26-internal-2025-07-28-0739549.daholme...)
> 
> Threads class SMR info:
> ... 
> 
> Testing:
>  - manual thread dump production via ctrl-\
>  -  tiers 1-4 (sanity)
> 
> Potentially the null checks are not needed in this case as we should not be able to generate a thread dump until after things are initialized, but it doesn't really hurt.
> 
> Thanks

This pull request has now been integrated.

Changeset: 158e59ab
Author:    David Holmes <dholmes at openjdk.org>
URL:       https://git.openjdk.org/jdk/commit/158e59ab9184127089f9693ce256001f64b5945c
Stats:     19 lines in 2 files changed: 17 ins; 0 del; 2 mod

8364106: Include java.runtime.version in thread dump output

Reviewed-by: alanb, coffeys

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

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


More information about the hotspot-runtime-dev mailing list