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 E3507200D01 for ; Fri, 22 Sep 2017 18:09:20 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id E1C441609BE; Fri, 22 Sep 2017 16:09:20 +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 2C1621609A7 for ; Fri, 22 Sep 2017 18:09:20 +0200 (CEST) Received: (qmail 36879 invoked by uid 500); 22 Sep 2017 16:09:19 -0000 Mailing-List: contact dev-help@activemq.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@activemq.apache.org Delivered-To: mailing list dev@activemq.apache.org Received: (qmail 36867 invoked by uid 99); 22 Sep 2017 16:09:18 -0000 Received: from git1-us-west.apache.org (HELO git1-us-west.apache.org) (140.211.11.23) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 22 Sep 2017 16:09:18 +0000 Received: by git1-us-west.apache.org (ASF Mail Server at git1-us-west.apache.org, from userid 33) id 908BBF5818; Fri, 22 Sep 2017 16:09:16 +0000 (UTC) From: pgfox To: dev@activemq.apache.org Reply-To: dev@activemq.apache.org References: In-Reply-To: Subject: [GitHub] activemq-artemis issue #1549: ARTEMIS-1433 adding AddressMemoryUsage()/Addre... Content-Type: text/plain Message-Id: <20170922160917.908BBF5818@git1-us-west.apache.org> Date: Fri, 22 Sep 2017 16:09:16 +0000 (UTC) archived-at: Fri, 22 Sep 2017 16:09:21 -0000 Github user pgfox commented on the issue: https://github.com/apache/activemq-artemis/pull/1549 @jbertram I have added getAddressMessageUsage as an attribute; in worst case scenario, if many clients constantly refresh their mBean view, this could result in a high number of globalSizeBytes.get(). If I understand correctly globalSizeBytes is on a critical path for the PostOffice.processRoute(). I don't think this change should impact the critical path or have any side effects . ---