Go to file
Jason Evans 38d9210c46 Fix error detection for ipalloc() when profiling.
sa2u() returns 0 on overflow, but the profiling code was blindly calling
sa2u() and allowing the error to silently propagate, ultimately ending
in a later assertion failure.  Refactor all ipalloc() callers to call
sa2u(), check for overflow before calling ipalloc(), and pass usize
rather than size.  This allows ipalloc() to avoid calling sa2u() in the
common case.
2011-03-23 00:37:29 -07:00
jemalloc Fix error detection for ipalloc() when profiling. 2011-03-23 00:37:29 -07:00
.gitignore Use mremap(2) for huge realloc(). 2010-11-30 16:50:58 -08:00