You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@qpid.apache.org by "Robbie Gemmell (JIRA)" <ji...@apache.org> on 2011/02/17 13:29:24 UTC
[jira] Created: (QPID-3064) queues will prevent GC of a closed
subscription if it was the last used subscription and no more messages are
enqueued
queues will prevent GC of a closed subscription if it was the last used subscription and no more messages are enqueued
----------------------------------------------------------------------------------------------------------------------
Key: QPID-3064
URL: https://issues.apache.org/jira/browse/QPID-3064
Project: Qpid
Issue Type: Bug
Components: Java Broker
Affects Versions: 0.8, 0.7, 0.6
Reporter: Robbie Gemmell
Fix For: Future
SimpleAMQQueue uses an atomic reference to round robin the subscriptions when attempting to deliver a mesage to a subscription during enqueue operations. This reference will prevent the subscription being Garbage Collected when it is closed if the subscription was the last used and no more messages are enqueued. When unregistering a subscription, this reference should be updated if it points to the closing subscription.
--
This message is automatically generated by JIRA.
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
---------------------------------------------------------------------
Apache Qpid - AMQP Messaging Implementation
Project: http://qpid.apache.org
Use/Interact: mailto:dev-subscribe@qpid.apache.org
[jira] [Assigned] (QPID-3064) queues will prevent GC of a closed
subscription if it was the last used subscription and no more messages are
enqueued
Posted by "Robbie Gemmell (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/QPID-3064?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Robbie Gemmell reassigned QPID-3064:
------------------------------------
Assignee: Keith Wall (was: Robbie Gemmell)
Hi Keith, could you review these changes please?
The 'last used subscription' marker functionality was moved onto the SubscriptionList itself, and if the marked subscription is deleted a dummy node is inserted to allow the real nodes removal.
Thanks,
Robbie.
> queues will prevent GC of a closed subscription if it was the last used subscription and no more messages are enqueued
> ----------------------------------------------------------------------------------------------------------------------
>
> Key: QPID-3064
> URL: https://issues.apache.org/jira/browse/QPID-3064
> Project: Qpid
> Issue Type: Bug
> Components: Java Broker
> Affects Versions: 0.6, 0.7, 0.8, 0.9, 0.10, 0.11, 0.12
> Reporter: Robbie Gemmell
> Assignee: Keith Wall
> Fix For: 0.13
>
>
> SimpleAMQQueue uses an atomic reference to round robin the subscriptions when attempting to deliver a mesage to a subscription during enqueue operations. This reference will prevent the subscription being Garbage Collected when it is closed if the subscription was the last used and no more messages are enqueued. When unregistering a subscription, this reference should be updated if it points to the closing subscription.
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
---------------------------------------------------------------------
Apache Qpid - AMQP Messaging Implementation
Project: http://qpid.apache.org
Use/Interact: mailto:dev-subscribe@qpid.apache.org
[jira] [Resolved] (QPID-3064) queues will prevent GC of a closed
subscription if it was the last used subscription and no more messages are
enqueued
Posted by "Keith Wall (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/QPID-3064?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Keith Wall resolved QPID-3064.
------------------------------
Resolution: Fixed
Reviewed, no comments from me.
> queues will prevent GC of a closed subscription if it was the last used subscription and no more messages are enqueued
> ----------------------------------------------------------------------------------------------------------------------
>
> Key: QPID-3064
> URL: https://issues.apache.org/jira/browse/QPID-3064
> Project: Qpid
> Issue Type: Bug
> Components: Java Broker
> Affects Versions: 0.6, 0.7, 0.8, 0.9, 0.10, 0.11, 0.12
> Reporter: Robbie Gemmell
> Assignee: Keith Wall
> Fix For: 0.13
>
>
> SimpleAMQQueue uses an atomic reference to round robin the subscriptions when attempting to deliver a mesage to a subscription during enqueue operations. This reference will prevent the subscription being Garbage Collected when it is closed if the subscription was the last used and no more messages are enqueued. When unregistering a subscription, this reference should be updated if it points to the closing subscription.
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
---------------------------------------------------------------------
Apache Qpid - AMQP Messaging Implementation
Project: http://qpid.apache.org
Use/Interact: mailto:dev-subscribe@qpid.apache.org
[jira] [Updated] (QPID-3064) queues will prevent GC of a closed
subscription if it was the last used subscription and no more messages are
enqueued
Posted by "Robbie Gemmell (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/QPID-3064?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Robbie Gemmell updated QPID-3064:
---------------------------------
Status: Ready To Review (was: In Progress)
> queues will prevent GC of a closed subscription if it was the last used subscription and no more messages are enqueued
> ----------------------------------------------------------------------------------------------------------------------
>
> Key: QPID-3064
> URL: https://issues.apache.org/jira/browse/QPID-3064
> Project: Qpid
> Issue Type: Bug
> Components: Java Broker
> Affects Versions: 0.6, 0.7, 0.8, 0.9, 0.10, 0.11, 0.12
> Reporter: Robbie Gemmell
> Assignee: Robbie Gemmell
> Fix For: 0.13
>
>
> SimpleAMQQueue uses an atomic reference to round robin the subscriptions when attempting to deliver a mesage to a subscription during enqueue operations. This reference will prevent the subscription being Garbage Collected when it is closed if the subscription was the last used and no more messages are enqueued. When unregistering a subscription, this reference should be updated if it points to the closing subscription.
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
---------------------------------------------------------------------
Apache Qpid - AMQP Messaging Implementation
Project: http://qpid.apache.org
Use/Interact: mailto:dev-subscribe@qpid.apache.org
[jira] [Updated] (QPID-3064) queues will prevent GC of a closed
subscription if it was the last used subscription and no more messages are
enqueued
Posted by "Robbie Gemmell (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/QPID-3064?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Robbie Gemmell updated QPID-3064:
---------------------------------
Affects Version/s: 0.12
0.11
0.9
0.10
Fix Version/s: (was: Future)
0.13
> queues will prevent GC of a closed subscription if it was the last used subscription and no more messages are enqueued
> ----------------------------------------------------------------------------------------------------------------------
>
> Key: QPID-3064
> URL: https://issues.apache.org/jira/browse/QPID-3064
> Project: Qpid
> Issue Type: Bug
> Components: Java Broker
> Affects Versions: 0.6, 0.7, 0.8, 0.9, 0.10, 0.11, 0.12
> Reporter: Robbie Gemmell
> Assignee: Robbie Gemmell
> Fix For: 0.13
>
>
> SimpleAMQQueue uses an atomic reference to round robin the subscriptions when attempting to deliver a mesage to a subscription during enqueue operations. This reference will prevent the subscription being Garbage Collected when it is closed if the subscription was the last used and no more messages are enqueued. When unregistering a subscription, this reference should be updated if it points to the closing subscription.
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
---------------------------------------------------------------------
Apache Qpid - AMQP Messaging Implementation
Project: http://qpid.apache.org
Use/Interact: mailto:dev-subscribe@qpid.apache.org
[jira] [Assigned] (QPID-3064) queues will prevent GC of a closed
subscription if it was the last used subscription and no more messages are
enqueued
Posted by "Robbie Gemmell (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/QPID-3064?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Robbie Gemmell reassigned QPID-3064:
------------------------------------
Assignee: Robbie Gemmell
> queues will prevent GC of a closed subscription if it was the last used subscription and no more messages are enqueued
> ----------------------------------------------------------------------------------------------------------------------
>
> Key: QPID-3064
> URL: https://issues.apache.org/jira/browse/QPID-3064
> Project: Qpid
> Issue Type: Bug
> Components: Java Broker
> Affects Versions: 0.6, 0.7, 0.8, 0.9, 0.10, 0.11, 0.12
> Reporter: Robbie Gemmell
> Assignee: Robbie Gemmell
> Fix For: 0.13
>
>
> SimpleAMQQueue uses an atomic reference to round robin the subscriptions when attempting to deliver a mesage to a subscription during enqueue operations. This reference will prevent the subscription being Garbage Collected when it is closed if the subscription was the last used and no more messages are enqueued. When unregistering a subscription, this reference should be updated if it points to the closing subscription.
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
---------------------------------------------------------------------
Apache Qpid - AMQP Messaging Implementation
Project: http://qpid.apache.org
Use/Interact: mailto:dev-subscribe@qpid.apache.org