[
https://issues.apache.org/jira/browse/IGNITE-29269?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Aleksandr Nikolaev updated IGNITE-29269:
----------------------------------------
Fix Version/s: 2.19
(was: 2.20)
> Use a single ConsistentIdMapper instance in IgniteTxManager
> -----------------------------------------------------------
>
> Key: IGNITE-29269
> URL: https://issues.apache.org/jira/browse/IGNITE-29269
> Project: Ignite
> Issue Type: Improvement
> Reporter: Dmitry Werner
> Assignee: Dmitry Werner
> Priority: Minor
> Fix For: 2.19
>
> Time Spent: 0.5h
> Remaining Estimate: 0h
>
> IgniteTxAdapter creates a new ConsistentIdMapper for every transaction object
> on every node, although the mapper is stateless and is used only by
> IgniteTxManager#logTxRecord.
> Keep one instance in IgniteTxManager and remove the field from
> IgniteTxAdapter. This avoids one allocation per transaction object (16 bytes
> with compressed oops).
--
This message was sent by Atlassian Jira
(v10.3.26#10030026)