Details
-
Improvement
-
Status: Closed
-
Major
-
Resolution: Later
-
None
-
None
-
None
-
None
Description
On eviction of a block from the block-cache, instead of waiting for the garbage collecter to reuse its memory, reuse the block right away.
This will require us to keep reference counts on the HFile blocks. Once we have the reference counts in place we can do our own simple blocks-out-of-slab allocation for the block-cache.
This will help us with
- reducing gc pressure, especially in the old generation
- making it possible to have non-java-heap memory backing the HFile blocks