diff --git a/7092821-java.security.Provider.getService-is-synchro.patch b/7092821-java.security.Provider.getService-is-synchro.patch index 347e9c6feb5433fa3b685f4225f1618ca6dae846..81bd24504fb43e43407946310f8c287742ef55b9 100644 --- a/7092821-java.security.Provider.getService-is-synchro.patch +++ b/7092821-java.security.Provider.getService-is-synchro.patch @@ -4,10 +4,6 @@ Date: Wed, 8 Jun 2022 09:38:47 +0800 Subject: [PATCH 06/10] 7092821: java.security.Provider.getService() is synchronized and became scalability bottleneck -DTS/AR: DTS2022060716094 -Summary: : backport patch jdk-7092821 to jdk8, imporve provider performance -LLT: NA -Patch Type: backport Bug url: https://bugs.openjdk.java.net/browse/JDK-7092821 --- .../com/sun/crypto/provider/SunJCE.java | 1300 ++++++++--------- diff --git a/8173339-AArch64-Fix-minimum-stack-size-computations.patch b/8173339-AArch64-Fix-minimum-stack-size-computations.patch new file mode 100644 index 0000000000000000000000000000000000000000..e9a08f8d791cdf07772146817a197850dd197bc8 --- /dev/null +++ b/8173339-AArch64-Fix-minimum-stack-size-computations.patch @@ -0,0 +1,29 @@ +From 85a351276984f56d817560db8b5b837254ec2994 Mon Sep 17 00:00:00 2001 +From: zhangyipeng +Date: Tue, 7 Jun 2022 20:10:03 +0800 +Subject: [PATCH 05/10] 8173339: AArch64: Fix minimum stack size computations + +Bug url: https://bugs.openjdk.java.net/browse/JDK-8173339 +--- + hotspot/src/cpu/aarch64/vm/globals_aarch64.hpp | 5 ++++- + 1 file changed, 4 insertions(+), 1 deletion(-) + +diff --git a/hotspot/src/cpu/aarch64/vm/globals_aarch64.hpp b/hotspot/src/cpu/aarch64/vm/globals_aarch64.hpp +index 6610cc4fb..7c6b24879 100644 +--- a/hotspot/src/cpu/aarch64/vm/globals_aarch64.hpp ++++ b/hotspot/src/cpu/aarch64/vm/globals_aarch64.hpp +@@ -56,7 +56,10 @@ define_pd_global(intx, InlineFrequencyCount, 100); + define_pd_global(intx, StackYellowPages, 2); + define_pd_global(intx, StackRedPages, 1); + +-define_pd_global(intx, StackShadowPages, 4 DEBUG_ONLY(+5)); ++// Java_java_net_SocketOutputStream_socketWrite0() uses a 64k buffer on the ++// stack if compiled for unix and LP64. To pass stack overflow tests we need ++// 20 shadow pages. ++define_pd_global(intx, StackShadowPages, 20 DEBUG_ONLY(+5)); + + define_pd_global(intx, PreInflateSpin, 10); + +-- +2.22.0 + diff --git a/openjdk-1.8.0.spec b/openjdk-1.8.0.spec index a25fc753f3ee4ad98a6ca0bbe5696016e3831e43..953b36a5f1f53e895b1b0e7bed9e4ee5d63cd00d 100644 --- a/openjdk-1.8.0.spec +++ b/openjdk-1.8.0.spec @@ -916,7 +916,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 @@ -1138,6 +1138,7 @@ Patch243: Fix-compile-and-runtime-failures-for-minimal1-versio.patch Patch244: fix_X509TrustManagerImpl_symantec_distrust.patch Patch245: change-sa-jdi.jar-make-file-for-BEP.PATCH Patch246: 7092821-java.security.Provider.getService-is-synchro.patch +Patch247: 8173339-AArch64-Fix-minimum-stack-size-computations.patch ############################################# # @@ -1618,6 +1619,7 @@ pushd %{top_level_dir_name} %patch244 -p1 %patch245 -p1 %patch246 -p1 +%patch247 -p1 popd # System library fixes @@ -2242,6 +2244,9 @@ cjc.mainProgram(arg) %endif %changelog +* Mon Jul 4 2022 kuenking111 - 1:1.8.0.332-b09.5 +- add 8173339-AArch64-Fix-minimum-stack-size-computations.patch + * Mon Jul 4 2022 kuenking111 - 1:1.8.0.332-b09.4 - add 7092821-java.security.Provider.getService-is-synchro.patch