[parrot/parrot] 55758d: [pmc] simplify more mark methods

GitHub noreply at github.com
Thu Nov 6 15:55:56 UTC 2014


  Branch: refs/heads/master
  Home:   https://github.com/parrot/parrot
  Commit: 55758d39f87d92569266f23efd11f8354726106e
      https://github.com/parrot/parrot/commit/55758d39f87d92569266f23efd11f8354726106e
  Author: Reini Urban <rurban at cpanel.net>
  Date:   2014-11-06 (Thu, 06 Nov 2014)

  Changed paths:
    M src/pmc/callcontext.pmc
    M src/pmc/nci.pmc
    M src/pmc/task.pmc

  Log Message:
  -----------
  [pmc] simplify more mark methods

get the data once, and access the fields directly.
shorter and more cache friendly


  Commit: 3d4e89ffae24968b0aca0209eed07993068bedf5
      https://github.com/parrot/parrot/commit/3d4e89ffae24968b0aca0209eed07993068bedf5
  Author: Reini Urban <rurban at cpanel.net>
  Date:   2014-11-06 (Thu, 06 Nov 2014)

  Changed paths:
    M src/pmc/continuation.pmc

  Log Message:
  -----------
  [gc] add missing PackFileView to continuation.mark

also simplify the code a bit


  Commit: 008cb48077ec3bed81b4c226c2b16f3e53309e15
      https://github.com/parrot/parrot/commit/008cb48077ec3bed81b4c226c2b16f3e53309e15
  Author: Reini Urban <rurban at cpanel.net>
  Date:   2014-11-06 (Thu, 06 Nov 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: 144f7c1578d8b0bdda38b73d5fa01207b5fb39dd
      https://github.com/parrot/parrot/commit/144f7c1578d8b0bdda38b73d5fa01207b5fb39dd
  Author: Reini Urban <rurban at cpanel.net>
  Date:   2014-11-06 (Thu, 06 Nov 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: 6ae83f577ee57fe9a9ce4a2c634c0491d6c18667
      https://github.com/parrot/parrot/commit/6ae83f577ee57fe9a9ce4a2c634c0491d6c18667
  Author: Reini Urban <rurban at cpanel.net>
  Date:   2014-11-06 (Thu, 06 Nov 2014)

  Changed paths:
    M lib/Parrot/Test.pm
    M t/harness
    M t/stress/gc.t

  Log Message:
  -----------
  [test gc] add real gc stress tests #1108

stress test all GCs, under tight memory --gc-nursery-size=0.0001
and additional --gc-debug runs, with additonal StringBuilder stress via -t
and check the exit codes.
Properly fix SIGNAL detection and error output in Parrot::Test for exit_code_is.
Fails 14/20 tests.

t/harness: add existing TEST_PROG_ARGS to tests single tests, e.g.
  ulimit -Sv 60000
  TEST_PROG_ARGS='--gc-nursery-size=0.05 ' perl t/harness --gc-debug t/pmc/*.t


  Commit: 76e549e1146aa102c0da7e19d225098eef64bffb
      https://github.com/parrot/parrot/commit/76e549e1146aa102c0da7e19d225098eef64bffb
  Author: Reini Urban <rurban at cpanel.net>
  Date:   2014-11-06 (Thu, 06 Nov 2014)

  Changed paths:
    M config/auto/inline.pm

  Log Message:
  -----------
  [config] improve auto::inline, uninitialized $test

and better --verbose return value


  Commit: 0f6ddac0f4a28c60c3694cdceb7d5986d149a3d5
      https://github.com/parrot/parrot/commit/0f6ddac0f4a28c60c3694cdceb7d5986d149a3d5
  Author: Reini Urban <rurban at cpanel.net>
  Date:   2014-11-06 (Thu, 06 Nov 2014)

  Changed paths:
    M src/gc/fixed_allocator.c
    M src/gc/gc_gms.c
    M src/pmc.c
    M src/pmc/callcontext.pmc

  Log Message:
  -----------
  [gc] initialize more stack-allocated ptrs

see GH #1067.
initialize more values on the C-stack to help the GC.
also change some mem_internal_* to mem_sys_*
mem_internal_* are only macros to mem_sys now.

testcase:
  valgrind --track-origins=yes ./parrot_old examples/benchmarks/dispatch.pir

There's still a remaining stack-object scanned,
int offset from runops(src/call/ops.c),
which can only be fixed with a precise GC.


  Commit: 49cd2dff424dfd4c8e011865633ce0e880c04774
      https://github.com/parrot/parrot/commit/49cd2dff424dfd4c8e011865633ce0e880c04774
  Author: Reini Urban <rurban at cpanel.net>
  Date:   2014-11-06 (Thu, 06 Nov 2014)

  Changed paths:
    M src/extend.c

  Log Message:
  -----------
  [core] initialize stackvars in Parrot_ext_call

we do not have a precise GC yet


  Commit: 2d74c3ea1394a47b2631793757bfadb8e3edf914
      https://github.com/parrot/parrot/commit/2d74c3ea1394a47b2631793757bfadb8e3edf914
  Author: Reini Urban <rurban at cpanel.net>
  Date:   2014-11-06 (Thu, 06 Nov 2014)

  Changed paths:
    M lib/Parrot/Test.pm
    M t/stress/gc.t

  Log Message:
  -----------
  [test] improve gc stress test

use pir not pasm,
print cmdline when failing


  Commit: 99124b0f8b834e75853bc4e7441a026674426d58
      https://github.com/parrot/parrot/commit/99124b0f8b834e75853bc4e7441a026674426d58
  Author: Reini Urban <rurban at cpanel.net>
  Date:   2014-11-06 (Thu, 06 Nov 2014)

  Changed paths:
    M ChangeLog

  Log Message:
  -----------
  ChangeLog for smoke-me/valgrind-stack-gh1067


Compare: https://github.com/parrot/parrot/compare/30675528273b...99124b0f8b83


More information about the parrot-commits mailing list