[D-runtime] [D-Programming-Language/druntime] 85f392: use todo stack when traversing GC heap

GitHub via D-runtime d-runtime at puremagic.com
Fri Jan 16 05:15:24 PST 2015


  Branch: refs/heads/master
  Home:   https://github.com/D-Programming-Language/druntime
  Commit: 85f392dba41d48368b7b00e7ac7a9a4e6beeffab
      https://github.com/D-Programming-Language/druntime/commit/85f392dba41d48368b7b00e7ac7a9a4e6beeffab
  Author: Martin Nowak <code at dawg.eu>
  Date:   2015-01-15 (Thu, 15 Jan 2015)

  Changed paths:
    M src/gc/gc.d

  Log Message:
  -----------
  use todo stack when traversing GC heap

- collect all live objects in a todo stack
  to be marked later

- remove outer anychanges loop and scan GCBits

- only mark todo items after current mark(p1, p2) is done
  to benefit from cache locality, prefetcher and tail recursion


  Commit: d4371e14261f0c5aefa713089d479be250b216f9
      https://github.com/D-Programming-Language/druntime/commit/d4371e14261f0c5aefa713089d479be250b216f9
  Author: Martin Nowak <code at dawg.eu>
  Date:   2015-01-15 (Thu, 15 Jan 2015)

  Changed paths:
    M src/gc/gc.d

  Log Message:
  -----------
  reuse local stack when recursing


  Commit: 58a69af2168982d0799cde841cdb1169a3d7a243
      https://github.com/D-Programming-Language/druntime/commit/58a69af2168982d0799cde841cdb1169a3d7a243
  Author: Martin Nowak <code at dawg.eu>
  Date:   2015-01-15 (Thu, 15 Jan 2015)

  Changed paths:
    M src/gc/gc.d

  Log Message:
  -----------
  change init size of global toscan stack to 64kB


  Commit: d27e3939e002cfa0a492dc4d786aa26c4d47b4e2
      https://github.com/D-Programming-Language/druntime/commit/d27e3939e002cfa0a492dc4d786aa26c4d47b4e2
  Author: Rainer Schuetze <r.sagitario at gmx.de>
  Date:   2015-01-16 (Fri, 16 Jan 2015)

  Changed paths:
    M src/gc/gc.d

  Log Message:
  -----------
  Merge pull request #1073 from MartinNowak/gc

use todo stack when traversing GC heap


Compare: https://github.com/D-Programming-Language/druntime/compare/8fffa423fede...d27e3939e002


More information about the D-runtime mailing list