[parrot/parrot] 8afd19: [gc] decruft -DMEMORY_DEBUG and DETAIL_MEMORY_DEBU...
GitHub
noreply at github.com
Mon Oct 27 11:08:40 UTC 2014
Branch: refs/heads/rurban/gcdebug-gh1108
Home: https://github.com/parrot/parrot
Commit: 8afd1928c9a9bc447f06f44cd51ded70154dea63
https://github.com/parrot/parrot/commit/8afd1928c9a9bc447f06f44cd51ded70154dea63
Author: Reini Urban <rurban at cpanel.net>
Date: 2014-10-27 (Mon, 27 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: bc7ae97b0045dc649fa5480bad5c5da77e64f924
https://github.com/parrot/parrot/commit/bc7ae97b0045dc649fa5480bad5c5da77e64f924
Author: Reini Urban <rurban at cpanel.net>
Date: 2014-10-27 (Mon, 27 Oct 2014)
Changed paths:
M include/parrot/interpreter.h
M src/call/context_accessors.c
M src/gc/gc_private.h
M src/platform/darwin/sysmem.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.
Commit: 9cfd6f2958164fed2b0faf396d27feacbb608c34
https://github.com/parrot/parrot/commit/9cfd6f2958164fed2b0faf396d27feacbb608c34
Author: Reini Urban <rurban at cpanel.net>
Date: 2014-10-27 (Mon, 27 Oct 2014)
Changed paths:
M src/io/api.c
M src/io/io_private.h
Log Message:
-----------
[cage] unconst IO_VTABLE * vtables, -Wcast-qual cannot be suppressed
see e.g. https://stackoverflow.com/questions/13249756/explicit-ignore-warning-from-wcast-qual-cast-discards-attribute-const#comment38552597_13253997
2 remaining -Wcast-qual warnings for legacy API.
Commit: e56decf3db0b8557e15e69f365440be7de2acfc5
https://github.com/parrot/parrot/commit/e56decf3db0b8557e15e69f365440be7de2acfc5
Author: Reini Urban <rurban at cpanel.net>
Date: 2014-10-27 (Mon, 27 Oct 2014)
Changed paths:
M docs/binaries/parrot.pod
M docs/running.pod
M frontend/parrot/main.c
M frontend/parrot2/main.c
M include/parrot/api.h
M include/parrot/gc_api.h
M include/parrot/interpreter.h
M src/embed/api.c
M src/gc/api.c
M src/gc/gc_gms.c
M src/gc/gc_ms2.c
M src/gc/gc_private.h
M src/interp/api.c
Log Message:
-----------
[gc] check -D1 in startup, add -D2xx MEM_DETAIL_DEBUG_FLAG
Print GS and Memory info on -D1.
Add seperate GC_DEBUG_DETAIL_2 tracer to seperate it from
MEM_DETAIL_DEBUG_FLAG tracing for every single alloc/free.
Document the two new -D100 and -D200 flags with --ccflags=-DMEMORY_DEBUG
Commit: 1896d4e4aa40b9c024467129aa11f9978ec31bb7
https://github.com/parrot/parrot/commit/1896d4e4aa40b9c024467129aa11f9978ec31bb7
Author: Reini Urban <rurban at cpanel.net>
Date: 2014-10-27 (Mon, 27 Oct 2014)
Changed paths:
M src/pmc/coroutine.pmc
M src/pmc/sub.pmc
Log Message:
-----------
[pmc] add Coroutine.mark with caller_seg
Coroutine.mark was just calling Sub.mark and missed to mark
the caller_seg. Do it now properly with inheritance.
Note that this does not fix GH #1109, which is a Coro in a wrong gen
Commit: 79d89502d4196a4c0aa2653111b0b78fdcb9c516
https://github.com/parrot/parrot/commit/79d89502d4196a4c0aa2653111b0b78fdcb9c516
Author: Reini Urban <rurban at cpanel.net>
Date: 2014-10-27 (Mon, 27 Oct 2014)
Changed paths:
M ChangeLog
M src/gc/gc_gms.c
Log Message:
-----------
[gc] Better -D1 printout. ChangeLog #1108
$ ulimit -Sv 640
$ ./parrot -D1
Free Memory: 8589934592
Memory via rlimit restricted to: 655360
GC nursery size: 2.0%
GMS GC threshold: 13107
Compare: https://github.com/parrot/parrot/compare/2b3e739071f7...79d89502d419
More information about the parrot-commits
mailing list