[ 
https://issues.jboss.org/browse/RF-12219?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12693230#comment-12693230
 ] 

Milo van der Zee edited comment on RF-12219 at 5/16/12 7:31 AM:
----------------------------------------------------------------

I found that after every click of the user to another view in my application 
the number of calls to org.richfaces.application.push.impl.SessionImpl.push() 
is increased by one. So after a day of work the number of calls to push is very 
large.
clearBroadcastedMessages() is called correctly and the messagesQueue is cleared 
every couple of pushes.
In a heapDump I see that MessageData nearest GC root is "ConcurrentLinkedQueue 
(head JNI global)". This reaches the MessageData through a line of 'next' 
references.
                
      was (Author: MilovdZee):
    I found that after every click of the user to another view in my 
application the number of calls to 
org.richfaces.application.push.impl.SessionImpl.push() is increased by one. So 
after a day of work the number of calls to push is very large.
clearBroadcastedMessages() is called correctly and the messagesQueue is cleared 
every couple of pushes.
                  
> Push: Test that messages do not become stale in a queue
> -------------------------------------------------------
>
>                 Key: RF-12219
>                 URL: https://issues.jboss.org/browse/RF-12219
>             Project: RichFaces
>          Issue Type: Enhancement
>      Security Level: Public(Everyone can see) 
>          Components: component-push/poll
>    Affects Versions: 4.2.1.Final
>            Reporter: Lukáš Fryč
>            Assignee: Pavol Pitonak
>
> According to the [Forum reference],
> we can have problems with stale messages.
> I would suggest to write tests for following scenarios and check that queue 
> is destroyed properly:
> * view expires
> * client leaves the page with {{a4j:push}} without proper clean up
> * ...
> Let's brainstorm other scenarios.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

       

_______________________________________________
richfaces-issues mailing list
[email protected]
https://lists.jboss.org/mailman/listinfo/richfaces-issues

Reply via email to