Linaro Git Browser
Code Review
Sign In
review.linaro.org
/
lite
/
micropython
/
bec7bfb29d76f995dbf223c20f5d04ae1e33cee6
/
py
/
malloc.c
5ffe1d8
py/gc: Add MICROPY_GC_CONSERVATIVE_CLEAR option to always zero memory.
by Damien George
· 9 years ago
e9d1a94
py/malloc: Provide a proper malloc-based implementation of realloc_ext.
by Damien George
· 9 years ago
ade9a05
py: Improve allocation policy of qstr data.
by Damien George
· 10 years ago
d891452
py: Add MICROPY_MALLOC_USES_ALLOCATED_SIZE to allow simpler malloc API.
by Damien George
· 10 years ago
b4b10fd
py: Put all global state together in state structures.
by Damien George
· 11 years ago
51dfcb4
py: Move to guarded includes, everywhere in py/ core.
by Damien George
· 11 years ago
109c1de
py: Make gc.enable/disable just control auto-GC; alloc is still allowed.
by Damien George
· 11 years ago
37378f8
py: Clean up edge cases of malloc/realloc/free.
by Damien George
· 11 years ago
b026134
py: For malloc and vstr functions, use size_t exclusively for int type.
by Damien George
· 11 years ago
59c675a
py: Include mpconfig.h before all other includes.
by Paul Sokolovsky
· 11 years ago
04b9147
Add license header to (almost) all files.
by Damien George
· 11 years ago
32bef31
py, gc: Only zero out the extra bytes at the end of the heap chunk.
by Damien George
· 11 years ago
daab651
py, gc: Zero out newly allocated blocks in the GC.
by Damien George
· 11 years ago
58ba4c3
py: Check explicitly for memory allocation failure in parser.
by Damien George
· 11 years ago
f0954e3
py: Add emergency exception object for when heap allocation fails.
by Damien George
· 11 years ago
12bab72
Improve GC finalisation code; add option to disable it.
by Damien George
· 11 years ago
8123a33
Merge pull request #425 from iabdalkader/del
by Damien George
· 11 years ago
6902eed
py: Add m_malloc_fail function to handle memory allocation error.
by Damien George
· 11 years ago
4f7e9f5
Implement del
by mux
· 11 years ago
70f33cd
py: Fix up so that it can compile without float.
by Damien George
· 11 years ago
efe3422
py: Clean up includes.
by xbe
· 11 years ago
1dc76af
py: Remove name of var arg from macros with var args.
by Damien George
· 11 years ago
44739e2
Make DEBUG_printf() a proper function, implementation is port-dependent.
by Paul Sokolovsky
· 11 years ago
520e2f5
Replace global "static" -> "STATIC", to allow "analysis builds". Part 2.
by Paul Sokolovsky
· 11 years ago
b62c30b
Generalize malloc-via-gc-heap support, make it available to unix port.
by Paul Sokolovsky
· 11 years ago
58ff93b
Get rid of calloc().
by Paul Sokolovsky
· 11 years ago
cdd2c62
realloc(): Log original memory ptr too.
by Paul Sokolovsky
· 12 years ago
2d15c12
stm: Add optional memory debugging output.
by Damien George
· 12 years ago
b372bfc
Rename default config file to mpconfig.h, and port's to mpconfigport.h.
by Paul Sokolovsky
· 12 years ago
ef18102
Make it possible to turn off collecting memory stats (MICROPY_MEM_STATS).
by Paul Sokolovsky
· 12 years ago
780f555
Add new alloc metric: peak_bytes_allocated.
by Paul Sokolovsky
· 12 years ago
02de0c5
Add new alloc metric: current_bytes_allocated.
by Paul Sokolovsky
· 12 years ago
43f1c80
m_realloc: Account only allocation size difference in total_bytes_allocated.
by Paul Sokolovsky
· 12 years ago
732407f
Change memory allocation API to require size for free and realloc.
by Damien
· 12 years ago
8b3a7c2
Fix func decls with no arguments: () -> (void).
by Damien
· 12 years ago
429d719
Initial commit.
by Damien
· 12 years ago