Projects
openEuler:24.03:SP1:Everything
openjdk-1.8.0
_service:tar_scm:Fix-the-memory-leak-of-Metaspa...
Sign Up
Log In
Username
Password
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File _service:tar_scm:Fix-the-memory-leak-of-MetaspaceAllocationTest.patch of Package openjdk-1.8.0
From 1c55195c050d26f7c3ef53ed8f4ff25f398cfa1e Mon Sep 17 00:00:00 2001 Date: Thu, 19 Oct 2023 11:24:12 +0800 Subject: [PATCH 2/5] Fix the memory leak of MetaspaceAllocationTest --- hotspot/src/share/vm/memory/metaspace.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/hotspot/src/share/vm/memory/metaspace.cpp b/hotspot/src/share/vm/memory/metaspace.cpp index 0569500c1..847af1ce9 100644 --- a/hotspot/src/share/vm/memory/metaspace.cpp +++ b/hotspot/src/share/vm/memory/metaspace.cpp @@ -5712,6 +5712,8 @@ public: for (int i = 0; i < NUM_PARALLEL_METASPACES; i ++) { if (_spaces[i].space != NULL) { delete _spaces[i].space; + } + if (_spaces[i].lock != NULL) { delete _spaces[i].lock; } } -- 2.19.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