!444 I7WZZ1: revert 8198510: Enable UseDynamicNumberOfGCThreads by default

From: @kuenking111 
Reviewed-by: @alexanderbill 
Signed-off-by: @alexanderbill
This commit is contained in:
openeuler-ci-bot 2023-08-30 03:12:52 +00:00 committed by Gitee
commit 9948c6c045
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F
2 changed files with 4 additions and 32 deletions

View File

@ -1,29 +0,0 @@
Date: Thu, 8 Jun 2023 20:38:26 +0800
Subject: 8198510: Enable UseDynamicNumberOfGCThreads by default
Bug url: https://bugs.openjdk.org/browse/JDK-8198510
---
hotspot/src/share/vm/runtime/globals.hpp | 7 ++++---
1 file changed, 4 insertions(+), 3 deletions(-)
diff --git a/hotspot/src/share/vm/runtime/globals.hpp b/hotspot/src/share/vm/runtime/globals.hpp
index ac9165031..bdc49332a 100644
--- a/hotspot/src/share/vm/runtime/globals.hpp
+++ b/hotspot/src/share/vm/runtime/globals.hpp
@@ -1504,9 +1504,10 @@ class CommandLineFlags {
product(uintx, ParallelGCThreads, 0, \
"Number of parallel threads parallel gc will use") \
\
- product(bool, UseDynamicNumberOfGCThreads, false, \
- "Dynamically choose the number of parallel threads " \
- "parallel gc will use") \
+ product(bool, UseDynamicNumberOfGCThreads, true, \
+ "Dynamically choose the number of threads up to a maximum of " \
+ "ParallelGCThreads parallel collectors will use for garbage " \
+ "collection work") \
\
diagnostic(bool, ForceDynamicNumberOfGCThreads, false, \
"Force dynamic selection of the number of " \
--
2.22.0

View File

@ -925,7 +925,7 @@ Provides: java-%{javaver}-%{origin}-accessibility%{?1} = %{epoch}:%{version}-%{r
Name: java-%{javaver}-%{origin}
Version: %{javaver}.%{updatever}.%{buildver}
Release: 4
Release: 5
# java-1.5.0-ibm from jpackage.org set Epoch to 1 for unknown reasons
# and this change was brought into RHEL-4. java-1.5.0-ibm packages
# also included the epoch in their virtual provides. This created a
@ -1214,7 +1214,6 @@ Patch324: 0018-8130832-Extend-the-WhiteBox-API-to-provide-informati.patch
Patch325: 0019-8040213-C2-does-not-put-all-modified-nodes-on-IGVN-w.patch
Patch326: 0020-8251216-Implement-MD5-Intrinsics-on-aarch64.patch
Patch327: 0021-fastdebug-fix-TestMD5Intrinsics.java-and-TestMD5Mult.patch
Patch328: 0022-8198510-Enable-UseDynamicNumberOfGCThreads-by-defaul.patch
Patch329: 0023-8180421-Change-default-value-of-BiasedLockingStartup.patch
Patch330: 0024-Fix-the-trim-crash-caused-by-incorrect-assert-in-fas.patch
Patch331: 0025-8220166-Performance-regression-in-deserialization.patch
@ -1800,7 +1799,6 @@ pushd %{top_level_dir_name}
%patch325 -p1
%patch326 -p1
%patch327 -p1
%patch328 -p1
%patch329 -p1
%patch330 -p1
%patch331 -p1
@ -2484,6 +2482,9 @@ cjc.mainProgram(arg)
%endif
%changelog
* Wed Aug 30 2023 kuenking111 <wangkun49@huawei.com> - 1:1.8.0.382-b05.5
- del 0022-8198510-Enable-UseDynamicNumberOfGCThreads-by-defaul.patch
* Fri Aug 25 2023 kuenking111 <wangkun49@huawei.com> - 1:1.8.0.382-b05.4
- add 8283441-C2-segmentation-fault-in-ciMethodBlocks-make.patch
- fix cve-2022-40433