[infinispan-issues] [JBoss JIRA] (ISPN-9082) Off Heap maxIdle expiration works like lifespan

William Burns (JIRA) issues at jboss.org
Mon Apr 16 16:12:00 EDT 2018


     [ https://issues.jboss.org/browse/ISPN-9082?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

William Burns updated ISPN-9082:
--------------------------------
    Summary: Off Heap maxIdle expiration works like lifespan  (was: Off Heap doesn't works like lifespan when using maxIdle)


> Off Heap maxIdle expiration works like lifespan
> -----------------------------------------------
>
>                 Key: ISPN-9082
>                 URL: https://issues.jboss.org/browse/ISPN-9082
>             Project: Infinispan
>          Issue Type: Bug
>          Components: Expiration, Off Heap
>    Affects Versions: 9.2.1.Final
>            Reporter: William Burns
>
> Due to the usage of read/write locks Off Heap cannot easily update the last access time of an off heap entry. It would have to release the read lock and try to acquire the write lock to then finally update the last access time of an object. We would also have to guarantee the address pointer hadn't changed between when the read and write lock were obtained, since the value could have changed during that time period.



--
This message was sent by Atlassian JIRA
(v7.5.0#75005)


More information about the infinispan-issues mailing list