)]}'
{
  "commit": "33d5fa33d688e7867fa4c3952b5b645036c52309",
  "tree": "12285c5077c600c234a5510d072adfd2744c0ba9",
  "parents": [
    "8a9839d8f3bf324bb434abf5ff1791d8ec08af98"
  ],
  "author": {
    "name": "martinprobst",
    "email": "martinprobst@google.com",
    "time": "Tue Jul 24 10:31:35 2018 +0200"
  },
  "committer": {
    "name": "Florian Weikert",
    "email": "fwe@google.com",
    "time": "Fri Jul 27 18:47:16 2018 +0200"
  },
  "message": "Do not attempt to evict currently compiling files from cache.\n\nTypeScript\u0027s compiler holds hard references to source files for the\nentire duration of a compilation. These files cannot be garbage\ncollected, so evicting them from the current cache does not actually\nfree memory.\n\nThis caused particularly bad caching behaviour where if the sources for\none compilation unit were larger than the cache, tsc_wrapped would empty\nout its entire cache trying to free up memory with no effect, rendering\nthe cache ineffectual.\n\nInstead, this change pins source files that are part of the current\ncompilation unit (as tracked by the list of current digests).\n\nThis also undoes the generalisation of FileCache. Apparently its reuse\nin the linter never materialized. Given the specific knowledge about\nfile digests, this also seems unlikely in the future.\n\nWhile at it, this also fixes some warnings across the files, uses an ES6\nMap for the digests, and improves performance of the strict deps test by\ncaching lib.d.ts ASTs.\n\nPiperOrigin-RevId: 205792937\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "068110b805c726103a7e01685d653abf7a2a98bf",
      "old_mode": 33188,
      "old_path": "internal/tsc_wrapped/compiler_host.ts",
      "new_id": "9e95fd62bc0d64ba54bb3a0bc52907eb63aa63af",
      "new_mode": 33188,
      "new_path": "internal/tsc_wrapped/compiler_host.ts"
    },
    {
      "type": "modify",
      "old_id": "6fa2eb87404173fac651e89c30f69f68bda1b0c3",
      "old_mode": 33188,
      "old_path": "internal/tsc_wrapped/diagnostics_test.ts",
      "new_id": "fceece44374bc125c4f391fa71da641127ff1090",
      "new_mode": 33188,
      "new_path": "internal/tsc_wrapped/diagnostics_test.ts"
    },
    {
      "type": "modify",
      "old_id": "87613bcead1f31fa638788453cd9adea52a0318d",
      "old_mode": 33188,
      "old_path": "internal/tsc_wrapped/file_cache.ts",
      "new_id": "b5371a9a8a2942cc8784ef4de20dfa13ca85f368",
      "new_mode": 33188,
      "new_path": "internal/tsc_wrapped/file_cache.ts"
    },
    {
      "type": "modify",
      "old_id": "9b1785f909ae34d00fa6256973f5475bfbcbc285",
      "old_mode": 33188,
      "old_path": "internal/tsc_wrapped/file_cache_test.ts",
      "new_id": "082291bdf19a364c88c21e5a648c2357b3bec32c",
      "new_mode": 33188,
      "new_path": "internal/tsc_wrapped/file_cache_test.ts"
    },
    {
      "type": "modify",
      "old_id": "6d604c0d89681aaec35827b3b789b33f77b24b04",
      "old_mode": 33188,
      "old_path": "internal/tsc_wrapped/perf_trace.ts",
      "new_id": "3e0399ff60d8c684ae4490781b8942526466840f",
      "new_mode": 33188,
      "new_path": "internal/tsc_wrapped/perf_trace.ts"
    },
    {
      "type": "modify",
      "old_id": "941424c434685d5d7ed5f7fb61021f591106a6a6",
      "old_mode": 33188,
      "old_path": "internal/tsc_wrapped/strict_deps_test.ts",
      "new_id": "6937d0d8e5935a321489c2a072e200beeb88b313",
      "new_mode": 33188,
      "new_path": "internal/tsc_wrapped/strict_deps_test.ts"
    },
    {
      "type": "modify",
      "old_id": "3e341ac70efd371670ef00201e33841f62fe6c33",
      "old_mode": 33188,
      "old_path": "internal/tsc_wrapped/test_support.ts",
      "new_id": "2465cfd29ec30c65897616ca23851765cdb42b6c",
      "new_mode": 33188,
      "new_path": "internal/tsc_wrapped/test_support.ts"
    },
    {
      "type": "modify",
      "old_id": "286e6f8b93bafe8240122cbb9be911f60cafe4d6",
      "old_mode": 33188,
      "old_path": "internal/tsc_wrapped/tsc_wrapped.ts",
      "new_id": "161a11aada666d6bf3d22ebbfa392a948d6e52da",
      "new_mode": 33188,
      "new_path": "internal/tsc_wrapped/tsc_wrapped.ts"
    },
    {
      "type": "modify",
      "old_id": "e4d27bd5d8a79e2928a119d1270423adbc526709",
      "old_mode": 33188,
      "old_path": "internal/tsc_wrapped/tsconfig_test.ts",
      "new_id": "63d3e7b5eadfc97ebc907c6449a2cd72eba0e983",
      "new_mode": 33188,
      "new_path": "internal/tsc_wrapped/tsconfig_test.ts"
    },
    {
      "type": "modify",
      "old_id": "da71d31aa7fdba8204cdf2425ea7100e8da97fe6",
      "old_mode": 33188,
      "old_path": "internal/tsc_wrapped/worker.ts",
      "new_id": "aacb7b8f0bb078c185630251c92ab3496a635e1c",
      "new_mode": 33188,
      "new_path": "internal/tsc_wrapped/worker.ts"
    }
  ]
}
