[infinispan-issues] [JBoss JIRA] (ISPN-5522) LIRS BoundedConcurrentHashMapv8 eviction for tree bin missing check
Galder Zamarreño (JIRA)
issues at jboss.org
Tue Jun 9 09:30:03 EDT 2015
[ https://issues.jboss.org/browse/ISPN-5522?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Galder Zamarreño updated ISPN-5522:
-----------------------------------
Status: Resolved (was: Pull Request Sent)
Fix Version/s: 8.0.0.Final
Resolution: Done
> LIRS BoundedConcurrentHashMapv8 eviction for tree bin missing check
> -------------------------------------------------------------------
>
> Key: ISPN-5522
> URL: https://issues.jboss.org/browse/ISPN-5522
> Project: Infinispan
> Issue Type: Bug
> Components: Eviction
> Affects Versions: 7.2.2.Final
> Reporter: William Burns
> Assignee: William Burns
> Fix For: 8.0.0.Alpha2, 7.2.3.Final, 8.0.0.Final
>
>
> This was discovered at https://developer.jboss.org/message/932819?et=watches.email.thread
> The else if branch when a TreeBin is in place is missing a check to make sure eviction removal is only done if the value is non null.
> This line needs a {code} if (pv != null) {code} check around this [line|https://github.com/infinispan/infinispan/blob/40c2050c233c6fbfc382bd4208dbfdf1a6a9a0a4/commons/src/main/java/org/infinispan/commons/util/concurrent/jdk8backported/BoundedEquivalentConcurrentHashMapV8.java#L2619]
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)
More information about the infinispan-issues
mailing list