Dmitry Werner created IGNITE-29269:
--------------------------------------
Summary: 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
Fix For: 2.20
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)