Return-Path: X-Original-To: apmail-commons-issues-archive@minotaur.apache.org Delivered-To: apmail-commons-issues-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id E00241136B for ; Thu, 18 Sep 2014 18:22:35 +0000 (UTC) Received: (qmail 12408 invoked by uid 500); 18 Sep 2014 18:22:35 -0000 Delivered-To: apmail-commons-issues-archive@commons.apache.org Received: (qmail 12306 invoked by uid 500); 18 Sep 2014 18:22:35 -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 12290 invoked by uid 99); 18 Sep 2014 18:22:35 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 18 Sep 2014 18:22:35 +0000 Date: Thu, 18 Sep 2014 18:22:35 +0000 (UTC) From: "Bernd Eckenfels (JIRA)" To: issues@commons.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (POOL-277) Monitor contention at BaseGenericObjectPool MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/POOL-277?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14139287#comment-14139287 ] Bernd Eckenfels commented on POOL-277: -------------------------------------- I could work on a change based on the Atomic approach. I am waiting currently on feedback on dev@commons. Maybe you could followup there with details in your test (I wonder why it shows so much concurrency for a simple arithmetic critical section). I assume your pooled objects are actually mocks or very leightweight? > Monitor contention at BaseGenericObjectPool > ------------------------------------------- > > Key: POOL-277 > URL: https://issues.apache.org/jira/browse/POOL-277 > Project: Commons Pool > Issue Type: Improvement > Affects Versions: 2.2 > Reporter: Lucas Pouzac > Labels: concurrency, performance > Fix For: 2.3 > > Attachments: monitor_contention_basegenericobjectpool.png, monitor_contention_basegenericobjectpool_after_pull_request.png > > > Updating JMX causes synchronization while the service is secondary. See screenshot. > I create a Pull Request [#1|https://github.com/apache/commons-pool/pull/1]. -- This message was sent by Atlassian JIRA (v6.3.4#6332)