Integrated: JDK-8295993 : use K instead of 1024 in a couple of hotspot outputs

Matthias Baesken mbaesken at openjdk.org
Mon Oct 31 09:13:08 UTC 2022


On Fri, 28 Oct 2022 12:32:40 GMT, Matthias Baesken <mbaesken at openjdk.org> wrote:

> There are a couple of outputs of values in k  (e.g. in os_posix.cpp and os_windows.cpp) where the K constant could be used nicely instead of 1024 (this is done already at a number of places but not everywhere).
> 
> (This is NOT about replacing all 1024 in the codebase by K because I think this would not be a good idea.)

This pull request has now been integrated.

Changeset: 274ea1db
Author:    Matthias Baesken <mbaesken at openjdk.org>
URL:       https://git.openjdk.org/jdk/commit/274ea1db5b248968c1ff1c5c24d75f07fb8a0600
Stats:     13 lines in 4 files changed: 0 ins; 1 del; 12 mod

8295993: use K instead of 1024 in a couple of hotspot outputs

Reviewed-by: lucy, dholmes

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

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


More information about the hotspot-runtime-dev mailing list