]
Will Burns updated ISPN-10574:
------------------------------
Status: Pull Request Sent (was: Open)
Git Pull Request:
Off Heap iteration performance improvements
-------------------------------------------
Key: ISPN-10574
URL:
https://issues.jboss.org/browse/ISPN-10574
Project: Infinispan
Issue Type: Enhancement
Components: Off Heap
Affects Versions: 10.0.0.CR1
Reporter: Will Burns
Assignee: Will Burns
Priority: Major
Fix For: 10.0.0.Final
When testing out some things it was found that an off heap cache with a single entry
compared to an object one takes significantly longer for state transfer. Off Heap can be
improved to make iteration faster and thus improve things like state transfer.
# Off Heap entries are stored using modulus for locks. This causes iteration to not
access entries sequentially as well as having to acquire the same lock many times over.
# Off Heap should optimize code paths that can be short circuited (ie. don't create
stream if size is 0)