Comment-out TRACK_ALLOCATIONS again. Leave a note about it.

This commit is contained in:
Graydon Hoare 2011-03-02 13:43:33 -08:00
parent 012c2d18d0
commit d33110ebfc

View File

@ -1,7 +1,10 @@
#include "rust_internal.h"
#include "memory_region.h"
#define TRACK_ALLOCATIONS
// NB: please do not commit code with this uncommented. It's
// hugely expensive and should only be used as a last resort.
//
// #define TRACK_ALLOCATIONS
memory_region::memory_region(rust_srv *srv, bool synchronized) :
_srv(srv), _parent(NULL), _live_allocations(0),