[parrot/parrot] 445f3b: [GH #935] honor user-rlimits for returned sysmem_a...

GitHub noreply at github.com
Sat Oct 25 16:04:21 UTC 2014


  Branch: refs/heads/master
  Home:   https://github.com/parrot/parrot
  Commit: 445f3ba32dbfae7c76f47a1e98ecd554af8276e1
      https://github.com/parrot/parrot/commit/445f3ba32dbfae7c76f47a1e98ecd554af8276e1
  Author: Reini Urban <rurban at cpanel.net>
  Date:   2014-10-25 (Sat, 25 Oct 2014)

  Changed paths:
    M config/auto/headers.pm
    M src/platform/generic/sysmem.c

  Log Message:
  -----------
  [GH #935] honor user-rlimits for returned sysmem_amount (untested)

We need to check for RLIMIT_DATA and then RLIMIT_AS,
first hard, then soft limits.


  Commit: 5737f518a1e309708d21976383e57fb9c3698c09
      https://github.com/parrot/parrot/commit/5737f518a1e309708d21976383e57fb9c3698c09
  Author: Reini Urban <rurban at cpanel.net>
  Date:   2014-10-25 (Sat, 25 Oct 2014)

  Changed paths:
    M t/stress/gc.t

  Log Message:
  -----------
  [GH #935] add t/stress/gc.t

use from cmd-line as ./parrot t/stress/gc_2.pir 1000000
ulimit -Sv 64000
./parrot t/stress/gc_3.pir 1000000
ulimit -Sv unlimited


  Commit: a43b2efbbf7cb1edc3cbc34e640941d509a6c655
      https://github.com/parrot/parrot/commit/a43b2efbbf7cb1edc3cbc34e640941d509a6c655
  Author: Reini Urban <rurban at cpanel.net>
  Date:   2014-10-25 (Sat, 25 Oct 2014)

  Changed paths:
    M ChangeLog
    M src/platform/darwin/sysmem.c
    M src/platform/generic/sysmem.c

  Log Message:
  -----------
  honor rlimit on darwin also (just RSS, not AS) GH #935

With this change and ulimit -v 640 the GC bugs are easily
reproduced now also on darwin.


  Commit: a918161dcff5f7177894c673371b21f8bc9b6db7
      https://github.com/parrot/parrot/commit/a918161dcff5f7177894c673371b21f8bc9b6db7
  Author: Reini Urban <rurban at cpanel.net>
  Date:   2014-10-25 (Sat, 25 Oct 2014)

  Changed paths:
    M ChangeLog
    M config/auto/headers.pm
    M src/platform/darwin/sysmem.c
    M src/platform/generic/sysmem.c
    M t/stress/gc.t

  Log Message:
  -----------
  Merge branch 'smoke-me/rlimit-gh935'


Compare: https://github.com/parrot/parrot/compare/73b6f58cf3f4...a918161dcff5


More information about the parrot-commits mailing list