[infinispan-issues] [JBoss JIRA] (ISPN-8655) Off Heap Size Estimation rounds improperly
Tristan Tarrant (JIRA)
issues at jboss.org
Tue Jan 16 00:52:00 EST 2018
[ https://issues.jboss.org/browse/ISPN-8655?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Tristan Tarrant updated ISPN-8655:
----------------------------------
Fix Version/s: 9.1.5.Final
> Off Heap Size Estimation rounds improperly
> ------------------------------------------
>
> Key: ISPN-8655
> URL: https://issues.jboss.org/browse/ISPN-8655
> Project: Infinispan
> Issue Type: Bug
> Components: Off Heap
> Affects Versions: 9.1.4.Final
> Reporter: William Burns
> Assignee: William Burns
> Fix For: 9.2.0.CR1, 9.2.0.Final, 9.1.5.Final
>
>
> UnpooledOffHeapMemoryAllocator.estimateSizeOverhead was supposed to round up to the nearest 16. Unfortunately it is rounding improperly. Instead of adding 15 and modding by 15 it is instead adding 15 and modding by hex 15 (or 21 in base 10). This causes it to not work in many cases.
> https://github.com/infinispan/infinispan/blob/master/core/src/main/java/org/infinispan/container/offheap/UnpooledOffHeapMemoryAllocator.java#L75
--
This message was sent by Atlassian JIRA
(v7.5.0#75005)
More information about the infinispan-issues
mailing list