kayomn commented on pull request kayomn/ona#15 2023-06-04 15:53:59 +02:00
Add Leak Detection to Ona Heap Allocator

May be worth adding an assert to check that the VM environment heap is empty by now before calling deinit.

kayomn commented on pull request kayomn/ona#15 2023-06-04 15:53:59 +02:00
Add Leak Detection to Ona Heap Allocator

Perhaps discard could have an internal complimentary function specifically for discarding objects to save on the effort of wrapping a known type in a discriminated union only to unwrap it again back to the known type.

kayomn opened issue kayomn/ona#16 2023-06-04 15:48:53 +02:00
CI Leak Testing
kayomn pushed to ona-allocator-safety-tracker at kayomn/ona 2023-06-04 15:44:31 +02:00
155645a308 Fix allocation size info not updating in reallocs
d378939f30 Remove allocation checks in optimized release builds
341710bfbc Fix so, so many memory leaks
9c871aac97 Clarify panic wording in Ona heap implementation
Compare 4 commits »
kayomn pushed to ona-allocator-safety-tracker at kayomn/ona 2023-06-04 05:08:25 +02:00
331d862246 Fix leaks and double-frees in Kym VM environment
08785b5b54 Improve clarity of stack trace allocation origin
2ec39484dc Add more detail to memory leak traces
d63cfc23d6 Fix various memory leaks caught by new tracer
d4fd1bfb43 Fix incorrect buffer slicing in stack list deinit
Compare 5 commits »
kayomn created pull request kayomn/ona#15 2023-06-04 03:18:55 +02:00
WIP: Add Leak Detection to Ona Heap Allocator
kayomn created branch ona-allocator-safety-tracker in kayomn/ona 2023-06-04 03:16:56 +02:00
kayomn pushed to ona-allocator-safety-tracker at kayomn/ona 2023-06-04 03:16:56 +02:00
306e085d1b Add leak detection to Ona heap allocator
kayomn opened issue kayomn/ona#14 2023-06-03 22:20:45 +02:00
Make Compiled Kym Chunk Objects Callable
kayomn deleted branch kym-object-alloc-fix from kayomn/ona 2023-06-03 22:07:21 +02:00
kayomn pushed to main at kayomn/ona 2023-06-03 22:07:20 +02:00
9eadd30aa5 Merge pull request 'Kym Object Allocation Fix' (#13) from kym-object-alloc-fix into main
d8077d782d Amend code review comments
713f9bb08c Implement slab map data structure
55d281bdfa Remove debug printing in Tokenizer
Compare 4 commits »
kayomn merged pull request kayomn/ona#13 2023-06-03 22:07:19 +02:00
Kym Object Allocation Fix
kayomn pushed to kym-object-alloc-fix at kayomn/ona 2023-06-03 22:05:51 +02:00
d8077d782d Amend code review comments
kayomn commented on pull request kayomn/ona#13 2023-06-03 22:03:38 +02:00
Kym Object Allocation Fix

free_index should be reset in here as well, otherwise re-uses of the data structure in future will have a corrupt initial state.

kayomn commented on pull request kayomn/ona#13 2023-06-03 22:03:38 +02:00
Kym Object Allocation Fix

Overly wordy comment

kayomn commented on pull request kayomn/ona#13 2023-06-03 22:03:38 +02:00
Kym Object Allocation Fix

Comment could do with clarification.

kayomn commented on pull request kayomn/ona#13 2023-06-03 22:03:38 +02:00
Kym Object Allocation Fix

Slab map type.

kayomn created pull request kayomn/ona#13 2023-06-03 21:57:50 +02:00
Kym Object Allocation Fix
kayomn created branch kym-object-alloc-fix in kayomn/ona 2023-06-03 21:56:03 +02:00
kayomn pushed to kym-object-alloc-fix at kayomn/ona 2023-06-03 21:56:03 +02:00
713f9bb08c Implement slab map data structure
55d281bdfa Remove debug printing in Tokenizer
Compare 2 commits »