Projects
Mega:24.03:SP1:Everything
openjdk-1.8.0
_service:tar_scm:6858051-Add-a-switch-for-the-d...
Sign Up
Log In
Username
Password
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File _service:tar_scm:6858051-Add-a-switch-for-the-dynamic-thread-related-log.patch of Package openjdk-1.8.0
From f3decab7d0e232833857aaee5bb929c5e21c735c Mon Sep 17 00:00:00 2001 Date: Fri, 22 Jan 2021 16:18:19 +0800 Subject: Add a switch for the dynamic thread related log Summary: <gc>: Add a switch for the dynamic thread related log LLT: hotspot/test/gc/ergonomics/TestDynamicNumberOfGCThreads.java Bug url: https://bugs.openjdk.java.net/browse/JDK-6858051 --- .../share/vm/gc_implementation/shared/workerManager.hpp | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/hotspot/src/share/vm/gc_implementation/shared/workerManager.hpp b/hotspot/src/share/vm/gc_implementation/shared/workerManager.hpp index 1a840cf2b..d48d60f3e 100644 --- a/hotspot/src/share/vm/gc_implementation/shared/workerManager.hpp +++ b/hotspot/src/share/vm/gc_implementation/shared/workerManager.hpp @@ -67,9 +67,11 @@ class WorkerManager : public AllStatic { os::start_thread(new_worker); } - gclog_or_tty->print_cr("AdaptiveSizePolicy::add_workers() : " - "active_workers: %u created_workers: %u", - active_workers, created_workers); + if (TraceDynamicGCThreads) { + gclog_or_tty->print_cr("AdaptiveSizePolicy::add_workers() : " + "active_workers: %u created_workers: %u", + active_workers, created_workers); + } return created_workers; } -- 2.19.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