Return-Path: Delivered-To: apmail-harmony-commits-archive@www.apache.org Received: (qmail 7269 invoked from network); 10 Apr 2007 09:51:54 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 10 Apr 2007 09:51:54 -0000 Received: (qmail 69127 invoked by uid 500); 10 Apr 2007 09:52:00 -0000 Delivered-To: apmail-harmony-commits-archive@harmony.apache.org Received: (qmail 69111 invoked by uid 500); 10 Apr 2007 09:52:00 -0000 Mailing-List: contact commits-help@harmony.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@harmony.apache.org Delivered-To: mailing list commits@harmony.apache.org Received: (qmail 69101 invoked by uid 99); 10 Apr 2007 09:52:00 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 10 Apr 2007 02:52:00 -0700 X-ASF-Spam-Status: No, hits=-100.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.4] (HELO brutus.apache.org) (140.211.11.4) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 10 Apr 2007 02:51:52 -0700 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 400BC71406E for ; Tue, 10 Apr 2007 02:51:32 -0700 (PDT) Message-ID: <24089322.1176198692243.JavaMail.jira@brutus> Date: Tue, 10 Apr 2007 02:51:32 -0700 (PDT) From: "Alexey Varlamov (JIRA)" To: commits@harmony.apache.org Subject: [jira] Commented: (HARMONY-2298) [linu-kernel] keep ThreadLocal instances weakly refenced in Thread In-Reply-To: <26599401.1164362761915.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/HARMONY-2298?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12487734 ] Alexey Varlamov commented on HARMONY-2298: ------------------------------------------ I suggest separating JET/GC problem to new JIRA, as this is DRLVM-only issue while the problem of leaking ThreadLocal objects is VM-neutral. > [linu-kernel] keep ThreadLocal instances weakly refenced in Thread > ------------------------------------------------------------------ > > Key: HARMONY-2298 > URL: https://issues.apache.org/jira/browse/HARMONY-2298 > Project: Harmony > Issue Type: Task > Components: DRLVM > Reporter: Alexey Varlamov > Priority: Trivial > > This is a follow-up task after discussion [1]: > j.l.Thread should keep ThreadLocal objects in a WeakIdentityHashMap (it is IdentityHashMap in DRLVM now), to guard against potential memory leaks. I see no harm in this enhancement, only gain. > [1] http://thread.gmane.org/gmane.comp.java.harmony.devel/19157/focus=19305 -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.