Integrated: 8259563: The CPU model name is printed multiple times when using -Xlog:os+cpu

Wang Xue wangxue at openjdk.java.net
Thu Jan 14 12:59:58 UTC 2021


On Mon, 11 Jan 2021 13:29:29 GMT, Wang Xue <wangxue at openjdk.org> wrote:

> Hi all,
> 
> The CPU model name will be printed multiple times if the platform only has model name but no flags (such as mips) when using -Xlog:os+cpu. "model_name_printed" should be initialized to "false" before the loop. Please review this trivial change.
> 
> Thanks,
> Wang Xue

This pull request has now been integrated.

Changeset: b8ef2bad
Author:    Wang Xue <wangxue at openjdk.org>
Committer: David Holmes <dholmes at openjdk.org>
URL:       https://git.openjdk.java.net/jdk/commit/b8ef2bad
Stats:     3 lines in 1 file changed: 1 ins; 1 del; 1 mod

8259563: The CPU model name is printed multiple times when using -Xlog:os+cpu

Reviewed-by: dholmes

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

PR: https://git.openjdk.java.net/jdk/pull/2026


More information about the hotspot-runtime-dev mailing list