carrotdata / carrot-cache

In-Out-Process Java cache (L1/L2 off-heap, scalable, ZeroGC) with full SSD support
Apache License 2.0
3 stars 0 forks source link

[LATENCY] MemoryBufferPool must return uninitialized buffer when is empty #356

Closed VladRodionov closed 6 months ago

VladRodionov commented 6 months ago

Currently it does mallocZeroed which is time consuming. To reduce latency if pool is empty do not zero a newly allocated memory buffer