Projects
openEuler:24.03:SP1:Everything
openjdk-1.8.0
_service:tar_scm:0025-8220166-Performance-regre...
Sign Up
Log In
Username
Password
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File _service:tar_scm:0025-8220166-Performance-regression-in-deserialization.patch of Package openjdk-1.8.0
Date: Thu, 8 Jun 2023 20:42:07 +0800 Subject: 8220166: Performance regression in deserialization Bug url: https://bugs.openjdk.org/browse/JDK-8220166 --- jdk/src/share/classes/sun/misc/ObjectInputFilter.java | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/jdk/src/share/classes/sun/misc/ObjectInputFilter.java b/jdk/src/share/classes/sun/misc/ObjectInputFilter.java index af21c7400..eb75755fb 100644 --- a/jdk/src/share/classes/sun/misc/ObjectInputFilter.java +++ b/jdk/src/share/classes/sun/misc/ObjectInputFilter.java @@ -270,7 +270,7 @@ public interface ObjectInputFilter { /** * Current configured filter. */ - private static ObjectInputFilter serialFilter = configuredFilter; + private static volatile ObjectInputFilter serialFilter = configuredFilter; /** * Get the filter for classes being deserialized on the ObjectInputStream. @@ -304,9 +304,7 @@ public interface ObjectInputFilter { * @return the process-wide serialization filter or {@code null} if not configured */ public static ObjectInputFilter getSerialFilter() { - synchronized (serialFilterLock) { - return serialFilter; - } + return serialFilter; } /** -- 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