aboutsummaryrefslogtreecommitdiff
path: root/py/malloc.c
AgeCommit message (Expand)Author
2022-05-05py/malloc: Introduce m_tracked_calloc, m_tracked_free functions.Damien George
2020-02-28all: Reformat C and Python source code with tools/codeformat.py.Damien George
2020-02-28py/malloc: Put { on separate line for funcs that have selective sigs.Damien George
2018-07-09py/malloc: Give a compile warning if using finaliser without GC.Damien George
2017-12-20py/malloc: Remove unneeded code checking m_malloc return value.Damien George
2017-12-07py/malloc: Allow to use debug logging if !MICROPY_MALLOC_USES_ALLOCATED_SIZE.Paul Sokolovsky
2017-12-07py/malloc: MICROPY_MEM_STATS requires MICROPY_MALLOC_USES_ALLOCATED_SIZE.Paul Sokolovsky
2017-08-31py: Make m_malloc_fail() have void return type, since it doesn't return.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
2016-08-26py/gc: Add MICROPY_GC_CONSERVATIVE_CLEAR option to always zero memory.Damien George
2016-02-23py/malloc: Provide a proper malloc-based implementation of realloc_ext.Damien George
2015-07-14py: Improve allocation policy of qstr data.Damien George
2015-03-03py: Add MICROPY_MALLOC_USES_ALLOCATED_SIZE to allow simpler malloc API.Damien George
2015-01-07py: Put all global state together in state structures.Damien George
2015-01-01py: Move to guarded includes, everywhere in py/ core.Damien George
2014-10-31py: Make gc.enable/disable just control auto-GC; alloc is still allowed.Damien George
2014-10-23py: Clean up edge cases of malloc/realloc/free.Damien George
2014-09-25py: For malloc and vstr functions, use size_t exclusively for int type.Damien George
2014-06-21py: Include mpconfig.h before all other includes.Paul Sokolovsky
2014-05-03Add license header to (almost) all files.Damien George
2014-04-26py, gc: Only zero out the extra bytes at the end of the heap chunk.Damien George
2014-04-25py, gc: Zero out newly allocated blocks in the GC.Damien George
2014-04-10py: Check explicitly for memory allocation failure in parser.Damien George
2014-04-10py: Add emergency exception object for when heap allocation fails.Damien George
2014-04-05Improve GC finalisation code; add option to disable it.Damien George
2014-04-05Merge pull request #425 from iabdalkader/delDamien George
2014-04-04py: Add m_malloc_fail function to handle memory allocation error.Damien George
2014-04-03Implement delmux
2014-04-02py: Fix up so that it can compile without float.Damien George
2014-03-17py: Clean up includes.xbe
2014-02-26py: Remove name of var arg from macros with var args.Damien George
2014-02-16Make DEBUG_printf() a proper function, implementation is port-dependent.Paul Sokolovsky
2014-02-12Replace global "static" -> "STATIC", to allow "analysis builds". Part 2.Paul Sokolovsky
2014-02-11Generalize malloc-via-gc-heap support, make it available to unix port.Paul Sokolovsky
2014-02-10Get rid of calloc().Paul Sokolovsky
2014-01-30realloc(): Log original memory ptr too.Paul Sokolovsky
2014-01-29stm: Add optional memory debugging output.Damien George
2014-01-03Rename default config file to mpconfig.h, and port's to mpconfigport.h.Paul Sokolovsky
2014-01-03Make it possible to turn off collecting memory stats (MICROPY_MEM_STATS).Paul Sokolovsky
2014-01-03Add new alloc metric: peak_bytes_allocated.Paul Sokolovsky
2014-01-03Add new alloc metric: current_bytes_allocated.Paul Sokolovsky
2014-01-03m_realloc: Account only allocation size difference in total_bytes_allocated.Paul Sokolovsky
2013-12-29Change memory allocation API to require size for free and realloc.Damien
2013-10-23Fix func decls with no arguments: () -> (void).Damien
2013-10-04Initial commit.Damien