Projects
Mega:23.09
openjdk-1.8.0
_service:tar_scm:0049-Modify-G1GC-log-informati...
Sign Up
Log In
Username
Password
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File _service:tar_scm:0049-Modify-G1GC-log-information.patch of Package openjdk-1.8.0
Date: Fri, 9 Jun 2023 14:18:54 +0800 Subject: Modify G1GC log information --- hotspot/src/share/vm/gc_implementation/g1/g1NUMA.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/hotspot/src/share/vm/gc_implementation/g1/g1NUMA.cpp b/hotspot/src/share/vm/gc_implementation/g1/g1NUMA.cpp index 05b4d8989..c937ebc54 100644 --- a/hotspot/src/share/vm/gc_implementation/g1/g1NUMA.cpp +++ b/hotspot/src/share/vm/gc_implementation/g1/g1NUMA.cpp @@ -281,13 +281,13 @@ G1NodeIndexCheckClosure::G1NodeIndexCheckClosure(const char* desc, G1NUMA* numa) } G1NodeIndexCheckClosure::~G1NodeIndexCheckClosure() { - if (G1Log::finer()) { - gclog_or_tty->print("%s: NUMA region verification (id: matched/mismatched/total): ", _desc); + if (UseNUMA && G1Log::finer()) { + gclog_or_tty->print(" [%s: NUMA region verification (id: matched/mismatched/total): ", _desc); const int* numa_ids = _numa->node_ids(); for (uint i = 0; i < _numa->num_active_nodes(); i++) { - gclog_or_tty->print("%d: %u/%u/%u ", numa_ids[i], _matched[i], _mismatched[i], _total[i]); + gclog_or_tty->print("%d: %u/%u/%u", numa_ids[i], _matched[i], _mismatched[i], _total[i]); } - gclog_or_tty->print_cr(" "); + gclog_or_tty->print("]"); } FREE_C_HEAP_ARRAY(uint, _matched, mtGC); FREE_C_HEAP_ARRAY(uint, _mismatched, mtGC); -- 2.22.0
Locations
Projects
Search
Status Monitor
Help
Open Build Service
OBS Manuals
API Documentation
OBS Portal
Reporting a Bug
Contact
Mailing List
Forums
Chat (IRC)
Twitter
Open Build Service (OBS)
is an
openSUSE project
.
浙ICP备2022010568号-2