[ 
https://issues.apache.org/jira/browse/IGNITE-12062?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16912028#comment-16912028
 ] 

Ignite TC Bot commented on IGNITE-12062:
----------------------------------------

{panel:title=Branch: [pull/6769/head] Base: [master] : No blockers 
found!|borderStyle=dashed|borderColor=#ccc|titleBGColor=#D6F7C1}{panel}
[TeamCity *--> Run :: All* 
Results|https://ci.ignite.apache.org/viewLog.html?buildId=4499106&buildTypeId=IgniteTests24Java8_RunAll]

> 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
>            Priority: Major
>          Time Spent: 10m
>  Remaining Estimate: 0h
>
> 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
(v8.3.2#803003)

Reply via email to