Accessing Allocated Memory As noted above, we DID want to access allocated memory; for our test, we did it as writing the whole block right after the allocation (using memset()) – and reading it right before deallocation. It is a bare minimum of the accesses we could imagine for the real-world (hey, if we did want to allocate, probably we did want to write something there?). Compensation Mechanism
![Testing Memory Allocators: ptmalloc2 vs tcmalloc vs hoard vs jemalloc While Trying to Simulate Real-World Loads - IT Hare on Soft.ware](https://cdn-ak-scissors.b.st-hatena.com/image/square/9206d7350a0ec10a70ba6bf9042077a530160efc/height=288;version=1;width=512/http%3A%2F%2Fithare.com%2Fwp-content%2Fuploads%2Fmalloc-cpu.png)