Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id 93DDD200B7E for ; Tue, 6 Sep 2016 14:00:27 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id 92926160AAD; Tue, 6 Sep 2016 12:00:27 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id DDDD4160ABF for ; Tue, 6 Sep 2016 14:00:26 +0200 (CEST) Received: (qmail 78168 invoked by uid 500); 6 Sep 2016 12:00:26 -0000 Mailing-List: contact issues-help@karaf.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@karaf.apache.org Delivered-To: mailing list issues@karaf.apache.org Received: (qmail 78150 invoked by uid 99); 6 Sep 2016 12:00:26 -0000 Received: from arcas.apache.org (HELO arcas) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 06 Sep 2016 12:00:26 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id E84872C1B7B for ; Tue, 6 Sep 2016 12:00:25 +0000 (UTC) Date: Tue, 6 Sep 2016 12:00:25 +0000 (UTC) From: "ASF subversion and git services (JIRA)" To: issues@karaf.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (KARAF-4687) ClassLoader leak with java.lang.Exception and karaf.exception library MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 archived-at: Tue, 06 Sep 2016 12:00:27 -0000 [ https://issues.apache.org/jira/browse/KARAF-4687?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15467241#comment-15467241 ] ASF subversion and git services commented on KARAF-4687: -------------------------------------------------------- Commit 09c1795378115ab46eb537a3b3d9ac6dd3e185af in karaf's branch refs/heads/master from [~grzes] [ https://git-wip-us.apache.org/repos/asf?p=karaf.git;h=09c1795 ] [KARAF-4687] Prevent classloader leaks with static Throwables > ClassLoader leak with java.lang.Exception and karaf.exception library > --------------------------------------------------------------------- > > Key: KARAF-4687 > URL: https://issues.apache.org/jira/browse/KARAF-4687 > Project: Karaf > Issue Type: Bug > Affects Versions: 2.4.4, 4.0.6, 3.0.8 > Reporter: Grzegorz Grzybek > Assignee: Guillaume Nodet > Fix For: 4.1.0, 4.0.7 > > > Here's much worse leak I found in JVisualVM: > {noformat} > this - value: org.apache.felix.framework.BundleWiringImpl #1 > <- m_wiring - class: org.apache.felix.framework.BundleWiringImpl$BundleClassLoaderJava5, value: org.apache.felix.framework.BundleWiringImpl #1 > <- - class: org.ops4j.pax.logging.slf4j.Slf4jLogger, value: org.apache.felix.framework.BundleWiringImpl$BundleClassLoaderJava5 #1 > <- - class: org.ops4j.pax.logging.slf4j.Slf4jLogger, value: org.ops4j.pax.logging.slf4j.Slf4jLogger class Slf4jLogger > <- LOGGER - class: org.apache.karaf.features.internal.FeaturesServiceImpl, value: org.ops4j.pax.logging.slf4j.Slf4jLogger #3 > <- [19] - class: java.lang.Class[], value: org.apache.karaf.features.internal.FeaturesServiceImpl class FeaturesServiceImpl > <- classContext - class: org.apache.xerces.impl.XMLEntityScanner$1, value: java.lang.Class[] #23 > <- END_OF_DOCUMENT_ENTITY (sticky class) - class: org.apache.xerces.impl.XMLEntityScanner, value: org.apache.xerces.impl.XMLEntityScanner$1 #1 > {noformat} > and > {noformat} > this - value: org.apache.felix.framework.BundleWiringImpl #18 > <- m_wiring - class: org.apache.felix.framework.BundleWiringImpl$BundleClassLoaderJava5, value: org.apache.felix.framework.BundleWiringImpl #18 > <- - class: io.fabric8.api.scr.ValidatingReference, value: org.apache.felix.framework.BundleWiringImpl$BundleClassLoaderJava5 #16 > <- - class: io.fabric8.api.scr.ValidatingReference, value: io.fabric8.api.scr.ValidatingReference class ValidatingReference > <- curator - class: io.fabric8.zookeeper.curator.CuratorFrameworkLocator, value: io.fabric8.api.scr.ValidatingReference #1 > <- [140] - class: java.lang.Object[], value: io.fabric8.zookeeper.curator.CuratorFrameworkLocator class CuratorFrameworkLocator > <- elementData - class: java.util.Vector, value: java.lang.Object[] #3790 > <- classes - class: org.apache.felix.framework.BundleWiringImpl$BundleClassLoaderJava5, value: java.util.Vector #120 > <- - class: io.fabric8.zookeeper.curator.ManagedCuratorFramework$State, value: org.apache.felix.framework.BundleWiringImpl$BundleClassLoaderJava5 #15 > <- [93] - class: java.lang.Class[], value: io.fabric8.zookeeper.curator.ManagedCuratorFramework$State class ManagedCuratorFramework$State > <- classContext - class: org.eclipse.jgit.errors.StopWalkException, value: java.lang.Class[] #946 > <- INSTANCE - class: org.eclipse.jgit.errors.StopWalkException, value: org.eclipse.jgit.errors.StopWalkException #1 > <- [332] - class: java.lang.Object[], value: org.eclipse.jgit.errors.StopWalkException class StopWalkException > <- elementData - class: java.util.Vector, value: java.lang.Object[] #3772 > <- classes - class: org.apache.felix.framework.BundleWiringImpl$BundleClassLoaderJava5, value: java.util.Vector #119 > <- - class: org.eclipse.jgit.nls.NLS, value: org.apache.felix.framework.BundleWiringImpl$BundleClassLoaderJava5 #14 > <- - class: org.eclipse.jgit.nls.NLS, value: org.eclipse.jgit.nls.NLS class NLS > <- value - class: java.lang.ThreadLocal$ThreadLocalMap$Entry, value: org.eclipse.jgit.nls.NLS #1 > <- [11] - class: java.lang.ThreadLocal$ThreadLocalMap$Entry[], value: java.lang.ThreadLocal$ThreadLocalMap$Entry #144 > <- table - class: java.lang.ThreadLocal$ThreadLocalMap, value: java.lang.ThreadLocal$ThreadLocalMap$Entry[] #1 > <- inheritableThreadLocals (thread object) - class: java.lang.Thread, value: java.lang.ThreadLocal$ThreadLocalMap #2 > {noformat} -- This message was sent by Atlassian JIRA (v6.3.4#6332)