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 .
---