Stepachev Maksim created IGNITE-12062:
-----------------------------------------
Summary: IntMap throws NullPointerException when map is creating
Key: IGNITE-12062
URL:
https://issues.apache.org/jira/browse/IGNITE-12062 Project: Ignite
Issue Type: Bug
Reporter: Stepachev Maksim
Assignee: Stepachev Maksim
The problem located here:
compactThreshold = (int)(COMPACT_LOAD_FACTOR * (entries.length >> 1));
scaleThreshold = (int)(entries.length * SCALE_LOAD_FACTOR);
The fix looks that:
compactThreshold = (int)(COMPACT_LOAD_FACTOR * (entriesSize >> 1));
scaleThreshold = (int)(entriesSize * SCALE_LOAD_FACTOR);
--
This message was sent by Atlassian JIRA
(v7.6.14#76016)