haiku/src/system
Michael Lotz 081ff2db28 * Add heap_debug_set_memory_reuse() which allows to disable memory reuse,
keeping all returned heap memory in the 0xdeadbeef state (including the
  first sizeof(void *) bytes otherwise for the free list). While wasting a lot
  of memory it allows you to rely on 0xdeadbeef being always present as no
  future allocation will reuse the freed memory block.
* Also added heap_debug_malloc_with_guard_page() which is intended to allocate
  a memory block so it is aligned that the start of invalid memory past the
  allocation is in an unmapped guard page. However the kernel backend that would
  guarantee this is not yet implemented, so right now this works only by chance
  if no other area happens to be allocated exactly past the created one. With a
  very specifc suspicion you can put that one allocation you get to good use
  though. It causes a crash when accessing memory past the allocation size so
  you actually get a backtrace from where the access happened instead of only
  after freeing/wall checking.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@35478 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-02-15 20:28:15 +00:00
..
boot Patch by Grey which fixes "auto-enabling" of the boot loader screen debug 2010-02-09 19:47:23 +00:00
glue Should have been part of r30818. The version "glue". 2009-05-21 15:05:45 +00:00
kernel X86VMTranslationMap::UnmapArea(): Don't change the page state before 2010-02-15 19:36:17 +00:00
ldscripts Patch by Andreas Faerber: 2010-01-02 10:21:09 +00:00
libroot * Add heap_debug_set_memory_reuse() which allows to disable memory reuse, 2010-02-15 20:28:15 +00:00
runtime_loader Since we potentially split segments into different regions, we need to 2010-02-04 19:01:11 +00:00
Jamfile Reorganized building of kernel, boot loader, and libroot. 2005-11-27 00:27:19 +00:00