activemq-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Kevin Burton (JIRA)" <j...@apache.org>
Subject [jira] [Created] (AMQ-5610) Queue GC takes 100ms per queue when advisory support enabled
Date Mon, 23 Feb 2015 19:53:11 GMT
Kevin Burton created AMQ-5610:
---------------------------------

             Summary: Queue GC takes 100ms per queue when advisory support enabled
                 Key: AMQ-5610
                 URL: https://issues.apache.org/jira/browse/AMQ-5610
             Project: ActiveMQ
          Issue Type: Bug
            Reporter: Kevin Burton


When advisory support is enabled, queue GC, takes 10-100x longer per queue when running large
numbers of queues.

Internally, my JProfiler runs show that this is due to excessive remove() on CopyOnWriteArrayList
and Timer.stop() during removeDestination.

Here's a screenshot of the profile.

http://i.imgur.com/I1jesZz.jpg

Perhaps this can be rewritten to use a concurrent hashmap or other data structure which doesn't
require a full copy.  

This would speed things up dramatically.  



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message