source: libcfa/src/heap.cfa

Revision Log Mode:


Legend:

Added
Modified
Copied or renamed
Diff Rev Age Author Log Message
(edit) @1e7a765   13 months pabuhr fix lock/unlock for heap statistic-mode
(edit) @c58ead7   14 months pabuhr add malloc_stats_clear routine to zero the heap master and all active …
(edit) @a47fe52   15 months pabuhr missing add of terminating thread-heap statistics to master heap, …
(edit) @07b59ec   15 months pabuhr change startup sequence by adding back heapManagerBootFlag, add build …
(edit) @a7662b8   23 months pabuhr add cast from int to unsigned ADTast-experimental
(edit) @8ee54963   23 months pabuhr change spinlock atomics to ATOMIC_ACQUIRE/RELEASE, increase alignment … ADTast-experimental
(edit) @0bdfcc3   2 years pabuhr formatting ADTast-experimental
(edit) @7a2057a   2 years pabuhr remove unused BUCKETLOCK, restructure OWNERSHIP and RETURNSPIN ADTast-experimental
(edit) @88ac843e   2 years Thierry Delisle Moved lockfree containers to containers/lockfree.hfa. Added … ADTast-experimental
(edit) @80fbdc9   2 years pabuhr remove include for bits/locks.hfa, generalize format code in error … ADTast-experimental
(edit) @5951956   2 years pabuhr fix 32-bit problemgenrating spurious unfreed-storage message ADTast-experimental
(edit) @7671c6d   2 years pabuhr make heap executable for thunks ADTast-experimental
(edit) @116a2ea   2 years pabuhr new heap and associated tests updated ADTast-experimental
(edit) @5a076837   2 years Thierry Delisle Remove unnecessary declaration in heap ADTast-experimentalpthread-emulationqualifiedEnum
(edit) @032234bd   2 years Thierry Delisle Visibility of the core libcfa files. ADTast-experimentalpthread-emulationqualifiedEnum
(edit) @433905a   3 years pabuhr temporary fix for 32-bit alignment problem, use … ADTast-experimentalpthread-emulationqualifiedEnum
(edit) @69ec0fb   3 years pabuhr fix error in second update of heap allocator ADTast-experimentalpthread-emulationqualifiedEnum
(edit) @19e5d65d   3 years pabuhr second update of heap allocator towards new heap-per-thread version ADTast-experimentalpthread-emulationqualifiedEnum
(edit) @31a5f418   3 years pabuhr start update of heap allocator to new heap-per-thread version ADTast-experimentalpthread-emulationqualifiedEnum
(edit) @578ec01c   3 years pabuhr update heap statistics to new format (incomplete) ADTast-experimentalenumforall-pointer-decaypthread-emulationqualifiedEnum
(edit) @7dd98b6   3 years Thierry Delisle Moved cfa_main_returned to libcfa so it works when the main is written … ADTast-experimentalenumforall-pointer-decaypthread-emulationqualifiedEnum
(edit) @b42d0ea   3 years pabuhr do not print unfreed-storage message if program exits ADTast-experimentalenumforall-pointer-decayjacob/cs343-translationnew-ast-unique-exprpthread-emulationqualifiedEnum
(edit) @b38b22f   3 years pabuhr add missing heap statistic counters for free calls and free storage ADTarm-ehast-experimentalenumforall-pointer-decayjacob/cs343-translationnew-ast-unique-exprpthread-emulationqualifiedEnum
(edit) @58c671ba   4 years pabuhr formatting ADTarm-ehast-experimentalenumforall-pointer-decayjacob/cs343-translationnew-ast-unique-exprpthread-emulationqualifiedEnum
(edit) @6c5d92f   4 years pabuhr for private variables and functions, move prefix $ to suffix $ ADTarm-ehast-experimentalenumforall-pointer-decayjacob/cs343-translationnew-ast-unique-exprpthread-emulationqualifiedEnum
(edit) @d134b15   4 years pabuhr remove inline from extern routine ADTarm-ehast-experimentalenumforall-pointer-decayjacob/cs343-translationnew-ast-unique-exprpthread-emulationqualifiedEnum
(edit) @709b812   4 years pabuhr add separate statistics counters for zero allocations and nullptr … ADTarm-ehast-experimentalenumforall-pointer-decayjacob/cs343-translationnew-ast-unique-exprpthread-emulationqualifiedEnum
(edit) @13fece5   4 years pabuhr modify location of mmapped storage to either side of the heap, and fix … ADTarm-ehast-experimentalenumforall-pointer-decayjacob/cs343-translationnew-ast-unique-exprpthread-emulationqualifiedEnum
(edit) @ad2dced   4 years pabuhr increase heap expansion to 10M, add global page_size and map_prot … ADTarm-ehast-experimentalenumforall-pointer-decayjacob/cs343-translationnew-ast-unique-exprpthread-emulationqualifiedEnum
(edit) @b4aa1ab   4 years pabuhr fix running nested routines on stacks in the heap ADTarm-ehast-experimentalenumforall-pointer-decayjacob/cs343-translationnew-ast-unique-exprpthread-emulationqualifiedEnum
(edit) @e4b6b7d3   4 years pabuhr for debug, fill deleted memory with deadbeef pattern ADTarm-ehast-experimentalenumforall-pointer-decayjacob/cs343-translationnew-ast-unique-exprpthread-emulationqualifiedEnum
(edit) @113d785   4 years pabuhr formatting ADTarm-ehast-experimentalenumforall-pointer-decayjacob/cs343-translationnew-ast-unique-exprpthread-emulationqualifiedEnum
(edit) @1b55756   4 years m3zulfiq heap.cfa: removed bug in resize with alignment by adding return before … ADTarm-ehast-experimentalenumforall-pointer-decayjacob/cs343-translationnew-ast-unique-exprpthread-emulationqualifiedEnum
(edit) @92847f7   4 years pabuhr corrections for resize/realloc with alignment ADTarm-ehast-experimentalenumforall-pointer-decayjacob/cs343-translationnew-ast-unique-exprpthread-emulationqualifiedEnum
(edit) @03b87140   4 years m3zulfiq removed bug from resize/realloc with alignment so alignment is not set … ADTarm-ehast-experimentalenumforall-pointer-decayjacob/cs343-translationnew-ast-unique-exprpthread-emulationqualifiedEnum
(edit) @a3ade94   4 years m3zulfiq cleaned up resize and realloc with alignment ADTarm-ehast-experimentalenumforall-pointer-decayjacob/cs343-translationnew-ast-unique-exprpthread-emulationqualifiedEnum
(edit) @47dd0d2   4 years pabuhr use math.hfa 'min' routine, work on code to reuse existing storage in … ADTarm-ehast-experimentalenumforall-pointer-decayjacob/cs343-translationnew-ast-unique-exprpthread-emulationqualifiedEnum
(edit) @f76ff0b   4 years m3zulfiq alloc2.txt: added expected output file for test alloc2.cfa. heap.cfa: … ADTarm-ehast-experimentalenumforall-pointer-decayjacob/cs343-translationnew-ast-unique-exprpthread-emulationqualifiedEnum
(edit) @c86f587   4 years pabuhr fix bugs in resize and realloc with alignment ADTarm-ehast-experimentalenumforall-pointer-decayjacob/cs343-translationnew-ast-unique-exprpthread-emulationqualifiedEnum
(edit) @7cfef0d   4 years pabuhr move routines floor, ceiling, ceiling_div from bitmanip.hfa to math.hfa ADTarm-ehast-experimentalenumforall-pointer-decayjacob/cs343-translationnew-ast-unique-exprpthread-emulationqualifiedEnum
(edit) @68d40b7   4 years pabuhr change ceiling to ceiling2 for mallopt ADTarm-ehast-experimentalenumforall-pointer-decayjacob/cs343-translationnew-astnew-ast-unique-exprpthread-emulationqualifiedEnum
(edit) @92aca37   4 years pabuhr formatting, temporarily remove default_heap_exhausted called when … ADTarm-ehast-experimentalenumforall-pointer-decayjacob/cs343-translationnew-astnew-ast-unique-exprpthread-emulationqualifiedEnum
(edit) @c1f38e6c   4 years pabuhr formatting, rename variable allocFree to allocUnfreed, fakeHeader … ADTarm-ehast-experimentalenumforall-pointer-decayjacob/cs343-translationnew-astnew-ast-unique-exprpthread-emulationqualifiedEnum
(edit) @dd23e66   4 years pabuhr add default_heap_exhausted, update resize/realloc with alignment, fix … ADTarm-ehast-experimentalenumforall-pointer-decayjacob/cs343-translationnew-astnew-ast-unique-exprpthread-emulationqualifiedEnum
(edit) @d5d3a90   4 years pabuhr abort when out of memory, return 0p for zero size allocation request, … ADTarm-ehast-experimentalenumforall-pointer-decayjacob/cs343-translationnew-astnew-ast-unique-exprpthread-emulationqualifiedEnum
(edit) @4cf617e   4 years pabuhr memalign - correct size to eliminate alignment offset ADTarm-ehast-experimentalenumforall-pointer-decayjacob/cs343-translationnew-astnew-ast-unique-exprpthread-emulationqualifiedEnum
(edit) @2b23d78   4 years pabuhr check for allocation size change and reset if necessary in resize and … ADTarm-ehast-experimentalenumforall-pointer-decayjacob/cs343-translationnew-astnew-ast-unique-exprpthread-emulationqualifiedEnum
(edit) @849fb370   4 years pabuhr fix return from false to 0 to match with return type size_t ADTarm-ehast-experimentalenumforall-pointer-decayjacob/cs343-translationnew-astnew-ast-unique-exprpthread-emulationqualifiedEnum
(edit) @8b58bae   4 years Thierry Delisle Merge branch 'master' into relaxed_ready ADTarm-ehast-experimentalenumforall-pointer-decayjacob/cs343-translationnew-astnew-ast-unique-exprpthread-emulationqualifiedEnum
(edit) @0f89d4f   4 years Thierry Delisle Modified StackLF to use `next instead of getNext ADTarm-ehast-experimentalenumforall-pointer-decayjacob/cs343-translationnew-astnew-ast-unique-exprpthread-emulationqualifiedEnum
(edit) @c45d2fa   4 years pabuhr refactor declaration qualifiers with distribution ADTarm-ehast-experimentalenumforall-pointer-decayjacob/cs343-translationnew-astnew-ast-unique-exprpthread-emulationqualifiedEnum
(edit) @ada0246d   4 years pabuhr create heap.hfa, use it in malloc.h, and cleanup includes with respect … ADTarm-ehast-experimentalenumforall-pointer-decayjacob/cs343-translationnew-astnew-ast-unique-exprpthread-emulationqualifiedEnum
(edit) @9c438546   4 years pabuhr move allocation "size" field, allow alternative lock-free stack for … ADTarm-ehast-experimentalenumforall-pointer-decayjacob/cs343-translationnew-astnew-ast-unique-exprpthread-emulationqualifiedEnum
(edit) @1076d05   5 years pabuhr small code clean ups after complete code walk through ADTarm-ehast-experimentalenumforall-pointer-decayjacob/cs343-translationnew-astnew-ast-unique-exprpthread-emulationqualifiedEnum
(edit) @61248a4   5 years pabuhr update comments for public C allocation routines ADTarm-ehast-experimentalenumforall-pointer-decayjacob/cs343-translationnew-astnew-ast-unique-exprpthread-emulationqualifiedEnum
(edit) @76e2113   5 years pabuhr add setter routines for sticky operations, add allocation size to header ADTarm-ehast-experimentalenumforall-pointer-decayjacob/cs343-translationnew-astnew-ast-unique-exprpthread-emulationqualifiedEnum
(edit) @cfbc703d   5 years pabuhr add resize and more "alloc" routines ADTarm-ehast-experimentalenumforall-pointer-decayjacob/cs343-translationnew-astnew-ast-unique-exprpthread-emulationqualifiedEnum
(edit) @ca7949b   5 years pabuhr update comments ADTarm-ehast-experimentalenumforall-pointer-decayjacob/cs343-translationjenkins-sandboxnew-astnew-ast-unique-exprpthread-emulationqualifiedEnum
(edit) @e3fea42   5 years pabuhr change "const char *" to "const char []" ADTarm-ehast-experimentalenumforall-pointer-decayjacob/cs343-translationjenkins-sandboxnew-astnew-ast-unique-exprpthread-emulationqualifiedEnum
(edit) @98d6965d   5 years pabuhr temporarily remove default memory exhausted message, use NULL return … ADTarm-ehast-experimentalenumforall-pointer-decayjacob/cs343-translationjenkins-sandboxnew-astnew-ast-unique-exprpthread-emulationqualifiedEnum
(edit) @baf608a   5 years pabuhr provide switch to print heap statistics on program termination ADTarm-ehast-experimentalenumforall-pointer-decayjacob/cs343-translationjenkins-sandboxnew-astnew-ast-unique-exprpthread-emulationqualifiedEnum
(edit) @1f6de372   5 years pabuhr change realloc to return 0-sized storage for size 0 rather than NULL ADTarm-ehast-experimentalenumforall-pointer-decayjacob/cs343-translationjenkins-sandboxnew-astnew-ast-unique-exprpthread-emulationqualifiedEnum
(edit) @4ea1c6d   5 years pabuhr turn on unfreed storage warning message ADTarm-ehast-experimentalenumforall-pointer-decayjacob/cs343-translationjenkins-sandboxnew-astnew-ast-unique-exprpthread-emulationqualifiedEnum
(edit) @1e034d9   5 years pabuhr forammting, add missing call to header in alignment realloc ADTarm-ehast-experimentalenumforall-pointer-decayjacob/cs343-translationjenkins-sandboxnew-astnew-ast-unique-exprpthread-emulationqualifiedEnum
(edit) @95eb7cf   5 years pabuhr major update of heap, especially realloc ADTarm-ehast-experimentalenumforall-pointer-decayjacob/cs343-translationjenkins-sandboxnew-astnew-ast-unique-exprpthread-emulationqualifiedEnum
(edit) @1aa6ecb   5 years pabuhr check for maximum allocation and use macro to get header ADTarm-ehast-experimentalenumforall-pointer-decayjacob/cs343-translationjenkins-sandboxnew-astnew-ast-unique-exprpthread-emulationqualifiedEnum
(edit) @a92a4fe   5 years pabuhr fix patch when using sizeof in enum ADTarm-ehast-experimentalenumforall-pointer-decayjacob/cs343-translationjenkins-sandboxnew-astnew-ast-unique-exprpthread-emulationqualifiedEnum
(edit) @b5ce31e   5 years pabuhr formatting ADTarm-ehast-experimentalenumforall-pointer-decayjacob/cs343-translationjenkins-sandboxnew-astnew-ast-unique-exprpthread-emulationqualifiedEnum
(edit) @e723100   5 years pabuhr patch heap for thunk problem and restart heap test ADTarm-ehast-experimentalenumforall-pointer-decayjacob/cs343-translationjenkins-sandboxnew-astnew-ast-unique-exprpthread-emulationqualifiedEnum
(edit) @7b149bc   5 years pabuhr formatting ADTarm-ehast-experimentalcleanup-dtorsenumforall-pointer-decayjacob/cs343-translationjenkins-sandboxnew-astnew-ast-unique-exprpthread-emulationqualifiedEnum
(edit) @f8cd310   6 years pabuhr update file names in emacs compile directive ADTarm-ehast-experimentalcleanup-dtorsenumforall-pointer-decayjacob/cs343-translationjenkins-sandboxnew-astnew-ast-unique-exprpthread-emulationqualifiedEnum
(edit) @7117ac3   6 years pabuhr temporary fix for malloc call before memory_startup ADTaaron-thesisarm-ehast-experimentalcleanup-dtorsdeferred_resnenumforall-pointer-decayjacob/cs343-translationjenkins-sandboxnew-astnew-ast-unique-exprno_listpersistent-indexerpthread-emulationqualifiedEnum
(edit) @bcb14b5   6 years pabuhr first code review updates ADTaaron-thesisarm-ehast-experimentalcleanup-dtorsdeferred_resnenumforall-pointer-decayjacob/cs343-translationjenkins-sandboxnew-astnew-ast-unique-exprno_listpersistent-indexerpthread-emulationqualifiedEnum
(edit) @b6830d74   6 years Thierry Delisle First pass of comment on heap.cfa ADTaaron-thesisarm-ehast-experimentalcleanup-dtorsdeferred_resndemanglerenumforall-pointer-decayjacob/cs343-translationjenkins-sandboxnew-astnew-ast-unique-exprno_listpersistent-indexerpthread-emulationqualifiedEnum
(edit) @0e0f128c   6 years Thierry Delisle Merge branch 'master' of plg.uwaterloo.ca:software/cfa/cfa-cc ADTaaron-thesisarm-ehast-experimentalcleanup-dtorsdeferred_resndemanglerenumforall-pointer-decayjacob/cs343-translationjenkins-sandboxnew-astnew-ast-unique-exprno_listpersistent-indexerpthread-emulationqualifiedEnum
(edit) @58b6d1b   6 years Thierry Delisle Fixed tests after headers change ADTaaron-thesisarm-ehast-experimentalcleanup-dtorsdeferred_resndemanglerenumforall-pointer-decayjacob/cs343-translationjenkins-sandboxnew-astnew-ast-unique-exprno_listpersistent-indexerpthread-emulationqualifiedEnum
(edit) @73abe95   6 years Thierry Delisle Replace extension-less headers with .hfa ADTaaron-thesisarm-ehast-experimentalcleanup-dtorsdeferred_resndemanglerenumforall-pointer-decayjacob/cs343-translationjenkins-sandboxnew-astnew-ast-unique-exprno_listpersistent-indexerpthread-emulationqualifiedEnum
(add) @ba9baad   6 years Thierry Delisle Simplified some of the handling by converting libcfa sources from .c … ADTaaron-thesisarm-ehast-experimentalcleanup-dtorsdeferred_resndemanglerenumforall-pointer-decayjacob/cs343-translationjenkins-sandboxnew-astnew-ast-unique-exprno_listpersistent-indexerpthread-emulationqualifiedEnum
Note: See TracRevisionLog for help on using the revision log.