118 Commits (c769da1aaa28fb0eba9fabfba84c39cbc09e23da)

Author SHA1 Message Date
stijn afd6c8e1d2 Remove obsolete bss-related code/build features 10 years ago
Damien George b4b10fd350 py: Put all global state together in state structures. 10 years ago
Damien George fd40a9c38e py: Make GC's STACK_SIZE definition a proper MICROPY_ config variable. 10 years ago
Damien George 51dfcb4bb7 py: Move to guarded includes, everywhere in py/ core. 10 years ago
Damien George 7860c2a68a py: Fix some macros defines; cleanup some includes. 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 e7bb0443cd py: Properly free string parse-node; add assertion to gc_free. 10 years ago
Damien George 37378f8a9d py: Clean up edge cases of malloc/realloc/free. 10 years ago
Damien George c30595eb1b py: Add more debug printing code in gc_dump_alloc_table. 10 years ago
Damien George 37ada236b3 py: Take gc_pool_start out of bss section, to reclaim 1st block of heap. 10 years ago
Damien George 9b0b373e5e py: Fix GC realloc issue, where memory chunks were never shrunk. 10 years ago
Damien George 516b09efc3 py, gc: Further reduce heap fragmentation with new, faster gc alloc. 10 years ago
Damien George b796e3d848 py: Reduce fragmentation of GC heap. 10 years ago
Damien George d5e7f6e37e py: Speed up GC allocation. 10 years ago
Damien George a1d3ee376c py: Fix bug where GC finaliser table was not completely zeroed out. 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
Paul Sokolovsky 59c675a64c py: Include mpconfig.h before all other includes. 11 years ago
stijn 9acb5e4cf0 gc: Turn off debugging info again 11 years ago
stijn def10cecd1 gc: Keep debug statements at beginning of scope where possible 11 years ago
stijn bbcea3f62b gc: More verbose debugging 11 years ago
Damien George c037694957 py, gc: Revert ret_ptr to void*, casting to byte* for memset. 11 years ago
stijn f33385f56d gc: Use byte* pointers instead of void* for pointer arithmetic 11 years ago
Paul Sokolovsky 755a55f507 modgc: Implement return value for gc.collect(), enable on Unix. 11 years ago
Damien George 0fb80c303a py: Compress a little the bytecode emitter structure. 11 years ago
Damien George 04b9147e15 Add license header to (almost) all files. 11 years ago
Damien George 32bef315be py, gc: Only zero out the extra bytes at the end of the heap chunk. 11 years ago
Damien George daab651c5c py, gc: Zero out newly allocated blocks in the GC. 11 years ago
Damien George 410f30772f py, gc: Fix old gc_realloc for case when NULL is passed in as ptr. 11 years ago
Paul Sokolovsky 5b991ae2d3 gc: gc_realloc(): Fix byte-to-block calculation. 11 years ago
Damien George dde739d364 py, gc: Further simplify coding-style of gc_realloc. 11 years ago
Paul Sokolovsky c86889dafb gc: "new" gc_realloc: Rewrite in plain C, fixing bunch of bugs. 11 years ago
Paul Sokolovsky ed162b5ef2 gc: Recover simple gc_realloc implementation, make easier to switch between. 11 years ago
Paul Sokolovsky 03b9ad7b01 gc.c: Remove superfluous typedef (bute defined in misc.h). 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 cc849f70f4 Move del to locals 11 years ago
mux 4f7e9f5c44 Implement del 11 years ago
Paul Sokolovsky e807fa8d60 gc: Uses uint defined in misc.h. 11 years ago
Damien George 70f33cde48 py: Fix up so that it can compile without float. 11 years ago
xbe efe3422394 py: Clean up includes. 11 years ago
Damien George 470184e2c3 py: Cosmetic changes. 11 years ago
mux 8782676514 Fix realloc 11 years ago
Damien George 6fc765c928 py: Revert to old gc_realloc for now. 11 years ago
Damien George f08ddef676 py: Add comments to new gc_realloc, it has some bugs. 11 years ago
Damien George 73d579354b py: Small cosmetic changes to gc_realloc. 11 years ago
mux fbaa1479f4 Fix gc_realloc to expand in place 11 years ago
Damien George ce1162ab15 GC: Fix printf formats for debugging; add gc_dump_alloc_table. 11 years ago
Damien George 41eb6086b7 py: Remove more var arg names fro macros with var args. 11 years ago