- Jul 25, 2015
-
-
Jason Evans authored
- Do not reallocate huge objects in place if the number of backing chunks would change. - Do not cache multi-chunk mappings. This resolves #213.
-
Jason Evans authored
Fix huge_ralloc_no_move() to succeed if an allocation request results in the same usable size as the existing allocation, even if the request size is smaller than the usable size. This bug did not cause correctness issues, but it could cause unnecessary moves during reallocation.
-
- Jul 24, 2015
-
-
Jason Evans authored
huge_ralloc() passes a size that may not be precisely a size class, so make huge_palloc() handle the more general case of a size input rather than usize. This regression appears to have been introduced by the addition of in-place huge reallocation; as such it was never incorporated into a release.
-
Jason Evans authored
Take large_pad into account when determining whether an aligned allocation can be satisfied by a large size class. This regression was introduced by 8a03cf03 (Implement cache index randomization for large allocations.).
-
Jason Evans authored
This change merely documents that arena_palloc_large() always receives usize as its argument.
-
Jason Evans authored
Macro expansion happens too late for the #undef directives to work as a mechanism for preventing accidental direct use of the PRI* macros.
-
- Jul 23, 2015
-
-
Jason Evans authored
This resolves #83.
-
Jason Evans authored
Create and use FMT* macros that are equivalent to the PRI* macros that inttypes.h defines. This allows uniform use of the Unix-specific format specifiers, e.g. "%zu", as well as avoiding Windows-specific definitions of e.g. PRIu64. Add ffs()/ffsl() support for compiling with gcc. Extract compatibility definitions of ENOENT, EINVAL, EAGAIN, EPERM, ENOMEM, and ENORANGE into include/msvc_compat/windows_extra.h and use the file for tests as well as for core jemalloc code.
-
Jason Evans authored
This regression was introduced by 1b0e4abb (Port mq_get() to MinGW.).
-
Jason Evans authored
Replace JEMALLOC_ATTR(format(printf, ...). with JEMALLOC_FORMAT_PRINTF(), so that configuration feature tests can omit the attribute if it would cause extraneous compilation warnings.
-
- Jul 22, 2015
-
-
Jason Evans authored
-
- Jul 21, 2015
-
-
Jason Evans authored
Only use __declspec(nothrow) in C++ mode. This resolves #244.
-
Mike Hommey authored
As per gcc documentation: The alloc_size attribute is used to tell the compiler that the function return value points to memory (...) This resolves #245.
-
- Jul 18, 2015
-
-
Jason Evans authored
-
Jason Evans authored
-
- Jul 16, 2015
-
-
Dave Rigby authored
Fixes warning with newer GCCs: include/jemalloc/jemalloc.h:229:2: warning: extra ';' [-Wpedantic] }; ^
-
Jason Evans authored
This change improves interaction with transparent huge pages, e.g. reduced page faults (at least in the absence of unused dirty page purging).
-
Jason Evans authored
This effectively reverts 97c04a93 (Use first-fit rather than first-best-fit run/chunk allocation.). In some pathological cases, first-fit search dominates allocation time, and it also tends not to converge as readily on a steady state of memory layout, since precise allocation order has a bigger effect than for first-best-fit.
-
- Jul 13, 2015
-
-
Jason Evans authored
-
- Jul 11, 2015
-
-
Jason Evans authored
-
Jason Evans authored
-
Jason Evans authored
Add various function attributes to the exported functions to give the compiler more information to work with during optimization, and also specify throw() when compiling with C++ on Linux, in order to adequately match what __THROW does in glibc. This resolves #237.
-
- Jul 10, 2015
-
-
Jason Evans authored
This {bug,regression} was introduced by 155bfa7d (Normalize size classes.). This resolves #241.
-
Jason Evans authored
-
- Jul 09, 2015
-
-
Jason Evans authored
-
- Jul 08, 2015
-
-
Jason Evans authored
-
Jason Evans authored
-
Jason Evans authored
Conditionally define ENOENT, EINVAL, etc. (was unconditional). Add/use PRIzu, PRIzd, and PRIzx for use in malloc_printf() calls. gcc issued (harmless) warnings since e.g. "%zu" should be "%Iu" on Windows, and the alternative to this workaround would have been to disable the function attributes which cause gcc to look for type mismatches in formatted printing function calls.
-
Jason Evans authored
-
- Jul 07, 2015
-
-
charsyam authored
Fix typos ChangeLog
-
Jason Evans authored
-
Jason Evans authored
-
- Jun 25, 2015
-
-
Matthijs authored
- Set opt_lg_chunk based on run-time OS setting - Verify LG_PAGE is compatible with run-time OS setting - When targeting Windows Vista or newer, use SRWLOCK instead of CRITICAL_SECTION - When targeting Windows Vista or newer, statically initialize init_lock
-
- 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.
-
- Jun 23, 2015
-
-
Jason Evans authored
This resolves #235.
-
Jason Evans authored
-
- Jun 22, 2015
-
-
Jason Evans authored
The regressions were never merged into the master branch.
-
- Jun 15, 2015
-
-
Jason Evans authored
-
- May 30, 2015
-
-
Jason Evans authored
-
Jason Evans authored
This avoids the potential surprise of deallocating an object with one tcache specified, and having the object cached in a different tcache once it drains from the quarantine.
-