3 ms·
Maybe I'm mistaken about the code, but it doesn't look like HugeCollections is storing the key off heap? Example: Looking at the containsKey method on line 420
by theocs 12y ago
Maybe I'm mistaken about the code, but it doesn't look like HugeCollections is storing the key off heap?
Example: Looking at the containsKey method on line 420 here: https://github.com/OpenHFT/HugeCollections/blob/master/collections/src/main/java/net/openhft/collections/HugeHashMap.java https://github.com/OpenHFT/HugeCollections/blob/master/colle...
A return map.containsKey(key2) is used, with that map being declared as
final Map<K, DirectStore> map = new HashMap<K, DirectStore>();
on line 232. That makes me believe maybe only map values are kept off-heap?