joyent/node — pull request #6323 by trevnorris (2013-10-09 18:47:23+00:00)
Title: smalloc: track active number/size of smallocs

Two new APIs are introduced:

smalloc.count(): The number of object that are alive, that have been
allocated through smalloc.

smalloc.size(): The total byte size of live allocated object.

Still needs some cleanup, but basic idea is there.