Branch: refs/heads/rurban/gcdebug-gh1108
  Home:   https://github.com/parrot/parrot
  Commit: 9fa4c901579adf95fb2404d05b2d0996afe6c533
      
https://github.com/parrot/parrot/commit/9fa4c901579adf95fb2404d05b2d0996afe6c533
  Author: Reini Urban <[email protected]>
  Date:   2014-11-07 (Fri, 07 Nov 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: 0c58c92316a5e39cafdcc20f37fa3900aa3744f4
      
https://github.com/parrot/parrot/commit/0c58c92316a5e39cafdcc20f37fa3900aa3744f4
  Author: Reini Urban <[email protected]>
  Date:   2014-11-07 (Fri, 07 Nov 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: 9a6b2f7cd4e0d2c21a6d87e869cdae679bae78da
      
https://github.com/parrot/parrot/commit/9a6b2f7cd4e0d2c21a6d87e869cdae679bae78da
  Author: Reini Urban <[email protected]>
  Date:   2014-11-07 (Fri, 07 Nov 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: e7b33d775ba652009a0d5b6bcaa1d3d832193586
      
https://github.com/parrot/parrot/commit/e7b33d775ba652009a0d5b6bcaa1d3d832193586
  Author: Reini Urban <[email protected]>
  Date:   2014-11-07 (Fri, 07 Nov 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


  Commit: 4ce630ee7aa2eb7aafcb30e4de8d058d2f378ec4
      
https://github.com/parrot/parrot/commit/4ce630ee7aa2eb7aafcb30e4de8d058d2f378ec4
  Author: Reini Urban <[email protected]>
  Date:   2014-11-07 (Fri, 07 Nov 2014)

  Changed paths:
    M include/parrot/runcore_trace.h
    M src/call/context.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/runcore/trace.c

  Log Message:
  -----------
  [gc] add trace_pmc_flags_dump

and use it within trace_pmc_dump and #1108, coro in wrong gen


  Commit: 5302eee511b25508fbf4679a61a3a195eaf1b2e5
      
https://github.com/parrot/parrot/commit/5302eee511b25508fbf4679a61a3a195eaf1b2e5
  Author: Reini Urban <[email protected]>
  Date:   2014-11-07 (Fri, 07 Nov 2014)

  Changed paths:
    M config/gen/makefiles/root.in
    M t/dynoplibs/debug.t

  Log Message:
  -----------
  [cage] fixup 2 test errors with pmc flags


  Commit: 5f715816f74c27b61b575d55fc2f64fa8272c9b9
      
https://github.com/parrot/parrot/commit/5f715816f74c27b61b575d55fc2f64fa8272c9b9
  Author: Reini Urban <[email protected]>
  Date:   2014-11-07 (Fri, 07 Nov 2014)

  Changed paths:
    M src/gc/gc_gms.c
    M src/runcore/trace.c

  Log Message:
  -----------
  [gc] dont stress the GC when tracing the GC

printf directly to stderr in trace_pmc_flags_dump, when not in the debugger


  Commit: 521b43aa70cbcadf1ac5c775a5b26ab8ba157f31
      
https://github.com/parrot/parrot/commit/521b43aa70cbcadf1ac5c775a5b26ab8ba157f31
  Author: Reini Urban <[email protected]>
  Date:   2014-11-07 (Fri, 07 Nov 2014)

  Changed paths:
    M src/call/context.c

  Log Message:
  -----------
  [gc] protect pcc_reuse_continuation from empty data

check for uninitialized continuation->data and allocate fresh then also.
simplify code a bit.


  Commit: b8c815c8e29d230b36ef911084918b47481cd943
      
https://github.com/parrot/parrot/commit/b8c815c8e29d230b36ef911084918b47481cd943
  Author: Reini Urban <[email protected]>
  Date:   2014-11-07 (Fri, 07 Nov 2014)

  Changed paths:
    M src/gc/gc_gms.c

  Log Message:
  -----------
  [gc] check empty work_list, optimize gc_gms for -UMEMORY_DEBUG

do not call dummy functions in the common case during GC.

for -DMEMORY_DEBUG only:
protect from empty work_list in check_sanity, which can
occur after the GC was already unblocked.


  Commit: 4997915bc3471c6c2bbaf876e710146e646e50c0
      
https://github.com/parrot/parrot/commit/4997915bc3471c6c2bbaf876e710146e646e50c0
  Author: Reini Urban <[email protected]>
  Date:   2014-11-07 (Fri, 07 Nov 2014)

  Changed paths:
    M config/auto/format.pm
    M config/gen/config_h/config_h.in
    M src/platform/darwin/sysmem.c
    M src/platform/generic/sysmem.c

  Log Message:
  -----------
  [gc] new uintval_fmt for size_t printf

memsize is unsigned for >2GB, and we need to print it properly.
otherwise it will print a negative number >4GB in i386


  Commit: b4792b4c3345dae2f81e4af2dda4363c3b54be8a
      
https://github.com/parrot/parrot/commit/b4792b4c3345dae2f81e4af2dda4363c3b54be8a
  Author: Reini Urban <[email protected]>
  Date:   2014-11-07 (Fri, 07 Nov 2014)

  Changed paths:
    M src/gc/gc_gms.c
    M src/gc/gc_private.h

  Log Message:
  -----------
  [gc] WIP more GC_DEBUG_DETAIL macros, allow wrong Coros

observe illegal Coros during the GC, Object from wrong generation.

Inline gc_gms_seal_object and gc_gms_unseal_object. They are hot.


  Commit: d3959a3ba2ce0c9ecf550bce409e9da19931cf52
      
https://github.com/parrot/parrot/commit/d3959a3ba2ce0c9ecf550bce409e9da19931cf52
  Author: Reini Urban <[email protected]>
  Date:   2014-11-07 (Fri, 07 Nov 2014)

  Changed paths:
    M compilers/imcc/imcc.l
    M compilers/imcc/imcc.y
    M src/runcore/trace.c
    M t/dynoplibs/debug.t
    M t/stress/threads.t

  Log Message:
  -----------
  trace: shorten the pmc flags and comma->space

fix t/dynoplibs/debug.t:
  %p on cygwin/newlib has no 0x


  Commit: 2eaac0a4756476fa4852aa0a4f118f57cdd50037
      
https://github.com/parrot/parrot/commit/2eaac0a4756476fa4852aa0a4f118f57cdd50037
  Author: Reini Urban <[email protected]>
  Date:   2014-11-07 (Fri, 07 Nov 2014)

  Changed paths:
    M config/auto/format.pm
    M config/gen/config_h/config_h.in
    M include/parrot/pointer_array.h
    M src/gc/gc_gms.c
    M src/interp/api.c

  Log Message:
  -----------
  [config] add SIZE_FMT to headers

needed to print size_t args, which is different to INTVAL_FMT on 32-bit.
printf %z is not supported on my C89 system, use explicit FMT is easier.


  Commit: 030bdb97ffd560e48808839863dc61ae78d695cc
      
https://github.com/parrot/parrot/commit/030bdb97ffd560e48808839863dc61ae78d695cc
  Author: Reini Urban <[email protected]>
  Date:   2014-11-07 (Fri, 07 Nov 2014)

  Changed paths:
    M src/gc/gc_gms.c

  Log Message:
  -----------
  temp: expand 2 POINTER_ARRAY_ITER macros

for easier debugging. fixed codingstd violations.


  Commit: 5def699b5ab2757f25606504abba6fc5731043ec
      
https://github.com/parrot/parrot/commit/5def699b5ab2757f25606504abba6fc5731043ec
  Author: Reini Urban <[email protected]>
  Date:   2014-11-07 (Fri, 07 Nov 2014)

  Changed paths:
    M src/runcore/trace.c

  Log Message:
  -----------
  [codingstd] for trace.c


Compare: https://github.com/parrot/parrot/compare/7891bfe95316...5def699b5ab2
_______________________________________________
http://lists.parrot.org/mailman/listinfo/parrot-commits

Reply via email to