Skip to content

Commit d33110e

Browse files
committed
Comment-out TRACK_ALLOCATIONS again. Leave a note about it.
1 parent 012c2d1 commit d33110e

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

src/rt/memory_region.cpp

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,10 @@
11
#include "rust_internal.h"
22
#include "memory_region.h"
33

4-
#define TRACK_ALLOCATIONS
4+
// NB: please do not commit code with this uncommented. It's
5+
// hugely expensive and should only be used as a last resort.
6+
//
7+
// #define TRACK_ALLOCATIONS
58

69
memory_region::memory_region(rust_srv *srv, bool synchronized) :
710
_srv(srv), _parent(NULL), _live_allocations(0),

0 commit comments

Comments
 (0)