Add free-mem admin command handler for jemalloc.
commit262e9903661ea4a448f6d5e6684f7a4da3301a82
authorje <je@facebook.com>
Tue, 26 Oct 2010 03:53:36 +0000 (25 20:53 -0700)
committermacvicar <macvicar@facebook.com>
Thu, 28 Oct 2010 21:19:37 +0000 (28 14:19 -0700)
treea6ac1ce8cad54941b57649e7510ac94aab79c082
parent9bc5c82f16c4697bb9eae4b8d8c8302204000e6b
Add free-mem admin command handler for jemalloc.

Summary: Add a free-mem admin command handler for jemalloc that behaves
         just like the one for tcmalloc.

         Remove the size limit for the jemalloc-stats-print admin port
         results, and reduce the algorithmic complexity of the buffer
         handling.

Test Plan: Request free-mem and jemalloc-stats-print from the admin port.

DiffCamp Revision: 174801
Reviewed By: ps
CC: ps, hphp-diffs@lists
Revert Plan:
OK
src/runtime/base/server/admin_request_handler.cpp