activemq-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From michaelandrepearce <>
Subject [GitHub] activemq-artemis pull request #1496: ARTEMIS-1379 MessagesAdded & MessagesAc...
Date Wed, 30 Aug 2017 04:13:10 GMT
Github user michaelandrepearce commented on a diff in the pull request:
    --- Diff: artemis-server/src/main/java/org/apache/activemq/artemis/core/server/impl/
    @@ -177,9 +177,9 @@
        private final ScheduledDeliveryHandler scheduledDeliveryHandler;
    -   private long messagesAdded;
    +   private AtomicLong messagesAdded = new AtomicLong(0);
    --- End diff --
    To be more memory friendly where lots of queues can the long be volatile and then use
a AtomicLongFieldUpdater to safely update.

If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at or file a JIRA ticket
with INFRA.

View raw message