Return-Path: Delivered-To: apmail-commons-issues-archive@minotaur.apache.org Received: (qmail 87621 invoked from network); 29 Jun 2009 23:33:59 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 29 Jun 2009 23:33:59 -0000 Received: (qmail 42900 invoked by uid 500); 29 Jun 2009 23:34:09 -0000 Delivered-To: apmail-commons-issues-archive@commons.apache.org Received: (qmail 42789 invoked by uid 500); 29 Jun 2009 23:34:09 -0000 Mailing-List: contact issues-help@commons.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: issues@commons.apache.org Delivered-To: mailing list issues@commons.apache.org Received: (qmail 42768 invoked by uid 99); 29 Jun 2009 23:34:09 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 29 Jun 2009 23:34:09 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.140] (HELO brutus.apache.org) (140.211.11.140) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 29 Jun 2009 23:34:07 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 51112234C04C for ; Mon, 29 Jun 2009 16:33:47 -0700 (PDT) Message-ID: <631332265.1246318427331.JavaMail.jira@brutus> Date: Mon, 29 Jun 2009 16:33:47 -0700 (PDT) From: "bhupesh bansal (JIRA)" To: issues@commons.apache.org Subject: [jira] Created: (POOL-146) Thread deadlock issue in GenericKeyedObjectPool borrowObject() MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on apache.org Thread deadlock issue in GenericKeyedObjectPool borrowObject() -------------------------------------------------------------- Key: POOL-146 URL: https://issues.apache.org/jira/browse/POOL-146 Project: Commons Pool Issue Type: Bug Affects Versions: 1.5.1 Reporter: bhupesh bansal I am a new user of common-pools and I was having some weird behavior with GenericKeyedObjectPool GenericKeyedObjectPool: 1074:1077 public Object borrowObject(Object key) throws Exception { long starttime = System.currentTimeMillis(); Latch latch = new Latch(key); ---> This object is tried to be used for managing pool size by calling wait()/notify() My thinking is this should be a shared/global object and not created new for each call ?? -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.