)]}'
{
  "commit": "481baa225b89b0bb95d7ed5a665381493cc3c044",
  "tree": "ec5bd3461c16c7e028ed06efe26993f2627fbec7",
  "parents": [
    "95339077f57ecc8165f8eff2ced2949fe41188b7"
  ],
  "author": {
    "name": "Xinhao Yuan",
    "email": "xinhaoyuan@google.com",
    "time": "Tue Oct 13 19:12:20 2026"
  },
  "committer": {
    "name": "Copybara-Service",
    "email": "copybara-worker@google.com",
    "time": "Tue Oct 13 19:13:16 2026"
  },
  "message": "Fix peak RSS calculation on macOS in FuzzTest watchdog.\n\nOn macOS (`__APPLE__`), `getrusage(RUSAGE_SELF, \u0026usage)` reports `ru_maxrss` in bytes rather than kilobytes (KiB) as on Linux. Previously, `GetPeakRSSBytes()` unconditionally multiplied `usage.ru_maxrss` by 1024, overreporting peak RSS usage by 1024x on macOS and causing FuzzTest targets to abort immediately when a non-zero RSS limit was configured.\n\nReturn `usage.ru_maxrss` directly on macOS in `GetPeakRSSBytes()` so watchdog RSS limit checks compare accurate byte counts across platforms.\n\nPiperOrigin-RevId: 998805274\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "2eb4f28a54033a6d9364dd4e687e19eb3bdff3fe",
      "old_mode": 33188,
      "old_path": "fuzztest/internal/runtime.cc",
      "new_id": "5df7ea7bbe514c389c26031da6bd5069134587f2",
      "new_mode": 33188,
      "new_path": "fuzztest/internal/runtime.cc"
    }
  ]
}
