Details
-
Improvement
-
Status: Closed
-
Major
-
Resolution: Won't Fix
-
0.99.0
-
None
-
None
Description
By default Memstore uses MSLAB. For each of the Cell added to memstore, we will allocate area in MSLAB and return the area in BR wrapper. So each time a new BR object is created. Instead of this we can have ThreadLocal level BR instance and each time when allocate() API return the BR, we can set the byte[], offset, length on this ThreadLocal level BR instance. So totally only those many objects as the threads count (max handler count)
Attachments
Attachments
Issue Links
- is related to
-
HBASE-15512 Avoid cell allocation on Store.add(Cell)
- Closed