97 Commits (5630778f0f3a114f5b7d7f71f3df0bd1c3b378f6)

Author SHA1 Message Date
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
Paul Sokolovsky 44739e280e Make DEBUG_printf() a proper function, implementation is port-dependent. 11 years ago
Paul Sokolovsky 520e2f58a5 Replace global "static" -> "STATIC", to allow "analysis builds". Part 2. 11 years ago
Paul Sokolovsky 723a6ed371 More GC debugging improvements. 11 years ago
Paul Sokolovsky c0a8374103 gc: Don't segfault if gc_realloc() fails. 11 years ago
Paul Sokolovsky af19cbd201 gc: Make debug output configurable, revamp test function. 11 years ago
Damien George 0004a84ec0 Revert "Move gc_collect to py/gc.c" 11 years ago
mux a215b09c0d Move gc_collect to py/gc.c 11 years ago
Paul Sokolovsky fc5aac82cb Move BITS_PER_BYTE, BITS_PER_WORD to mpconfig.h for reuse. 11 years ago
John R. Lenton 9c83ec0eda Merge remote-tracking branch 'upstream/master' into dict_feats 11 years ago
Damien George d3ebe4829d Factor and simplify Makefile's and mpconfig, part 2. 11 years ago
Damien d99b05282d Change object representation from 1 big union to individual structs. 11 years ago
Damien d2c1a732e5 Call gc_free in gc_realloc after allocating new block. 11 years ago
Damien 8b3a7c2237 Fix func decls with no arguments: () -> (void). 11 years ago
Damien bb5316b905 gc: reserve first block; lexer: free vstr. 11 years ago
Damien fd8b6bcf55 Add gc_free function to force a block to be freed. 11 years ago
Damien eefcc79022 Clear ATBs on gc_init; better gc_info. 11 years ago
Damien dcced92c26 Add mark-sweep garbage collector. 11 years ago