aboutsummaryrefslogtreecommitdiff
path: root/py/gc.c
AgeCommit message (Expand)Author
2022-02-17py/gc: Update debug code to compile with changes to qstr pool types.Damien George
2021-11-01py/gc: Add hook to run code during time consuming GC operations.Laurens Valk
2021-06-18py/gc: Only use no_sanitize_address attribute for GCC 4.8 and above.Damien George
2021-05-30py/gc: Access the list of root pointers in an asan-compatible way.Jeff Epler
2021-05-10py/gc: Make gc_lock_depth have a count per thread.Damien George
2021-02-04all: Rename BYTES_PER_WORD to MP_BYTES_PER_OBJ_WORD.Damien George
2021-02-04py: Rename BITS_PER_BYTE to MP_BITS_PER_BYTE.Damien George
2021-01-30py/gc: Fix debug printing of pointer.stijn
2020-10-22py, extmod: Introduce and use MP_FALLTHROUGH macro.Emil Renner Berthing
2020-04-23all: Format code to add space after C++-style comment start.stijn
2020-02-28all: Reformat C and Python source code with tools/codeformat.py.Damien George
2020-02-28all: Add *FORMAT-OFF* in various places.Damien George
2020-01-23py/gc: Don't include or init gc_mutex when GIL is enabled.David Lechner
2019-05-17various: Add and update my copyright line based on git history.Paul Sokolovsky
2018-12-20py/gc: Adjust gc_alloc() signature to be able to accept multiple flags.Paul Sokolovsky
2018-08-14py/gc: In gc_alloc, reset n_free var right before search for free mem.Damien George
2018-08-02py: Fix compiling with debug enabled and make more use of DEBUG_printf.Damien George
2018-06-12py/gc: Add gc_sweep_all() function to run all remaining finalisers.Damien George
2018-05-21py/gc: When GC threshold is hit don't unnecessarily collect twice.Damien George
2018-05-13py/mpstate.h: Adjust start of root pointer section to exclude non-ptrs.Damien George
2018-02-19py/gc: Update comment now that gc_drain_stack is called gc_mark_subtree.Damien George
2018-02-19py/gc: Make GC stack pointer a local variable.Ayke van Laethem
2018-02-19py/gc: Rename gc_drain_stack to gc_mark_subtree and pass it first block.Ayke van Laethem
2018-02-19py/gc: Reduce code size by specialising VERIFY_MARK_AND_PUSH macro.Ayke van Laethem
2017-12-11py: Introduce a Python stack for scoped allocation.Damien George
2017-12-09py/gc: In sweep debug output, print pointer as a pointer.Paul Sokolovsky
2017-12-09py/gc: Factor out a macro to trace GC mark operations.Paul Sokolovsky
2017-12-08py/gc: Add CLEAR_ON_SWEEP option to debug mis-traced objects.Paul Sokolovsky
2017-11-29py/gc: In gc_realloc, convert pointer sanity checks to assertions.Damien George
2017-10-04all: Remove inclusion of internal py header files.Damien George
2017-08-15py: Add verbose debug compile-time flag MICROPY_DEBUG_VERBOSE.Stefan Naumann
2017-07-31all: Use the name MicroPython consistently in commentsAlexander Steffen
2017-07-12py/gc: Refactor assertions in gc_free function.Damien George
2017-04-12py/gc: Execute finaliser code in a protected environment.Damien George
2016-08-26py/gc: Add MICROPY_GC_CONSERVATIVE_CLEAR option to always zero memory.Damien George
2016-07-21py/gc: Implement GC running by allocation threshold.Paul Sokolovsky
2016-07-01py/gc: Calculate (and report) maximum contiguous free block size.Paul Sokolovsky
2016-06-30py/gc: Be sure to count last allocated block at heap end in stats.Paul Sokolovsky
2016-06-28py: Don't use gc or qstr mutex when the GIL is enabled.Damien George
2016-06-28py/gc: Fix GC+thread bug where ptr gets lost because it's not computed.Damien George
2016-06-28py/gc: Fix 2 cases of concurrent access to ATB and FTB.Damien George
2016-06-28py/gc: Make memory manager and garbage collector thread safe.Damien George
2016-06-28py: Add MP_STATE_THREAD to hold state specific to a given thread.Damien George
2016-05-13py/gc: gc_dump_alloc_table(): Dump heap offset instead of actual address.Paul Sokolovsky
2016-05-13gc: gc_dump_alloc_table(): Use '=' char for tail blocks.Paul Sokolovsky
2016-05-11py/gc: Make (byte)array type dumping conditional on these types being enabled.Paul Sokolovsky
2016-05-11py/gc: gc_dump_alloc_table(): Show byte/str and (byte)array objects.Paul Sokolovsky
2015-12-27py/gc: Improve mark/sweep debug output.Paul Sokolovsky
2015-12-18py/gc: When printing info, use %u instead of UINT_FMT for size_t args.Damien George
2015-12-16py/gc: Use size_t instead of mp_uint_t to count things related to heap.Damien George