97 Commits (5630778f0f3a114f5b7d7f71f3df0bd1c3b378f6)

Author SHA1 Message Date
Damien George 5ffe1d8dc0 py/gc: Add MICROPY_GC_CONSERVATIVE_CLEAR option to always zero memory. 8 years ago
Paul Sokolovsky 93e353e384 py/gc: Implement GC running by allocation threshold. 8 years ago
Paul Sokolovsky 749cbaca7f py/gc: Calculate (and report) maximum contiguous free block size. 8 years ago
Paul Sokolovsky 6a6e0b7e05 py/gc: Be sure to count last allocated block at heap end in stats. 8 years ago
Damien George a1c93a62b1 py: Don't use gc or qstr mutex when the GIL is enabled. 9 years ago
Damien George 3653f5144a py/gc: Fix GC+thread bug where ptr gets lost because it's not computed. 9 years ago
Damien George e33806aaff py/gc: Fix 2 cases of concurrent access to ATB and FTB. 9 years ago
Damien George c93d9caa8b py/gc: Make memory manager and garbage collector thread safe. 9 years ago
Damien George 330165a2cc py: Add MP_STATE_THREAD to hold state specific to a given thread. 9 years ago
Paul Sokolovsky 68a7a92cec py/gc: gc_dump_alloc_table(): Dump heap offset instead of actual address. 9 years ago
Paul Sokolovsky 9a8751b006 gc: gc_dump_alloc_table(): Use '=' char for tail blocks. 9 years ago
Paul Sokolovsky bc04dc277e py/gc: Make (byte)array type dumping conditional on these types being enabled. 9 years ago
Paul Sokolovsky 3d7f3f00e0 py/gc: gc_dump_alloc_table(): Show byte/str and (byte)array objects. 9 years ago
Paul Sokolovsky 3ea03a1188 py/gc: Improve mark/sweep debug output. 9 years ago
Damien George acaccb37ec py/gc: When printing info, use %u instead of UINT_FMT for size_t args. 9 years ago
Damien George d977d268e8 py/gc: Use size_t instead of mp_uint_t to count things related to heap. 9 years ago
Damien George f7782f8082 py/gc: For finaliser, interpret a pointer into the heap as concrete obj. 9 years ago
Damien George 969e4bbe6a py/gc: Scan GC blocks as an array of pointers, not an array of objects. 9 years ago
Paul Sokolovsky 75feece208 py/gc: Make GC block size be configurable. 9 years ago
Damien George 999cedb90f py: Wrap all obj-ptr conversions in MP_OBJ_TO_PTR/MP_OBJ_FROM_PTR. 9 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 3a2171e406 py: Eliminate some cases which trigger unused parameter warnings. 9 years ago
Damien George ade9a05236 py: Improve allocation policy of qstr data. 10 years ago
Damien George e72cda99fd py: Convert occurrences of non-debug printf to mp_printf. 10 years ago
Damien George 12ab9eda8d py: Make heap printing compatible with 16-bit word size. 10 years ago
Damien George e1e359ff59 py: Put mp_sys_path, mp_sys_argv and gc_collected in mp_state_ctx_t. 10 years ago
Damien George abc1959e2c py, unix, lib: Allow to compile with -Wold-style-definition. 10 years ago
Damien George ec21405821 py: Add (commented out) code to gc_dump_alloc_table for qstr info. 10 years ago
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