ignite-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Stepachev Maksim (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (IGNITE-12062) IntMap throws NullPointerException when map is creating
Date Tue, 13 Aug 2019 08:47:00 GMT

    [ 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)

Mime
View raw message