Projects
openEuler:24.03:SP1:Everything
openjdk-1.8.0
_service:tar_scm:Fix-AsyncGCLog-s-content-consi...
Sign Up
Log In
Username
Password
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File _service:tar_scm:Fix-AsyncGCLog-s-content-consistent-bug.patch of Package openjdk-1.8.0
From a9c12b1881b227e537089c14bfcc3a00cfc7c1ac Mon Sep 17 00:00:00 2001 From: eapen <zhangyipeng7@huawei.com> Date: Mon, 19 Dec 2022 21:12:55 +0800 Subject: [PATCH 33/33] I68TO2: Fix AsyncGCLog's content consistent bug --- hotspot/src/share/vm/runtime/java.cpp | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/hotspot/src/share/vm/runtime/java.cpp b/hotspot/src/share/vm/runtime/java.cpp index e2194dd..5b82a7a 100644 --- a/hotspot/src/share/vm/runtime/java.cpp +++ b/hotspot/src/share/vm/runtime/java.cpp @@ -516,11 +516,6 @@ void before_exit(JavaThread * thread) { // Stop concurrent GC threads Universe::heap()->stop(); - // Stop async log writer thread - if (UseAsyncGCLog) { - AsyncLogWriter::instance()->stop(); - } - // Print GC/heap related information. if (PrintGCDetails) { Universe::print(); @@ -584,6 +579,11 @@ void before_exit(JavaThread * thread) { } } + // Stop async log writer thread + if (UseAsyncGCLog) { + AsyncLogWriter::instance()->stop(); + } + #undef BEFORE_EXIT_NOT_RUN #undef BEFORE_EXIT_RUNNING #undef BEFORE_EXIT_DONE -- 1.8.3.1
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