)]}'
{
  "commit": "53745f683b4d38fdd58e7af5ae6b0af8b0f995ca",
  "tree": "bb01a49facd66e487e25fb8c37bd8a1ff3a3e585",
  "parents": [
    "df673d2cb49a56773ec3cc68839eae02aed7612d"
  ],
  "author": {
    "name": "Noah Rose Ledesma",
    "email": "noahrose@google.com",
    "time": "Thu May 21 01:32:36 2026"
  },
  "committer": {
    "name": "Copybara-Service",
    "email": "copybara-worker@google.com",
    "time": "Mon Nov 09 19:30:31 2026"
  },
  "message": "Reland \"Use mmap for large Zucchini outputs\"\n\nThis is a reland of commit ad83d1807667be774d877cef4665e305fdeba042\n\nOriginal change\u0027s description:\n\u003e Use mmap for large Zucchini outputs\n\u003e\n\u003e Puffin\u0027s ApplyZucchiniPatch allocates a buffer on the heap to hold the\n\u003e result of applying a patch. Many software updates distributed by the\n\u003e Chrome updater can result in several hundred megabytes being allocated,\n\u003e resulting in a large number of OOM crashes in the wild.\n\u003e\n\u003e We previously mitigated the blast radius of these crashes by running\n\u003e patching out-of-process. However, wasting client and server resources by\n\u003e attempting patches which crash clients is not ideal.\n\u003e\n\u003e Implement a strategy in puffpatch.cc to attempt memory-mapped file\n\u003e backing for patches that generate files greater than 1MB.\n\u003e\n\u003e Note that puffin patching is also used in component \u0026 extension updates\n\u003e in the Chrome browser within a sandboxed utility process. In this\n\u003e context, filesystem access is restricted; temporary file creation is\n\u003e expected to fail and fall back to heap-buffer backing.\n\u003e\n\u003e Bug: 510027471\n\u003e Change-Id: I554a37a51a7345c61f256a9abe3aa48a6a6a6964\n\u003e Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/7845495\n\u003e Reviewed-by: Sorin Jianu \u003csorin@chromium.org\u003e\n\u003e Commit-Queue: Noah Rose Ledesma \u003cnoahrose@google.com\u003e\n\u003e Cr-Commit-Position: refs/heads/main@{#1630354}\n\nBug: 510027471\nChange-Id: I6b1e16be6e67905d92792077bff8d878b18ba78f\nReviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/7863659\nReviewed-by: Sorin Jianu \u003csorin@chromium.org\u003e\nCommit-Queue: Noah Rose Ledesma \u003cnoahrose@google.com\u003e\nCr-Commit-Position: refs/heads/main@{#1633984}\nNOKEYCHECK\u003dTrue\nGitOrigin-RevId: d903b279a44a04d4d6d323dc7ee4417519b770bc\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "c1f90a5e228081283fb1767ee0da07e79664f8c3",
      "old_mode": 33188,
      "old_path": "DEPS",
      "new_id": "b3c3103c40e9af0b68d69ce2400b3c1ee071f6c7",
      "new_mode": 33188,
      "new_path": "DEPS"
    },
    {
      "type": "modify",
      "old_id": "3a8456e1f7a20c041ba6907e6ed00824f535028e",
      "old_mode": 33188,
      "old_path": "src/puffpatch.cc",
      "new_id": "0dea67731944b0373b2bbb2b6408e1a26783f950",
      "new_mode": 33188,
      "new_path": "src/puffpatch.cc"
    }
  ]
}
