[
https://issues.apache.org/jira/browse/IGNITE-26224?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Aleksandr Polovtsev updated IGNITE-26224:
-----------------------------------------
Description:
There are some issues with Tuple-related classes, that lead to a lot of
{{HashMap}} resizings when inserting a lot of data into a cluster, namely:
# {{TupleImpl}} incorrectly pre-allocates a map, without taking the load
factor into account;
# {{TupleMarshallerImpl.ValuesWithStatistics}} uses a default empty map
capacity, but the real capacity is known beforehand.
> Tuple-related improvements
> --------------------------
>
> Key: IGNITE-26224
> URL: https://issues.apache.org/jira/browse/IGNITE-26224
> Project: Ignite
> Issue Type: Improvement
> Reporter: Aleksandr Polovtsev
> Assignee: Aleksandr Polovtsev
> Priority: Major
> Labels: ignite-3
>
> There are some issues with Tuple-related classes, that lead to a lot of
> {{HashMap}} resizings when inserting a lot of data into a cluster, namely:
> # {{TupleImpl}} incorrectly pre-allocates a map, without taking the load
> factor into account;
> # {{TupleMarshallerImpl.ValuesWithStatistics}} uses a default empty map
> capacity, but the real capacity is known beforehand.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)