]
Dan Berindei commented on ISPN-8422:
------------------------------------
-1 to use VInt. The number of locks is fixed, so we can decide what number of bytes to use
on startup.
Investigate removal of hashCode from memory block and rely solely on
equals
---------------------------------------------------------------------------
Key: ISPN-8422
URL:
https://issues.jboss.org/browse/ISPN-8422
Project: Infinispan
Issue Type: Sub-task
Reporter: William Burns
Assignee: William Burns
Fix For: 9.2.0.Beta1
We could remove the hashCode 4 bytes taking up space in the allocated memory block.
Currently this is only used for eviction, maybe instead we could write a VInt that says
which offset of locks to use. In majority of cases <= 64 cores this will result in
saving 3 bytes per entry.