[
https://issues.jboss.org/browse/ISPN-8655?page=com.atlassian.jira.plugin....
]
William Burns updated ISPN-8655:
--------------------------------
Summary: Off Heap Size Estimation rounds improperly (was: Off Heap Size Estimataion
rounds improperly)
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.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/o...
--
This message was sent by Atlassian JIRA
(v7.5.0#75005)