代码拉取完成,页面将自动刷新
同步操作将从 misaka00251/openjdk-1.8.0 强制同步,此操作会覆盖自 Fork 仓库以来所做的任何修改,且无法恢复!!!
确定后同步将在后台操作,完成时将刷新页面,请耐心等待。
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
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。