server-skynet-source-3rd-je.../jemalloc/include/jemalloc
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
..
internal Fix error detection for ipalloc() when profiling. 2011-03-23 00:37:29 -07:00
jemalloc_defs.h.in Use OSSpinLock*() for locking on OS X. 2011-03-18 19:30:18 -07:00
jemalloc.h.in Fix ALLOCM_LG_ALIGN definition. 2011-01-26 08:24:24 -08:00