summaryrefslogtreecommitdiff
path: root/malloc.c
Commit message (Expand)AuthorAgeFilesLines
* Move public header files to include/gc in source treeIvan Maidanski2021-11-251-1/+1
* Set GC_collecting hint for GC_collect_a_little_inner calls (pthreads)Ivan Maidanski2019-09-251-1/+4
* Workaround 'argument to function is always 1' cppcheck false positivesIvan Maidanski2019-09-111-7/+10
* Remove stubborn objects allocation code completelyIvan Maidanski2018-05-151-4/+3
* Declare all internal functions in private headers instead of .c filesIvan Maidanski2018-02-281-4/+0
* Avoid potential race when accessing size_map tableHans Boehm2018-02-261-2/+3
* Revert 'Workaround TSan false positives in extend_size_map'Ivan Maidanski2018-02-261-13/+2
* Change type of hb_sz field (of hblkhdr) from size_t to wordIvan Maidanski2018-02-081-2/+2
* Place no_sanitize attributes in a GCC-compliant wayIvan Maidanski2017-11-211-1/+1
* Workaround TSan false positives in extend_size_mapIvan Maidanski2017-11-161-2/+13
* Remove GENERAL_MALLOC internal macroIvan Maidanski2017-11-141-1/+4
* Make extend_size_map() staticIvan Maidanski2017-10-251-1/+54
* Do not call BCOPY and BZERO if size is zeroIvan Maidanski2017-08-091-3/+4
* Fix leak_test crash in print_callers if free() is redirectedIvan Maidanski2017-08-071-1/+4
* Fix '32-bit value shift followed by expansion to 64-bit' code defectIvan Maidanski2016-12-071-4/+4
* Fix assertion violation in GC_repeat_read if --enable-redirect-mallocIvan Maidanski2016-11-191-0/+4
* Ensure oom_fn callback executed on out-of-memory in callocIvan Maidanski2016-11-181-1/+1
* Workaround 'value of macro unknown' cppcheck info messagesIvan Maidanski2016-10-241-1/+5
* Workaround 'value of REDIRECT_MALLOC/FREE unknown' cppcheck info messagesIvan Maidanski2016-10-221-5/+18
* Eliminate more 'scope of variable can be reduced' cppcheck style warningsIvan Maidanski2016-10-141-1/+2
* Eliminate more 'scope of variable can be reduced' cppcheck style warningsIvan Maidanski2016-10-041-9/+11
* Fix GC_bytes_allocd incrementation in case of allocation failureIvan Maidanski2016-09-271-3/+5
* Fix malloc routines to prevent size value wrap-aroundIvan Maidanski2016-09-231-13/+3
* Fix 'shift count >= width of type' compiler warning in GC_SQRT_SIZE_MAXIvan Maidanski2016-09-211-1/+1
* Merge branch 'generalize-alloc-via-ok_freelist'Ivan Maidanski2016-06-301-8/+11
|\
| * Revert "Refactoring of GC_Xobjfreelist" partiallyIvan Maidanski2016-06-301-3/+2
| * Replace GC_freelists usage with GC_obj_kinds[].ok_freelistIvan Maidanski2016-06-301-5/+9
* | Fix 'GC_generic_malloc_inner_ignore_off_page not used' compiler warningIvan Maidanski2016-03-181-5/+8
|/
* GC_malloc[_atomic] global and thread-local generalization with kindAlessandro Bruni2016-01-281-48/+42
* GC_malloc_[atomic_]uncollectable generalizationIvan Maidanski2016-01-151-9/+27
* Fix typo in GC_malloc_uncollectable commentIvan Maidanski2016-01-131-1/+1
* Refactoring of GC_XobjfreelistAlessandro Bruni2016-01-051-6/+6
* Fix lock assert violation in GC_gcollect_inner if GC_ALWAYS_MULTITHREADEDIvan Maidanski2015-10-221-1/+9
* Add assertion on lock status to GC_alloc_large and its callersIvan Maidanski2015-10-221-9/+9
* Adjust code indentation of malloc/calloc/str[n]dupIvan Maidanski2015-05-111-114/+109
* Recognize REDIRECT_MALLOC_IN_HEADER macroIvan Maidanski2015-05-111-1/+4
* Fix MS VC redefinition warning for functions declared with GC_ATTR_MALLOCIvan Maidanski2014-04-231-4/+4
* Define ROUNDUP_PAGESIZE, ROUNDUP_GRANULE_SIZE macros (code refactoring)Ivan Maidanski2014-03-301-2/+1
* Remove redundant casts in GC_generic_or_special_malloc and similarIvan Maidanski2014-02-211-5/+4
* Remove 'opp' local variable in GC_malloc_XIvan Maidanski2013-12-151-15/+11
* Replace GC_DBG_RA with GC_DBG_EXTRAS macroIvan Maidanski2013-08-251-2/+1
* Adjust GC_debug_malloc/realloc_replacement macro to match the API functionIvan Maidanski2013-08-251-2/+1
* Fix typos in commentsOndrej Bilka2013-07-111-11/+8
* Prepend '#' symbol to GC number in logged messagesIvan Maidanski2012-12-101-1/+2
* Use GC_log_printf for logging instead of GC_[err_]printfIvan Maidanski2012-11-081-1/+1
* Add FIXME for GC_max_large_allocd_bytes and GC_mark_stack_size growthIvan Maidanski2012-11-061-0/+1
* Enable 'Force GC at every GC_malloc' debug-related functionalityIvan Maidanski2012-09-111-0/+11
* Fix assertion in GC_malloc_[atomic_]uncollectable (THREADS case only)Ivan Maidanski2012-05-161-1/+5
* Code refactoring of GC_generic_malloc_inner (eliminate recursion)Ivan Maidanski2012-04-201-8/+19
* Speedup calloc size overflow check by preventing division if small valuesHans Boehm2012-03-151-1/+4