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