[parrot/parrot] d70c95: [gc] decruft -DMEMORY_DEBUG and DETAIL_MEMORY_DEBU...
GitHub
noreply at github.com
Sun Oct 26 09:14:56 UTC 2014
Branch: refs/heads/rurban/gcdebug-gh1108
Home: https://github.com/parrot/parrot
Commit: d70c95b86dd6ead4861e59545b61dcd0968d3f8b
https://github.com/parrot/parrot/commit/d70c95b86dd6ead4861e59545b61dcd0968d3f8b
Author: Reini Urban <rurban at cpanel.net>
Date: 2014-10-26 (Sun, 26 Oct 2014)
Changed paths:
M include/parrot/interpreter.h
M src/gc/alloc_memory.c
M src/gc/gc_gms.c
M src/gc/gc_inf.c
M src/gc/gc_ms.c
M src/gc/gc_ms2.c
M src/gc/gc_private.h
M src/platform/darwin/sysmem.c
M src/platform/generic/sysmem.c
Log Message:
-----------
[gc] decruft -DMEMORY_DEBUG and DETAIL_MEMORY_DEBUG, add -D100
Check -D100 instead of DETAIL_MEMORY_DEBUG when -DMEMORY_DEBUG is enabled.
This way we can run -D101 and -D1 to get verbose and non-verbose GC tracings.
Add new MEMORY_DEBUG_DETAIL_2 macro for fprintf helpers all over.
Move common panic_failed_allocation into gc_private.h, maybe the other
common gc memory funcs also to save space.
Print avail sysmem on startup with -D1.
GH #1108
Commit: 4adfc6642e51ad553b459bfb3827ed17dc14ad4c
https://github.com/parrot/parrot/commit/4adfc6642e51ad553b459bfb3827ed17dc14ad4c
Author: Reini Urban <rurban at cpanel.net>
Date: 2014-10-26 (Sun, 26 Oct 2014)
Changed paths:
M include/parrot/interpreter.h
M src/call/context_accessors.c
Log Message:
-----------
[core] enable Interp_debug_TEST and flags with flag combinations
Now you can check for multiple flags, e.g.
if (Interp_debug_TEST(interp,
PARROT_MEM_STAT_DEBUG_FLAG | PARROT_GC_DETAIL_DEBUG_FLAG))
Was used only for single flags, so no changes for existing code.
Document the single flag limitation for the left-over trace_flags test.
There's no -t flag combination, like verbose yet.
Compare: https://github.com/parrot/parrot/compare/d70c95b86dd6^...4adfc6642e51
More information about the parrot-commits
mailing list