Back to Hhvm

Allocator with logging

third-party/fb-mysql/8.0.20/extra/duktape/duktape-2.3.0/examples/alloc-logging/README.rst

latest237 B
Original Source

====================== Allocator with logging

Example allocator that writes all memory alloc/realloc/free calls into a log file so that memory usage can replayed later. This is useful to e.g. optimize pool sizes.