- May 07, 2016
-
-
Jason Evans authored
-
- May 04, 2016
-
-
Jason Evans authored
-
Jason Evans authored
-
- Mar 08, 2016
-
-
Jason Evans authored
-
- Feb 28, 2016
-
-
Jason Evans authored
-
Jason Evans authored
-
- Feb 27, 2016
-
-
Jason Evans authored
-
- Oct 24, 2015
-
-
Jason Evans authored
-
- Sep 25, 2015
-
-
Jason Evans authored
Fix xallocx(..., MALLOCX_ZERO to zero the last full trailing page of large allocations that have been randomly assigned an offset of 0 when --enable-cache-oblivious configure option is enabled. This addresses a special case missed in d260f442 (Fix xallocx(..., MALLOCX_ZERO) bugs.).
-
Jason Evans authored
-
Jason Evans authored
Work around a potentially bad thread-specific data initialization interaction with NPTL (glibc's pthreads implementation). This resolves #283.
-
Jason Evans authored
Zero all trailing bytes of large allocations when --enable-cache-oblivious configure option is enabled. This regression was introduced by 8a03cf03 (Implement cache index randomization for large allocations.). Zero trailing bytes of huge allocations when resizing from/to a size class that is not a multiple of the chunk size.
-
- Sep 22, 2015
-
-
Jason Evans authored
Fix prof_tctx_dump_iter() to filter out nodes that were created after heap profile dumping started. Prior to this fix, spurious entries with arbitrary object/byte counts could appear in heap profiles, which resulted in jeprof inaccuracies or failures.
-
- Sep 21, 2015
-
-
Jason Evans authored
-
- Sep 17, 2015
-
-
Jason Evans authored
Fix prof_alloc_rollback() to read tdata from thread-specific data rather than dereferencing a potentially invalid tctx.
-
Jason Evans authored
Fix irallocx_prof_sample() to always allocate large regions, even when alignment is non-zero.
-
Jason Evans authored
Fix ixallocx_prof_sample() to never modify nor create sampled small allocations. xallocx() is in general incapable of moving small allocations, so this fix removes buggy code without loss of generality.
-
- Sep 16, 2015
-
-
Jason Evans authored
-
- Sep 15, 2015
-
-
Jason Evans authored
-
Jason Evans authored
Fix prof_realloc() to call prof_free_sampled_object() after calling prof_malloc_sample_object(). Prior to this fix, if tctx and old_tctx were the same, the tctx could have been prematurely destroyed.
-
Jason Evans authored
Fix ixallocx_prof() to pass usize_max and zero to ixallocx_prof_sample() in the correct order.
-
Jason Evans authored
Make one call to prof_active_get_unlocked() per allocation event, and use the result throughout the relevant functions that handle an allocation event. Also add a missing check in prof_realloc(). These fixes protect allocation events against concurrent prof_active changes.
-
Jason Evans authored
-
- Sep 12, 2015
-
-
Jason Evans authored
Fix xallocx() bugs related to the 'extra' parameter when specified as non-zero.
-
- Sep 10, 2015
-
-
Jason Evans authored
Fix heap profiling to distinguish among otherwise identical sample sites with interposed resets (triggered via the "prof.reset" mallctl). This bug could cause data structure corruption that would most likely result in a segfault.
-
- Sep 02, 2015
-
-
Jason Evans authored
Fix TLS configuration such that it is enabled by default for platforms on which it works correctly. This regression was introduced by ac5db020 (Make --enable-tls and --enable-lazy-lock take precedence over configure.ac-hardcoded defaults).
-
- Aug 28, 2015
-
-
Mike Hommey authored
Fix chunk purge hook calls for in-place huge shrinking reallocation to specify the old chunk size rather than the new chunk size. This bug caused no correctness issues for the default chunk purge function, but was visible to custom functions set via the "arena.<i>.chunk_hooks" mallctl. This resolves #264.
-
Jason Evans authored
Fix arenas_cache_cleanup() and arena_get_hard() to handle allocation/deallocation within the application's thread-specific data cleanup functions even after arenas_cache is torn down. This is a more general fix that complements 45e9f66c (Fix arenas_cache_cleanup().).
-
- Aug 26, 2015
-
-
Jason Evans authored
Add JEMALLOC_CXX_THROW to the memalign() function prototype, in order to match glibc and avoid compilation errors when including both jemalloc/jemalloc.h and malloc.h in C++ code. This change was unintentionally omitted from ae93d6bf (Avoid function prototype incompatibilities.).
-
- Aug 21, 2015
-
-
Christopher Ferris authored
Fix arenas_cache_cleanup() to handle allocation/deallocation within the application's thread-specific data cleanup functions even after arenas_cache is torn down.
-
- Aug 20, 2015
-
-
Jason Evans authored
This resolves #256.
-
- Aug 19, 2015
-
-
Jason Evans authored
Don't bitshift by negative amounts when encoding/decoding run sizes in chunk header maps. This affected systems with page sizes greater than 8 KiB. Reported by Ingvar Hagelund <ingvar@redpill-linpro.com>.
-
- Aug 17, 2015
-
-
Jason Evans authored
-
- Aug 12, 2015
-
-
Jason Evans authored
-
- Aug 04, 2015
-
-
Jason Evans authored
Add the "arena.<i>.chunk_hooks" mallctl, which replaces and expands on the "arena.<i>.chunk.{alloc,dalloc,purge}" mallctls. The chunk hooks allow control over chunk allocation/deallocation, decommit/commit, purging, and splitting/merging, such that the application can rely on jemalloc's internal chunk caching and retaining functionality, yet implement a variety of chunk management mechanisms and policies. Merge the chunks_[sz]ad_{mmap,dss} red-black trees into chunks_[sz]ad_retained. This slightly reduces how hard jemalloc tries to honor the dss precedence setting; prior to this change the precedence setting was also consulted when recycling chunks. Fix chunk purging. Don't purge chunks in arena_purge_stashed(); instead deallocate them in arena_unstash_purged(), so that the dirty memory linkage remains valid until after the last time it is used. This resolves #176 and #201.
-
- Jul 18, 2015
-
-
Jason Evans authored
-
- Jul 09, 2015
-
-
Jason Evans authored
-
- Jul 07, 2015
-
-
charsyam authored
Fix typos ChangeLog
-
Jason Evans authored
-
- Jun 24, 2015
-
-
Jason Evans authored
Fix size class overflow handling for malloc(), posix_memalign(), memalign(), calloc(), and realloc() when profiling is enabled. Remove an assertion that erroneously caused arena_sdalloc() to fail when profiling was enabled. This resolves #232.
-