| Age | Commit message (Collapse) | Author | |
|---|---|---|---|
| 2023-07-05 | Revert "jemalloc: Enforce alignment-must-divide-size rule of aligned_alloc." | riastradh | |
| Apparently this restriction was lifted in C17, and this was even documented in a part of the man page I didn't notice because I got stuck at the incomplete sentence `The aligned_alloc function conforms to.'. Sorry for the noise, folks. | |||
| 2023-07-04 | jemalloc: Enforce alignment-must-divide-size rule of aligned_alloc. | riastradh | |
| C11, Sec. 7.22.3.1 The aligned_alloc function, paragraph 2, p. 348: The value of alignment shall be a valid alignment supported by the implementation and the value of size shall be an integral multiple of alignment. posix_memalign does not appear to have any corresponding constraint. XXX pullup-10 | |||
| 2023-07-01 | jemalloc: enable lint again, it is no longer broken | rillig | |
| Since today, lint handles unnamed struct/union correctly. | |||
| 2023-06-26 | jemalloc: reduce CONSTCOND diff to upstream | rillig | |
| Since 2021-01-31, lint no longer needs these comments. | |||
| 2020-09-06 | Appease gcc-9 | christos | |
| 2020-06-04 | If _malloc_thread_cleanup is implement, call it from libpthread. | joerg | |
| Provide the hook from modern jemalloc to avoid using TSD for the thread destruction cleanup as it can result in reentrancy crashes if fork is called from a thread that never called malloc as it will result in a late malloc from the pre-fork synchronisation handler. | |||
| 2020-05-15 | Hook up proper fork lock handling for malloc: | joerg | |
| - lock all relevant mutexes just before fork - unlock all mutexes just after fork in the parent - full reinit non-spinlocks in the child This is not using the normal pthread_atfork interface to ensure order of operation, malloc is used as implementation detail too often. | |||
| 2020-05-15 | When using default mutex types, don't setup attributes for init. | joerg | |
| 2020-02-15 | jemalloc: Avoid variable length array with length 0 | kamil | |
| Cherry-pick upstrem patch. https://github.com/jemalloc/jemalloc/pull/1768 | |||
| 2020-01-06 | set that NetBSD overcommits (from maya) | christos | |
| 2019-10-03 | realloc(ptr, 0) != { free(ptr); return NULL; } | christos | |
| http://www.open-std.org/jtc1/sc22/wg14/www/docs/summary.htm#dr_400 | |||
| 2019-04-26 | Enforce alignment also if the compiled in PAGE_SIZE is bigger than | christos | |
| getpagesize() | |||
| 2019-04-26 | Undo previous, it is moving us in the wrong direction. | christos | |
| 2019-04-24 | Allow os_page sizes greater than the built-in page size. This can happen | christos | |
| for example for COMPAT_NETBSD32 sparc binaries (4K page size because of MIN_PAGE_SIZE), running on sparc64 (8K pages). | |||
| 2019-03-16 | we have MAP_ALIGNED, so use it (although it does not do anything by default) | christos | |
| 2019-03-16 | PR/54062: Fix the "snprintf_float" test failing after the jemalloc import | christos | |
| issue: jemalloc uses a lot more memory (if it can find it) by default and this test limited the amount of memory it could get, causing it to get to an error path with a missing mutex_unlock... | |||
| 2019-03-14 | revert previous sshd hack (from Rin Okuyama) | christos | |
| 2019-03-14 | Grr, disable the "time goes backwards" test here since this breaks too | christos | |
| frequently. We need a real fix. | |||
| 2019-03-14 | Remove __clang___ hacks for noreturn, reduce footprint when we don't compile | christos | |
| with JEMALLOC_PROF. More to do here. | |||
| 2019-03-12 | - descend to build libjemalloc | christos | |
| - namespace protect all functions __je - provide getters and setters for malloc_conf and malloc_message | |||
| 2019-03-11 | Add an initializatin that is not needed when the optimizer works... | christos | |
| 2019-03-10 | Add noreturn where needed. In the prof case because of cassert() and return | christos | |
| in some functions we disable the cassert() for clang. We should really have a JEMALLOC_PROF_NORETURN and a way to mark the remaining of the function unreachable. | |||
| 2019-03-10 | Rename je_mallctltomib to je_mallctlnametomib | kamil | |
| This unbreaks the build. | |||
| 2019-03-10 | Make the non-standard jemalloc api weak. | christos | |
| 2019-03-04 | put back __UNCONST for now. | christos | |
| 2019-03-04 | - add unconst | christos | |
| - fixes for shadowing | |||
| 2019-03-04 | fix for shadowing. | christos | |
| 2019-03-04 | add __UNCONST | christos | |
| 2019-03-04 | fix prototypes | christos | |
| 2019-03-04 | - add UNCONST | christos | |
| - fix for shadowing | |||
| 2019-03-04 | - fix for shadowing | christos | |
| - add unconst - add hack for broken lint - add cast for ctype macros - disable realloc(ptr, 0) returning NULL for non-NULL ptr (compatibility) | |||
| 2019-03-04 | rename initializer for consistency. | christos | |
| 2019-03-04 | remove needless casts after fixing prototype. | christos | |
| 2019-03-04 | rename for shadowing | christos | |
| 2019-03-04 | import jemalloc-5.1.0 | christos | |
