30 Commits (85c85e8f0d6e44827553f67a4ab67c2cb3078fdd)

Author SHA1 Message Date
Angus Gratton 3e8aed9fcc py/gc: Add "max new split" value in result of gc.mem_free(). 1 year ago
Angus Gratton 519c24dd48 py/gc: Add new MICROPY_GC_SPLIT_HEAP_AUTO "auto grow heap" mode. 1 year ago
Damien George b3c8ab37ec py/gc: Make gc_dump_info/gc_dump_alloc_table take a printer as argument. 2 years ago
Ayke van Laethem bcc827d695 py/gc: Allow the GC heap to be split over multiple memory areas. 7 years ago
Damien George 9dedcf122d py/gc: Change include of stdint.h to stddef.h. 4 years ago
Xiang Xiao 5fdf351178 py/gc: Don't include mpconfig.h and misc.h in gc.h. 4 years ago
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