about summary refs log tree commit diff
path: root/src/rt/memory_region.h
AgeCommit message (Collapse)AuthorLines
2011-12-14export upcall_clone_type_descNiko Matsakis-1/+1
2011-12-12fix track alloc codeNiko Matsakis-1/+0
2011-11-08rewrite so that memory allocations have 0 overhead by defaultNiko Matsakis-2/+15
2011-11-08Correct the arithmetic on 64-bit builds.Niko Matsakis-1/+1
2011-09-11Remove hack_allow_leaksBrian Anderson-5/+0
Happy to close the loop on this one. Issue #236
2011-09-06rt: Implement poison-on-free, for debugging memory issuesPatrick Walton-1/+3
2011-08-15Fixed memory accounting and task stack creation bugs.Eric Holk-1/+4
2011-08-08rt: Align mallocs to 16 byte boundariesPatrick Walton-0/+1
2011-07-21Lots of work on memory tracking and channels.Eric Holk-7/+18
We're trying to get closer to doing correct move semantics for channel operations. This involves a lot of cleanup (such as removing the unused sched parameter from rust_vec constructor) and making circular_buffer kernel_owned. Added tagging for memory allocations. This means we give a string tag to everything we allocate. If we leak something and TRACK_ALLOCATIONS is enabled, then it's much easier now to tell exactly what is leaking.
2011-07-20Add a huge hack to allow the test runner to continue if a single task leaksBrian Anderson-0/+5
This is just until unwinding works. Adds a flag to the runtime to turn the memory leak checks on task destruction into warnings instead of fatal errors. I am so sorry. Issue #428
2011-07-13Fix compile-command lines in rt.Graydon Hoare-1/+1
2011-07-07Work on debugging race conditions.Eric Holk-0/+3
Ports and channels have been moved to the kernel pool, since they've been known to outlive their associated task. This probably isn't the right thing to do, the life cycle needs fixed instead. Some refactorying in memory_region.cpp. Added a helper function to increment and decrement the allocation counter. This makes it easier to switch between atomic and non-atomic increments. Using atomic increments for now, although this still does not fix the problem.
2011-07-07Removing the synchronized memory region from tasks.Eric Holk-3/+0
2011-06-27A little tidying in rt.Graydon Hoare-1/+1
2010-11-30Make the ugly detailed leak-spray on rustc failures optional.Graydon Hoare-0/+1
2010-09-08Tidy up the sync dir, remove dead or mis-designed code in favour of OS ↵Graydon Hoare-2/+13
primitives, switch rust_kernel to use a lock/signal pair and wait rather than spin.
2010-09-07Added "new" inline operators to memory regions.Michael Bebenita-0/+8
2010-08-17Lots of changes around memory managment in the Runtime. Added memory regions ↵Michael Bebenita-0/+37
and fixed race caused by calling rust_srv::malloc() from multiple threads when sending messages.