mirror of
https://github.com/jart/cosmopolitan.git
synced 2025-07-12 14:09:12 +00:00
Get garbage collector working on aarch64
Garbage collection will now happen on arm64 when a function returns, rather than kicking the can down the road to when the process exits. This change also does some code cleanup and incorporates suggestions
This commit is contained in:
parent
9793d3524f
commit
01fd655097
16 changed files with 144 additions and 323 deletions
|
@ -30,7 +30,7 @@
|
|||
#include "libc/thread/spawn.h"
|
||||
#include "libc/x/x.h"
|
||||
#ifdef __x86_64__
|
||||
// TODO(jart): get garbage collector working properly on aarch64
|
||||
// TODO(jart): get gclongjmp() working properly on aarch64
|
||||
|
||||
#define GC(x) _defer(Free, x)
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue