Skip to content

Commit 8b4be0a

Browse files
committed
---
yaml --- r: 1487 b: refs/heads/master c: d33110e h: refs/heads/master i: 1485: f399ad2 1483: 2f34e1b 1479: de22f34 1471: ceb7719 v: v3
1 parent a2630c2 commit 8b4be0a

File tree

2 files changed

+5
-2
lines changed

2 files changed

+5
-2
lines changed

[refs]

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
---
2-
refs/heads/master: 012c2d18d04f27ad52322a1a7673a14817c7d291
2+
refs/heads/master: d33110ebfcf7f2a5796d3a4c4f969efbf13e7548

trunk/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)