- Oct 21, 2013
-
-
Jason Evans authored
-
Jason Evans authored
-
Jason Evans authored
Fix a compiler warning in chunk_record() that was due to reading node rather than xnode. In practice this did not cause any correctness issue, but dataflow analysis in some compilers cannot tell that node and xnode are always equal in cases that the read is reached.
-
- Oct 20, 2013
-
-
Jason Evans authored
Fix a race condition in the "arenas.extend" mallctl that could lead to internal data structure corruption. The race could be hit if one thread called the "arenas.extend" mallctl while another thread concurrently triggered initialization of one of the lazily created arenas.
-
Jason Evans authored
-
Jason Evans authored
Fix dangerous casts of int variables to pointers in thread join function calls. On LP64 systems, int and pointers are different sizes, so writes can corrupt memory.
-
Jason Evans authored
Fix a Valgrind integration flaw that caused Valgrind warnings about reads of uninitialized memory in internal zero-initialized data structures (relevant to tcache and prof code).
-
Jason Evans authored
-
Jason Evans authored
Fix a Valgrind integration flaw that caused Valgrind warnings about reads of uninitialized memory in arena chunk headers.
-
Jason Evans authored
Add the JEMALLOC_ALWAYS_INLINE_C macro and use it for always-inlined functions declared in .c files. This fixes a function attribute inconsistency for debug builds that resulted in (harmless) compiler warnings about functions not being inlinable. Reported by Ricardo Nabinger Sanchez.
-
Jason Evans authored
Reported by Ricardo Nabinger Sanchez.
-
- Oct 14, 2013
-
-
Alexandre Perrin authored
-
- Oct 03, 2013
-
-
Jason Evans authored
-
- Aug 20, 2013
-
-
Jason Evans authored
Introduce AROUT to control whether there is space between ARFLAGS and $@. This regression was introduced by ad505e0e. Reported by Mike Hommey.
-
- Aug 19, 2013
-
-
Jory A. Pratt authored
-
- Jun 03, 2013
-
-
Jason Evans authored
-
Jason Evans authored
-
- May 07, 2013
-
-
Riku Voipio authored
Signed-off-by: Riku Voipio <riku.voipio@linaro.org>
-
- Apr 23, 2013
-
-
Jason Evans authored
Fix chunk_record() to unlock chunks_mtx before deallocating a base node, in order to avoid potential deadlock. This fix addresses the second of two similar bugs.
-
- Apr 17, 2013
-
-
Jason Evans authored
Fix chunk_record() to unlock chunks_mtx before deallocating a base node, in order to avoid potential deadlock. Reported by Tudor Bosman.
-
- Mar 20, 2013
-
-
Jason Evans authored
Clarify that malloc_conf is intended only for compile-time configuration, since jemalloc may be initialized before main() is entered.
-
- Mar 06, 2013
-
-
Jason Evans authored
-
Jason Evans authored
-
Jason Evans authored
Add no-op bodies to VALGRIND_*() macro stubs so that they can be used in contexts like the following without generating a compiler warning about the 'if' statement having an empty body: if (config_valgrind) VALGRIND_MAKE_MEM_UNDEFINED(ret, size);
-
Mike Frysinger authored
Checking for __s390x__ means you work on s390x, but not s390 (32bit) systems. So use __s390__ which works for both. With this, `make check` passes on s390. Signed-off-by: Mike Frysinger <vapier@gentoo.org>
-
- Feb 06, 2013
-
-
Jason Evans authored
Fix a locking order bug that could cause deadlock during fork if heap profiling were enabled.
-
- Feb 01, 2013
-
-
Jason Evans authored
Fix Valgrind integration to annotate all internally allocated memory in a way that keeps Valgrind happy about internal data structure access.
-
Jason Evans authored
Fix a chunk recycling bug that could cause the allocator to lose track of whether a chunk was zeroed. On FreeBSD, NetBSD, and OS X, it could cause corruption if allocating via sbrk(2) (unlikely unless running with the "dss:primary" option specified). This was completely harmless on Linux unless using mlockall(2) (and unlikely even then, unless the --disable-munmap configure option or the "dss:primary" option was specified). This regression was introduced in 3.1.0 by the mlockall(2)/madvise(2) interaction fix.
-
- Jan 31, 2013
-
-
Jason Evans authored
Internal reallocation of the quarantined object array leaked the old array. Reallocation failure for internal reallocation of the quarantined object array (very unlikely) resulted in memory corruption.
-
Jason Evans authored
Avoid writing to uninitialized TLS as a side effect of deallocation. Initializing TLS during deallocation is unsafe because it is possible that a thread never did any allocation, and that TLS has already been deallocated by the threads library, resulting in write-after-free corruption. These fixes affect prof_tdata and quarantine; all other uses of TLS are already safe, whether intentionally (as for tcache) or unintentionally (as for arenas).
-
- Jan 23, 2013
-
-
Jason Evans authored
-
Jason Evans authored
-
Jason Evans authored
Specify both inline and __attribute__((always_inline)), in order to avoid warnings when using newer versions of gcc.
-
Jason Evans authored
Revert refactoring of opt_abort and opt_junk declarations. clang accepts the config_*-based declarations (and generates correct code), but gcc complains with: error: initializer element is not constant
-
Jason Evans authored
-
- Jan 22, 2013
-
-
Jason Evans authored
Submitted by Frederik Deweerdt.
-
Jason Evans authored
Convert a couple of stragglers from JEMALLOC_* to use config_*.
-
Jason Evans authored
Update hash from MurmurHash2 to MurmurHash3, primarily because the latter generates 128 bits in a single call for no extra cost, which simplifies integration with cuckoo hashing.
-
Jason Evans authored
Fix AC_PATH_PROG() calls to specify 'false' as the default, so that if the configure script fails to find a program, the false program is instead called, and an error occurs. Prior to this fix, if xsltproc could not be found, make would not report an error due to the leading -o in the xsltproc invocation. Reported by David Reiss.
-
Jason Evans authored
Add JEMALLOC_ALWAYS_INLINE and use it to guarantee that the entire fast paths of the primary allocation/deallocation functions are inlined.
-