]
William Burns updated ISPN-8655:
--------------------------------
Status: Pull Request Sent (was: Coding In Progress)
Git Pull Request:
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...