RFR: 8364106: Include java.runtime.version in thread dump output [v3]
Sean Coffey
coffeys at openjdk.org
Wed Jul 30 07:43:41 UTC 2025
On Wed, 30 Jul 2025 07:32:00 GMT, David Holmes <dholmes at openjdk.org> wrote:
>> 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"
related to https://bugs.openjdk.org/browse/JDK-8330123
-------------
PR Review Comment: https://git.openjdk.org/jdk/pull/26520#discussion_r2241798208
More information about the hotspot-runtime-dev
mailing list