You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ignite.apache.org by "Stepachev Maksim (JIRA)" <ji...@apache.org> on 2019/08/13 08:47:00 UTC

[jira] [Commented] (IGNITE-12062) IntMap throws NullPointerException when map is creating

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

Stepachev Maksim commented on IGNITE-12062:
-------------------------------------------

https://github.com/apache/ignite/pull/6769

> 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
(v7.6.14#76016)