michaelandrepearce commented on a change in pull request #2802: ARTEMIS-2457
implement ring queue
URL: https://github.com/apache/activemq-artemis/pull/2802#discussion_r315894325
##########
File path:
artemis-server/src/main/java/org/apache/activemq/artemis/core/server/impl/QueuePendingMessageMetrics.java
##########
@@ -67,6 +74,7 @@ public void incrementMetrics(final MessageReference
reference) {
public void decrementMetrics(final MessageReference reference) {
long size = -getPersistentSize(reference);
COUNT_UPDATER.decrementAndGet(this);
+ logger.debugf("%s decrement messageCount to %d: %s", this, messageCount,
reference);
Review comment:
can we put inside if debug enabled (as on hot path) so will be removed by
jit if debug isnt on.
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]
With regards,
Apache Git Services