Return-Path: Delivered-To: apmail-incubator-harmony-commits-archive@www.apache.org Received: (qmail 83654 invoked from network); 26 Oct 2006 06:54:43 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 26 Oct 2006 06:54:43 -0000 Received: (qmail 16569 invoked by uid 500); 25 Oct 2006 18:22:48 -0000 Delivered-To: apmail-incubator-harmony-commits-archive@incubator.apache.org Received: (qmail 16533 invoked by uid 500); 25 Oct 2006 18:22:48 -0000 Mailing-List: contact harmony-commits-help@incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: harmony-dev@incubator.apache.org Delivered-To: mailing list harmony-commits@incubator.apache.org Received: (qmail 16522 invoked by uid 99); 25 Oct 2006 18:22:48 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 25 Oct 2006 11:22:48 -0700 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received-SPF: pass (herse.apache.org: local policy) Received: from [140.211.11.4] (HELO brutus.apache.org) (140.211.11.4) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 25 Oct 2006 11:22:34 -0700 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 19C127142D8 for ; Wed, 25 Oct 2006 11:21:34 -0700 (PDT) Message-ID: <14116915.1161800494103.JavaMail.root@brutus> Date: Wed, 25 Oct 2006 11:21:34 -0700 (PDT) From: "Mikhail Markov (JIRA)" To: harmony-commits@incubator.apache.org Subject: [jira] Commented: (HARMONY-1936) [classlib][rmi] improper class loader creation in DefaultRMIClassLoaderSpi due to race condition In-Reply-To: <25800977.1161370355095.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 [ http://issues.apache.org/jira/browse/HARMONY-1936?page=comments#action_12444707 ] Mikhail Markov commented on HARMONY-1936: ----------------------------------------- Everything is OK. Thanks, Nathan! > [classlib][rmi] improper class loader creation in DefaultRMIClassLoaderSpi due to race condition > ------------------------------------------------------------------------------------------------ > > Key: HARMONY-1936 > URL: http://issues.apache.org/jira/browse/HARMONY-1936 > Project: Harmony > Issue Type: Bug > Components: Classlib > Environment: IA32, WinXP > Reporter: Mikhail Markov > Assigned To: Nathan Beyer > Attachments: DefaultRMIClassLoaderSpi.1.patch, DefaultRMIClassLoaderSpi.patch > > > I've identified that DefaultRMIClassLoaderSpi sometimes creates 2 different URLClassLoaders (inside the class) for the same codebase. This is due to the gap between the moments of checking of inner hashtable with created loaders and table updating with new created loaders when 2 threads could enter at the same time. > Unfortunately, i was not able to provide a stand-alone simple reproducer for this bug, but it is reproducible on heavy multi-threading application. > The patch will come... It is easy understandable so i hope it demonstrates the problem by itself. -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira