[jboss-jira] [JBoss JIRA] Commented: (JBAS-6677) Cleanup inactive timer service instances for Entity Beans

Galder Zamarreño (JIRA) jira-events at lists.jboss.org
Thu Apr 9 03:32:22 EDT 2009


    [ https://jira.jboss.org/jira/browse/JBAS-6677?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12461395#action_12461395 ] 

Galder Zamarreño commented on JBAS-6677:
----------------------------------------

To avoid duplicate code in instance caches, inactive timers will now be
removed after cancellation or expiration if no more timers are left.

> Cleanup inactive timer service instances for Entity Beans
> ---------------------------------------------------------
>
>                 Key: JBAS-6677
>                 URL: https://jira.jboss.org/jira/browse/JBAS-6677
>             Project: JBoss Application Server
>          Issue Type: Feature Request
>      Security Level: Public(Everyone can see) 
>          Components: EJB2
>            Reporter: Galder Zamarreño
>            Assignee: Galder Zamarreño
>             Fix For: JBossAS-5.1.0.CR1, JBossAS-6.0.0.Alpha1
>
>
> Implement a cleanup operation that removes TimedObjectId/TimerServiceImpl pairings from 
> EJBTimerServiceImpl.timerServiceMap when a timer entity bean has no active timers at passivation time. 
> This should help avoid memory leaks in use cases like JBPM where entities are removed via 
> Hibernate rather than doing entity.remove().

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

       




More information about the jboss-jira mailing list