RFR: 8364106: Include java.runtime.version in thread dump output [v2]
David Holmes
dholmes at openjdk.org
Wed Jul 30 07:37:45 UTC 2025
On Tue, 29 Jul 2025 09:59:49 GMT, Alan Bateman <alanb at openjdk.org> wrote:
>> David Holmes has updated the pull request incrementally with one additional commit since the last revision:
>>
>> JRE -> JDK
>
> src/hotspot/share/runtime/threads.cpp line 1383:
>
>> 1381: VM_Version::printable_jdk_debug_level() : "";
>> 1382:
>> 1383: st->print_cr(" JRE version: %s%s%s (%s) (%sbuild %s)", runtime_name,
>
> The move to modules in JDK 9 blurred the historical distinction between what we used to know as the JDK and JRE. So we don't use "JRE" anymore. I think it would be okay to say JDK or runtime version here.
We probably need to file a general fix up for this as we still report "JRE" in `-Xinternalversion`, as well as the version string in the hs_err report. But I can change this one to "JDK"
-------------
PR Review Comment: https://git.openjdk.org/jdk/pull/26520#discussion_r2241781286
More information about the hotspot-runtime-dev
mailing list