[parrot/parrot] 6aa518: [gc] fix the GC regression GH #1159 in resizablepm...

GitHub noreply at github.com
Fri Dec 19 09:54:40 UTC 2014


  Branch: refs/heads/smoke-me/gc-gh1159
  Home:   https://github.com/parrot/parrot
  Commit: 6aa51883f931cf50c2dfb26c52699d8ddc73edd9
      https://github.com/parrot/parrot/commit/6aa51883f931cf50c2dfb26c52699d8ddc73edd9
  Author: Reini Urban <rurban at cpanel.net>
  Date:   2014-12-19 (Fri, 19 Dec 2014)

  Changed paths:
    M ChangeLog
    M src/pmc/resizablepmcarray.pmc
    M t/stress/gc.t

  Log Message:
  -----------
  [gc] fix the GC regression GH #1159 in resizablepmcarray

Always do PARROT_GC_WRITE_BARRIER with rpa unshift, even with the fast case.
The same with resize skip, where only the right side is adjusted.
Just skip the WB when the old size == new size.

This should fix the gc errors on small machines with big programs.
parrot-bench is now 1.2% slower.




More information about the parrot-commits mailing list