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

Wang Xue github.com+7995322+wangxues at openjdk.java.net
Thu Jan 14 01:51:11 UTC 2021


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

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

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

Changes: https://git.openjdk.java.net/jdk/pull/2026/files
 Webrev: https://webrevs.openjdk.java.net/?repo=jdk&pr=2026&range=00
  Issue: https://bugs.openjdk.java.net/browse/JDK-8259563
  Stats: 3 lines in 1 file changed: 1 ins; 1 del; 1 mod
  Patch: https://git.openjdk.java.net/jdk/pull/2026.diff
  Fetch: git fetch https://git.openjdk.java.net/jdk pull/2026/head:pull/2026

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


More information about the hotspot-runtime-dev mailing list