[parrot/parrot] 7b86dc: [GH #268] sysctl: check for HW_MEMSIZE

GitHub noreply at github.com
Tue Jan 22 17:26:33 UTC 2013

  Branch: refs/heads/rurban/darwin-memsize-gh268
  Home:   https://github.com/parrot/parrot
  Commit: 7b86dcde7d230343a1ce2aac185b5016e7483e3d
  Author: Reini Urban <rurban at cpanel.net>
  Date:   2013-01-22 (Tue, 22 Jan 2013)

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

  Log Message:
  [GH #268] sysctl: check for HW_MEMSIZE

HW_PHYSMEM returns max 2G as its a signed int only. Use HW_MEMSIZE if available.
This helps rakudo building core.pir doing less gc, which is triggered when 10% of total memory is allocated

More information about the parrot-commits mailing list