|
|
|
|
|
by codermike
1466 days ago
|
|
Microvium does use a compacting heap, something similar to a semi-space collector except that it can free up the unused "space". Have a look for some of the details: https://coder-mike.com/blog/2020/07/08/new-garbage-collector... But the malloc/free thing referenced in the article is mainly about the stack space and core registers, which would just be wasting space if the VM was idle. |
|