24 Commits (fe16e785fe76ca2c84b82512c427c7fa57176abe)

Author SHA1 Message Date
Paul Sokolovsky 5ed578e5b4 py/gc: Adjust gc_alloc() signature to be able to accept multiple flags. 6 years ago
Damien George 522ea80f06 py/gc: Add gc_sweep_all() function to run all remaining finalisers. 7 years ago
Alexander Steffen 55f33240f3 all: Use the name MicroPython consistently in comments 7 years ago
Alexander Steffen 299bc62586 all: Unify header guard usage. 7 years ago
Paul Sokolovsky 749cbaca7f py/gc: Calculate (and report) maximum contiguous free block size. 8 years ago
Damien George 94fe6e523d py/gc: Move away from using mp_uint_t, instead use uintptr_t and size_t. 9 years ago
Dave Hylands 7f3c0d1ea8 py: Clear finalizer flag when calling gc_free. 9 years ago
Damien George ade9a05236 py: Improve allocation policy of qstr data. 10 years ago
Damien George b4b10fd350 py: Put all global state together in state structures. 10 years ago
Damien George 51dfcb4bb7 py: Move to guarded includes, everywhere in py/ core. 10 years ago
Damien George 109c1de015 py: Make gc.enable/disable just control auto-GC; alloc is still allowed. 10 years ago
Damien George 0b13f3e026 py: Improve memory usage debugging; better GC AT dumping. 10 years ago
Damien George 40f3c02682 Rename machine_(u)int_t to mp_(u)int_t. 11 years ago
Dave Hylands 2fe841d2fa Try not to cause a MemoryError when raising an exception during nterrupt handling. 11 years ago
Damien George 04b9147e15 Add license header to (almost) all files. 11 years ago
Damien George 443e018a3f py: Improve GC locking/unlocking, and make it part of the API. 11 years ago
Damien George 12bab72d93 Improve GC finalisation code; add option to disable it. 11 years ago
mux 4f7e9f5c44 Implement del 11 years ago
Damien George ce1162ab15 GC: Fix printf formats for debugging; add gc_dump_alloc_table. 11 years ago
Paul Sokolovsky 550d804d95 Add prototype for gc_dump_info(). 11 years ago
Damien 8b3a7c2237 Fix func decls with no arguments: () -> (void). 11 years ago
Damien fd8b6bcf55 Add gc_free function to force a block to be freed. 11 years ago
Damien eefcc79022 Clear ATBs on gc_init; better gc_info. 11 years ago
Damien dcced92c26 Add mark-sweep garbage collector. 11 years ago