[D-runtime] [D-Programming-Language/druntime] ff4129: new heap growth strategy

GitHub via D-runtime d-runtime at puremagic.com
Wed Feb 11 22:40:46 PST 2015


  Branch: refs/heads/master
  Home:   https://github.com/D-Programming-Language/druntime
  Commit: ff41295dff5d4b9d5a6ec29a713f3ab04f65ada5
      https://github.com/D-Programming-Language/druntime/commit/ff41295dff5d4b9d5a6ec29a713f3ab04f65ada5
  Author: Martin Nowak <code at dawg.eu>
  Date:   2015-02-11 (Wed, 11 Feb 2015)

  Changed paths:
    M src/gc/config.d
    M src/gc/gc.d

  Log Message:
  -----------
  new heap growth strategy

- keep track of used number of small/large pages
- update collect thresholds after each collection
- make heap size to used memory size ration configurable


  Commit: a61a12e758231ed04c547c6af1adf37a4fe1dbb0
      https://github.com/D-Programming-Language/druntime/commit/a61a12e758231ed04c547c6af1adf37a4fe1dbb0
  Author: Martin Nowak <code at dawg.eu>
  Date:   2015-02-12 (Thu, 12 Feb 2015)

  Changed paths:
    M src/gc/config.d

  Log Message:
  -----------
  refactor option parsing and parse heapSizeFactor as float


  Commit: bc8de1cf010906b2e79fec915fc140011d1df545
      https://github.com/D-Programming-Language/druntime/commit/bc8de1cf010906b2e79fec915fc140011d1df545
  Author: Martin Nowak <code at dawg.eu>
  Date:   2015-02-12 (Thu, 12 Feb 2015)

  Changed paths:
    M src/gc/gc.d

  Log Message:
  -----------
  use bool for flags

- pass nostack directly
- initiallized is only needed for debug(INVARIANT)


  Commit: 7f03d169e314a85b1056cb5947be99e62479f8ab
      https://github.com/D-Programming-Language/druntime/commit/7f03d169e314a85b1056cb5947be99e62479f8ab
  Author: Martin Nowak <code at dawg.eu>
  Date:   2015-02-12 (Thu, 12 Feb 2015)

  Changed paths:
    M src/gc/gc.d
    M src/gc/os.d

  Log Message:
  -----------
  limit memory usage to avoid OOM on 32-bit systems


  Commit: 76a1bb7179c245e396676975d3a229fdc576c439
      https://github.com/D-Programming-Language/druntime/commit/76a1bb7179c245e396676975d3a229fdc576c439
  Author: Martin Nowak <code at dawg.eu>
  Date:   2015-02-12 (Thu, 12 Feb 2015)

  Changed paths:
    M src/gc/gc.d

  Log Message:
  -----------
  minimize in smallAlloc after fullcollect when low on memory


  Commit: b7bbc48b9138c247cba4a6f7084d64aa792c62b5
      https://github.com/D-Programming-Language/druntime/commit/b7bbc48b9138c247cba4a6f7084d64aa792c62b5
  Author: Rainer Schuetze <r.sagitario at gmx.de>
  Date:   2015-02-12 (Thu, 12 Feb 2015)

  Changed paths:
    M src/gc/config.d
    M src/gc/gc.d
    M src/gc/os.d

  Log Message:
  -----------
  Merge pull request #1098 from MartinNowak/gcGrowth

new heap growth strategy


Compare: https://github.com/D-Programming-Language/druntime/compare/db4b4766f5d0...b7bbc48b9138


More information about the D-runtime mailing list