[Performance] In PoolingFilter Event objects are created needlessley
--------------------------------------------------------------------

                 Key: QPID-252
                 URL: https://issues.apache.org/jira/browse/QPID-252
             Project: Qpid
          Issue Type: Bug
          Components: Java Common
            Reporter: Rob Godfrey
            Priority: Minor


In org.apache.qpid.pool.PoolingFilter an Event object is created for every io 
event that occurs.  The event type is then compared against a set of event 
types (which in practice only ever has one entry) and then the event is either 
processed synchronously or asynchronously.

Due to the huge numbers of events, the creation and processing of these objects 
creates a noticeable overhead.

Patch will follow.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
https://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to