)]}' { "commit": "854e52500088e918032f6d3a8db6b47b00255243", "tree": "7e74fec447263315d5656022a296f3e29b20d1cc", "parents": [ "c816856dce5dae7ab9c7f39194faacc2763639a3" ], "author": { "name": "janakr", "email": "janakr@google.com", "time": "Fri Nov 10 14:20:22 2017 -0800" }, "committer": { "name": "Copybara-Service", "email": "copybara-piper@google.com", "time": "Fri Nov 10 14:22:08 2017 -0800" }, "message": "RELNOTES: --keep_incrementality_data flag allows Bazel servers to be run in memory-saving non-incremental mode independent of --batch and --discard_analysis_cache.\n\nA command run with --nokeep_incrementality_data will discard data that would be needed for incremental builds. Subsequent commands can be sent to the same server, but they will not get the benefit of incrementality from this command. However, if --keep_incrementality_data is specified on a subsequent command, the commands after that will get the benefits of incrementality.\n\nThere are two benefits to not being dependent on --batch. First, this allows Bazel servers to be run in extreme memory-saving mode without the startup penalties (JVM startup, JITting) that --batch execution imposes. Second, this allows Bazel developers to inspect the state of a Bazel server after an extreme memory-saving build.\n\nIn order to avoid discarding data unnecessarily (for instance, on a \"bazel info used-heap-size-after-gc\" or \"bazel dump --skyframe\u003dsummary\") the actual resetting of the graph is done lazily, right before its use in SequencedSkyframeExecutor#sync. This is morally a partial rollback of https://github.com/bazelbuild/bazel/commit/98cd82cbdcac7c48164a611c5a9aa8fc2f1720ef.\n\nFor now, our tests specify all of the flags. After this change sticks, I plan to get rid of the --batch flag from these tests, which should allow for some clean-ups. Eventually --batch and --discard_analysis_cache may not imply that we don\u0027t keep incremental state: we can require that it be specified explicitly.\n\nPiperOrigin-RevId: 175335075\n", "tree_diff": [ { "type": "modify", "old_id": "c6e5649a9f60bd861c56d3940ad59a37a61d3a69", "old_mode": 33188, "old_path": "src/main/java/com/google/devtools/build/lib/BUILD", "new_id": "b107cba24f0372eb8ea463ea145173e98c0bb366", "new_mode": 33188, "new_path": "src/main/java/com/google/devtools/build/lib/BUILD" }, { "type": "modify", "old_id": "1780b1e4c566b6324d5c3654eb2c12e0fe27ad00", "old_mode": 33188, "old_path": "src/main/java/com/google/devtools/build/lib/analysis/config/BuildConfigurationCollection.java", "new_id": "fb9a66a8c44ac46f1e5341d31438bb450b7b0b06", "new_mode": 33188, "new_path": "src/main/java/com/google/devtools/build/lib/analysis/config/BuildConfigurationCollection.java" }, { "type": "modify", "old_id": "c6b4c7595f29e9c47caa482c583561fccae062b0", "old_mode": 33188, "old_path": "src/main/java/com/google/devtools/build/lib/buildtool/BuildRequest.java", "new_id": "6a489ccfa25f92e19dfcf7e97ee8e975db285c85", "new_mode": 33188, "new_path": "src/main/java/com/google/devtools/build/lib/buildtool/BuildRequest.java" }, { "type": "add", "old_id": "0000000000000000000000000000000000000000", "old_mode": 0, "old_path": "/dev/null", "new_id": "a77123795558432d73acad147c9daf9045379ec6", "new_mode": 33188, "new_path": "src/main/java/com/google/devtools/build/lib/buildtool/BuildRequestOptions.java" }, { "type": "modify", "old_id": "72908523f05f172130db5baba412f3043f482718", "old_mode": 33188, "old_path": "src/main/java/com/google/devtools/build/lib/buildtool/BuildTool.java", "new_id": "d785f51ee60742284a7af493b91a39ae59a8d424", "new_mode": 33188, "new_path": "src/main/java/com/google/devtools/build/lib/buildtool/BuildTool.java" }, { "type": "modify", "old_id": "24d859a915cd19415b71183a5c212a1107aa86d0", "old_mode": 33188, "old_path": "src/main/java/com/google/devtools/build/lib/buildtool/ExecutionTool.java", "new_id": "e878b6fe2fbcd948955df20768adb8170fc54d3f", "new_mode": 33188, "new_path": "src/main/java/com/google/devtools/build/lib/buildtool/ExecutionTool.java" }, { "type": "modify", "old_id": "d8e5a51876ace07edec9abcf0c5a6c6e35aed61f", "old_mode": 33188, "old_path": "src/main/java/com/google/devtools/build/lib/runtime/CommandEnvironment.java", "new_id": "54552a6c5f9b562e54d278a5c9996ee40073e9b0", "new_mode": 33188, "new_path": "src/main/java/com/google/devtools/build/lib/runtime/CommandEnvironment.java" }, { "type": "modify", "old_id": "5f8077f2e6f23025f9bd67d7f6ca042d933d3540", "old_mode": 33188, "old_path": "src/main/java/com/google/devtools/build/lib/runtime/commands/BuildCommand.java", "new_id": "d0aa57bb816395b6183b64faa60da8d1b2ac0c84", "new_mode": 33188, "new_path": "src/main/java/com/google/devtools/build/lib/runtime/commands/BuildCommand.java" }, { "type": "modify", "old_id": "88ff555570a87acda450c3a0115de403017d561d", "old_mode": 33188, "old_path": "src/main/java/com/google/devtools/build/lib/runtime/commands/CleanCommand.java", "new_id": "ba0ca599ba13c132a472e7efc5545c55339ed72e", "new_mode": 33188, "new_path": "src/main/java/com/google/devtools/build/lib/runtime/commands/CleanCommand.java" }, { "type": "modify", "old_id": "17f204ae8f1cd8fcc99506d72f6ce65f36e4410e", "old_mode": 33188, "old_path": "src/main/java/com/google/devtools/build/lib/runtime/commands/RunCommand.java", "new_id": "aee56d498af7b99dfb3f136d310845e2a9391d3c", "new_mode": 33188, "new_path": "src/main/java/com/google/devtools/build/lib/runtime/commands/RunCommand.java" }, { "type": "modify", "old_id": "cf3c2cf7b85e861bd85f8bd855f5d9c17fbd17e4", "old_mode": 33188, "old_path": "src/main/java/com/google/devtools/build/lib/skyframe/SequencedSkyframeExecutor.java", "new_id": "5dac255451925faaee8c9be55f6d87c97ba1962c", "new_mode": 33188, "new_path": "src/main/java/com/google/devtools/build/lib/skyframe/SequencedSkyframeExecutor.java" }, { "type": "modify", "old_id": "413ea01fc1d6bbffd33e383552c84db348c6145f", "old_mode": 33188, "old_path": "src/main/java/com/google/devtools/build/lib/skyframe/SkyframeExecutor.java", "new_id": "ec365660ce3ec85a5d4af5d685358c882b3b4131", "new_mode": 33188, "new_path": "src/main/java/com/google/devtools/build/lib/skyframe/SkyframeExecutor.java" }, { "type": "modify", "old_id": "ec636b324e1a58e981da5cd86c43136561e89b14", "old_mode": 33188, "old_path": "src/main/java/com/google/devtools/build/skyframe/InMemoryMemoizingEvaluator.java", "new_id": "541d34078321b684f517341f2792a28439fdbafd", "new_mode": 33188, "new_path": "src/main/java/com/google/devtools/build/skyframe/InMemoryMemoizingEvaluator.java" }, { "type": "modify", "old_id": "06bc83288a9f5ed9bd5600204d0968d8318d3de1", "old_mode": 33188, "old_path": "src/test/java/com/google/devtools/build/lib/BUILD", "new_id": "a9fc419f2e554e97bf6580f06dcdbd4099e54a53", "new_mode": 33188, "new_path": "src/test/java/com/google/devtools/build/lib/BUILD" }, { "type": "modify", "old_id": "5786637f7b8e5eab1443488cd5ce5c7523211c2a", "old_mode": 33188, "old_path": "src/test/java/com/google/devtools/build/lib/analysis/util/AnalysisTestCase.java", "new_id": "16c991b8ac423e52a485d9b4e64066572d66236a", "new_mode": 33188, "new_path": "src/test/java/com/google/devtools/build/lib/analysis/util/AnalysisTestCase.java" }, { "type": "modify", "old_id": "987dce90ce02df590944ade806cb47502b11c4ed", "old_mode": 33188, "old_path": "src/test/java/com/google/devtools/build/lib/analysis/util/BuildViewTestCase.java", "new_id": "1a5b3dcf1188b542351a2a02a0098eef270c684e", "new_mode": 33188, "new_path": "src/test/java/com/google/devtools/build/lib/analysis/util/BuildViewTestCase.java" }, { "type": "modify", "old_id": "17907103583ca4b41a39c7b5d2d85f0251ebfcd9", "old_mode": 33188, "old_path": "src/test/shell/integration/BUILD", "new_id": "7182dbe8d2463ec91c91e4ece1ac67e422b7ad26", "new_mode": 33188, "new_path": "src/test/shell/integration/BUILD" }, { "type": "modify", "old_id": "e5bea5ba47fa47758afa7426a31fd4289093ceee", "old_mode": 33188, "old_path": "src/test/shell/integration/discard_graph_edges_lib.sh", "new_id": "683b96b4dda657ff3f75ae41280608a8f2acc05c", "new_mode": 33188, "new_path": "src/test/shell/integration/discard_graph_edges_lib.sh" }, { "type": "modify", "old_id": "e6b2e4d10aa50d459e867854550592b80f05763f", "old_mode": 33261, "old_path": "src/test/shell/integration/discard_graph_edges_test.sh", "new_id": "4b0311c6a751de7a19730f02b6cb2565e4cca82b", "new_mode": 33261, "new_path": "src/test/shell/integration/discard_graph_edges_test.sh" } ] }