[jboss-jira] [JBoss JIRA] Commented: (JBAS-2695) LRUStatefulContextCachePolicy implementation of maxBeanLife removal is flawed

Ben Wang (JIRA) jira-events at jboss.com
Sat Jul 15 00:25:11 EDT 2006


    [ http://jira.jboss.com/jira/browse/JBAS-2695?page=comments#action_12339639 ] 
            
Ben Wang commented on JBAS-2695:
--------------------------------

Scott, what do you think? Is it relevant anymore? I'd prefer not to spend time on this since I don't this is a big deal, per se. :-) But if it is, I can do it.

> LRUStatefulContextCachePolicy implementation of maxBeanLife removal is flawed
> -----------------------------------------------------------------------------
>
>                 Key: JBAS-2695
>                 URL: http://jira.jboss.com/jira/browse/JBAS-2695
>             Project: JBoss Application Server
>          Issue Type: Bug
>      Security Level: Public(Everyone can see) 
>          Components: EJB2
>    Affects Versions:  JBossAS-3.2.8RC1, JBossAS-4.0.3 SP1
>            Reporter: Scott M Stark
>         Assigned To: Ben Wang
>            Priority: Critical
>             Fix For: JBossAS-4.0.5.CR1
>
>
> The RemoverTask of the org.jboss.ejb.plugins.LRUStatefulContextCachePolicy performs removal of passivated beans based on a maxBeanLife - maxBeanAge diff. This is invalid for beans passivated due to size. The calculation should be maxBeanLife - (the per bean instance time of inactivity). The reason is a bean may be passivated very quickly due to cache size constraints and  if the maxBeanLife - maxBeanAge == 0, just a quickly thrown away.

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

        



More information about the jboss-jira mailing list