Integrated: 8368817: Convert JDK_Version::to_string to use stringStream instead of jio_snprintf-chain

Kim Barrett kbarrett at openjdk.org
Wed Oct 1 04:02:05 UTC 2025


On Tue, 30 Sep 2025 02:53:00 GMT, Kim Barrett <kbarrett at openjdk.org> wrote:

> Please review this change to JDK_Version::to_string to use stringStream to
> accumulate the version string in the buffer, rather than using jio_snprintf to
> write the various pieces.
> 
> Testing: mach5 tier1
> Locally manually examined result of JDK_Version for builds configured with
> different values for various version parameters.

This pull request has now been integrated.

Changeset: 8c3ca024
Author:    Kim Barrett <kbarrett at openjdk.org>
URL:       https://git.openjdk.org/jdk/commit/8c3ca024c770d3cf3b35234e967e5f0f0d610388
Stats:     17 lines in 1 file changed: 0 ins; 10 del; 7 mod

8368817: Convert JDK_Version::to_string to use stringStream instead of jio_snprintf-chain

Reviewed-by: fandreuzzi, jsjolen

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

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


More information about the hotspot-runtime-dev mailing list