Commit Graph

77 Commits

Author SHA1 Message Date
8b033bb7d3 made passed heap to platform functions opaque as its not always safe to dereference 2026-06-11 15:59:28 +02:00
717966dea3 added max heap size 2026-06-11 15:52:01 +02:00
e46565edbf fixed reallocate not preserving custom metadata 2026-06-11 15:49:33 +02:00
0a582ffebc renaming 2026-06-11 05:38:45 +02:00
ef9ec5de2a fixed some bugs 2026-06-11 05:27:06 +02:00
4dc806403f fixed wrong return type 2026-06-11 01:54:43 +02:00
273868ee63 added custom metadata and heapwalk function 2026-06-11 01:51:58 +02:00
e75b551159 uintptr_t 2026-06-10 22:41:41 +02:00
17df4f1f85 changed the way areas are inserted and deleted, making heap compact itself automatically after massive frees 2026-06-10 08:15:53 +02:00
57cbacda15 fixed warnings 2026-06-10 07:59:16 +02:00
e8b919f576 Revert "added totalsizeoccupied stat"
This reverts commit 46fb0e20c6.
2026-06-10 07:55:08 +02:00
46fb0e20c6 added totalsizeoccupied stat 2026-06-10 07:32:37 +02:00
e507521bf8 tweaked growth rate 2026-06-10 07:19:33 +02:00
8a148cf489 wrong return type 2026-06-10 04:57:28 +02:00
da572cc718 changed the way allocation sizes are calculated (☠) 2026-06-10 04:10:12 +02:00
b68c56580e comments 2026-06-10 03:47:24 +02:00
fa3fbbc68d insane performance improvement(??) 2026-06-10 03:33:48 +02:00
84232e399a updated test 2026-06-10 03:14:50 +02:00
9ea984f2d4 Update minimal_heap.h 2026-06-10 01:21:29 +02:00
e17def2790 made all define configs configurable in runtime per heap 2026-06-10 01:09:36 +02:00
9dd2ebaa5a added ability to merge heaps 2026-06-09 23:48:56 +02:00
a5fe68867f version inc 2026-06-09 21:49:19 +02:00
d2cd90fbd7 changed all things to function ptr 2026-06-09 21:47:40 +02:00
9d890e794b Update minimal_heap_implementation.inl 2026-06-09 20:41:08 +02:00
847dfe1484 rename and fixed missing unlock 2026-06-09 20:37:30 +02:00
41b6dfa9f1 arbitrary version inc 2026-06-09 20:23:14 +02:00
8dfbe26ebc removed schädel lock mechanism 2026-06-09 20:21:39 +02:00
36159288d5 tweaked heuristics 2026-06-09 20:10:45 +02:00
2150fcb0a2 changed the order areas are traversed 2026-06-09 19:41:06 +02:00
3582e21a84 tweaked heuristics 2026-06-09 19:25:07 +02:00
b6bc80cf22 fixed last successful allocation area not being reset when destroying the area 2026-06-09 04:09:01 +02:00
eaddbd31fd added first heuristic 2026-06-09 03:30:38 +02:00
1501e2e65d changend minimal payload size 2026-06-09 01:42:21 +02:00
202938ca07 Update minimal_heap_implementation.inl 2026-06-09 01:37:53 +02:00
667b359eec Update minimal_heap_test.c 2026-06-09 00:40:57 +02:00
8f737acc1a Update minimal_heap.h 2026-06-09 00:39:29 +02:00
63a447d1c4 moved segment/payload hopping to seperate functions 2026-06-09 00:39:10 +02:00
fa1eb41719 Update minimal_heap.h 2026-06-08 21:55:27 +02:00
54b61085a8 Update minimal_heap_implementation.inl 2026-06-08 21:54:59 +02:00
d3aa81fcea Update minimal_heap_implementation.inl 2026-06-08 21:54:19 +02:00
ccce067d13 version inc 2026-06-08 21:52:34 +02:00
dd92501753 outsourced lifetime of MIHP_Heap, gave heap ptr as identifier to platform functions 2026-06-08 21:52:22 +02:00
ad14fa7c74 merge 2026-06-08 20:35:01 +02:00
3c46dfa855 Merge branch 'main' of https://github.com/ToyB-Chan/minimal-heap 2026-06-08 20:34:34 +02:00
468378e88e changed param to be non optional 2026-06-08 20:33:48 +02:00
05343eb3cd Merge pull request #2 from ToyB-Chan/v2
V2 2
2026-06-08 20:30:42 +02:00
db8f9f69ae warning fix 2026-06-08 20:30:08 +02:00
d0e6bccafe platform can now properly return larger amounts of memory as requested 2026-06-08 20:29:45 +02:00
57ce5af8e6 Update minimal_heap.h 2026-06-08 19:52:30 +02:00
af70cf0648 Update minimal_heap_implementation.inl 2026-06-08 19:49:18 +02:00