~dbpercona/galera/Bug1348714

Viewing all changes in revision 181.

  • Committer: Alexey Yurchenko
  • Date: 2014-04-18 03:31:31 UTC
  • Revision ID: alexey.yurchenko@codership.com-20140418033131-bkumrjgpseh23qe9
General refactoring:
1. TrxHandle objects are placement-constructed in preallocated buffers from memory pools.
2. There are two distinct memory pools for master and slave handles as they differ in size.
3. Master TrxHandle appends WriteSetOut object placement-constructed directly next to the main TrxHandle object.
This is supposed to reduce dynamic allocator contention, generally make TrxHandle construction cheaper, and improve WriteSetOut management, and most importanly get rid of abominable TrxHandleWithStore hack.
Synced with SVN r3539

expand all expand all

Show diffs side-by-side

added added

removed removed

Lines of Context: