1. 09 Apr, 2019 1 commit
    • Jakob Gruber's avatar
      [build] Compile compiler with optimizations in fast mksnapshot mode · 7e896fe5
      Jakob Gruber authored
      This changes debug builds [1] to compile src/compiler sources twice:
      
      1. with optimizations, used in mksnapshot to improve performance.
      2. without optimizations, linked into d8 and v8 libraries.
      
      While this adds ~200 compilation targets, these can be built in parallel
      and should not add much time overall.
      
      This brings mksnapshot runtime back down to 11 seconds on my machine.
      
      [1] The full condition is:
          is_debug && !v8_optimized_debug && v8_enable_fast_mksnapshot
      
      Cq-Include-Trybots: luci.chromium.try:android_arm64_dbg_recipe
      Cq-Include-Trybots: luci.chromium.try:fuchsia_x64
      Bug: v8:8767
      Change-Id: Iac57bf8331395d9eda9be5d192e8eeeded182ae6
      Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/1532335
      Commit-Queue: Jakob Gruber <jgruber@chromium.org>
      Reviewed-by: 's avatarTobias Tebbi <tebbi@chromium.org>
      Reviewed-by: 's avatarMichael Achenbach <machenbach@chromium.org>
      Cr-Commit-Position: refs/heads/master@{#60713}
      7e896fe5
  2. 02 Apr, 2019 1 commit
    • Tobias Tebbi's avatar
      Revert "Reland^2 "[build] disable C++ optimization for mksnapshot code."" · 5f58a82b
      Tobias Tebbi authored
      This reverts commit 6beea97e.
      
      Reason for revert: https://crbug.com/942497
      
      Original change's description:
      > Reland^2 "[build] disable C++ optimization for mksnapshot code."
      >
      > This is a reland of a6b95a6a
      >
      > In addition to UBSan, also ASAN needs optimizations.
      > So this CL doesn't disable optimizations for all sanitizer builds.
      >
      > Original change's description:
      > > Reland "[build] disable C++ optimization for mksnapshot code."
      > >
      > > This is a reland of cee2f772
      > >
      > > Original change's description:
      > > > [build] disable C++ optimization for mksnapshot code.
      > > >
      > > > By disabling C++ optimizations for code that's only run in mksnapshot,
      > > > that is, CSA and Torque-generated code, we can save compile time.
      > > > I observed up to 2x improvements of compile time for some files,
      > > > while the mksnapshot time did not increase significantly.
      > > >
      > > > Bug: v8:7629
      > > > Change-Id: I96be2966611b2471b68023e0dd9e351d94f0013c
      > > > Reviewed-on: https://chromium-review.googlesource.com/c/1460941
      > > > Reviewed-by: Yang Guo <yangguo@chromium.org>
      > > > Reviewed-by: Sigurd Schneider <sigurds@chromium.org>
      > > > Commit-Queue: Tobias Tebbi <tebbi@chromium.org>
      > > > Cr-Commit-Position: refs/heads/master@{#59585}
      > >
      > > Bug: v8:7629
      > > Change-Id: I8330f93173ab3d7b400e15ea4935bbe8256b250f
      > > Reviewed-on: https://chromium-review.googlesource.com/c/1473292
      > > Commit-Queue: Tobias Tebbi <tebbi@chromium.org>
      > > Commit-Queue: Sigurd Schneider <sigurds@chromium.org>
      > > Reviewed-by: Sigurd Schneider <sigurds@chromium.org>
      > > Cr-Commit-Position: refs/heads/master@{#59606}
      >
      > Bug: v8:7629
      > Change-Id: I42175c472d8e41345573df81645dfe3accc9d8c4
      > Reviewed-on: https://chromium-review.googlesource.com/c/1475396
      > Reviewed-by: Sigurd Schneider <sigurds@chromium.org>
      > Commit-Queue: Tobias Tebbi <tebbi@chromium.org>
      > Cr-Commit-Position: refs/heads/master@{#59632}
      
      TBR=yangguo@chromium.org,sigurds@chromium.org,tebbi@chromium.org
      
      # Not skipping CQ checks because original CL landed > 1 day ago.
      
      Bug: v8:7629 chromium:942497
      Change-Id: Ie51d7b53440230b41fb763541908cb1162d8850d
      Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/1549158
      Commit-Queue: Sigurd Schneider <sigurds@chromium.org>
      Reviewed-by: 's avatarTobias Tebbi <tebbi@chromium.org>
      Reviewed-by: 's avatarSigurd Schneider <sigurds@chromium.org>
      Cr-Commit-Position: refs/heads/master@{#60577}
      5f58a82b
  3. 28 Mar, 2019 1 commit
  4. 26 Mar, 2019 2 commits
  5. 20 Mar, 2019 2 commits
  6. 15 Mar, 2019 1 commit
  7. 06 Mar, 2019 1 commit
  8. 26 Feb, 2019 1 commit
  9. 15 Feb, 2019 1 commit
    • Tobias Tebbi's avatar
      Reland^2 "[build] disable C++ optimization for mksnapshot code." · 6beea97e
      Tobias Tebbi authored
      This is a reland of a6b95a6a
      
      In addition to UBSan, also ASAN needs optimizations.
      So this CL doesn't disable optimizations for all sanitizer builds.
      
      Original change's description:
      > Reland "[build] disable C++ optimization for mksnapshot code."
      >
      > This is a reland of cee2f772
      >
      > Original change's description:
      > > [build] disable C++ optimization for mksnapshot code.
      > >
      > > By disabling C++ optimizations for code that's only run in mksnapshot,
      > > that is, CSA and Torque-generated code, we can save compile time.
      > > I observed up to 2x improvements of compile time for some files,
      > > while the mksnapshot time did not increase significantly.
      > >
      > > Bug: v8:7629
      > > Change-Id: I96be2966611b2471b68023e0dd9e351d94f0013c
      > > Reviewed-on: https://chromium-review.googlesource.com/c/1460941
      > > Reviewed-by: Yang Guo <yangguo@chromium.org>
      > > Reviewed-by: Sigurd Schneider <sigurds@chromium.org>
      > > Commit-Queue: Tobias Tebbi <tebbi@chromium.org>
      > > Cr-Commit-Position: refs/heads/master@{#59585}
      >
      > Bug: v8:7629
      > Change-Id: I8330f93173ab3d7b400e15ea4935bbe8256b250f
      > Reviewed-on: https://chromium-review.googlesource.com/c/1473292
      > Commit-Queue: Tobias Tebbi <tebbi@chromium.org>
      > Commit-Queue: Sigurd Schneider <sigurds@chromium.org>
      > Reviewed-by: Sigurd Schneider <sigurds@chromium.org>
      > Cr-Commit-Position: refs/heads/master@{#59606}
      
      Bug: v8:7629
      Change-Id: I42175c472d8e41345573df81645dfe3accc9d8c4
      Reviewed-on: https://chromium-review.googlesource.com/c/1475396Reviewed-by: 's avatarSigurd Schneider <sigurds@chromium.org>
      Commit-Queue: Tobias Tebbi <tebbi@chromium.org>
      Cr-Commit-Position: refs/heads/master@{#59632}
      6beea97e
  10. 14 Feb, 2019 4 commits
  11. 13 Feb, 2019 1 commit
  12. 29 Jan, 2019 1 commit
  13. 02 Jan, 2019 1 commit
  14. 10 Oct, 2018 1 commit
  15. 28 Jun, 2018 1 commit
    • jgruber's avatar
      Disable multi_snapshots by default · 30caa69f
      jgruber authored
      The multi-snapshot feature is only used on bots, where we need the
      ability to execute tests with/without mitigations controllable through a
      runtime flag.
      
      This disables the flag by default and only enables it on bot configs.
      
      Note: standard single-snapshot builds silently use the available
      snapshot regardless of the value of --untrusted-code-mitigations.
      
      Bug: v8:7891,v8:6688
      Change-Id: I0d1a91e5c1c17b4d91b42d176b50ea44d2128d48
      Reviewed-on: https://chromium-review.googlesource.com/1117687
      Commit-Queue: Jakob Gruber <jgruber@chromium.org>
      Reviewed-by: 's avatarMichael Achenbach <machenbach@chromium.org>
      Cr-Commit-Position: refs/heads/master@{#54079}
      30caa69f
  16. 23 Apr, 2018 2 commits
    • Aleksey Kozyatinskiy's avatar
      Revert "Roll third_party/inspector_protocol to 59ca26e" · dcf0456c
      Aleksey Kozyatinskiy authored
      This reverts commit bd7f5cf0.
      
      Reason for revert: does not work well.
      
      Original change's description:
      > Roll third_party/inspector_protocol to 59ca26e
      > 
      > This roll includes:
      >   - [inspector_protocol] first class citizien .pdl support
      >   - [inspector_protocol] node uses script names inside own repository
      > 
      > + removed .json file
      > 
      > R=​pfeldman@chromium.org,yangguo@chromium.org
      > 
      > Bug: none
      > Cq-Include-Trybots: master.tryserver.blink:linux_trusty_blink_rel
      > Change-Id: Idd87e80a3ce42198858ade4bcf6e6fec4b2f0731
      > Reviewed-on: https://chromium-review.googlesource.com/804635
      > Commit-Queue: Aleksey Kozyatinskiy <kozyatinskiy@chromium.org>
      > Reviewed-by: Aleksey Kozyatinskiy <kozyatinskiy@chromium.org>
      > Reviewed-by: Pavel Feldman <pfeldman@chromium.org>
      > Cr-Commit-Position: refs/heads/master@{#52734}
      
      TBR=pfeldman@chromium.org,yangguo@chromium.org,kozyatinskiy@chromium.org
      
      Change-Id: I64cfa2740c03a2c15db1eb483212adec8f5f6a76
      No-Presubmit: true
      No-Tree-Checks: true
      No-Try: true
      Bug: none
      Cq-Include-Trybots: master.tryserver.blink:linux_trusty_blink_rel
      Reviewed-on: https://chromium-review.googlesource.com/1024350Reviewed-by: 's avatarAleksey Kozyatinskiy <kozyatinskiy@chromium.org>
      Commit-Queue: Aleksey Kozyatinskiy <kozyatinskiy@chromium.org>
      Cr-Commit-Position: refs/heads/master@{#52740}
      dcf0456c
    • Alexey Kozyatinskiy's avatar
      Roll third_party/inspector_protocol to 59ca26e · bd7f5cf0
      Alexey Kozyatinskiy authored
      This roll includes:
        - [inspector_protocol] first class citizien .pdl support
        - [inspector_protocol] node uses script names inside own repository
      
      + removed .json file
      
      R=pfeldman@chromium.org,yangguo@chromium.org
      
      Bug: none
      Cq-Include-Trybots: master.tryserver.blink:linux_trusty_blink_rel
      Change-Id: Idd87e80a3ce42198858ade4bcf6e6fec4b2f0731
      Reviewed-on: https://chromium-review.googlesource.com/804635
      Commit-Queue: Aleksey Kozyatinskiy <kozyatinskiy@chromium.org>
      Reviewed-by: 's avatarAleksey Kozyatinskiy <kozyatinskiy@chromium.org>
      Reviewed-by: 's avatarPavel Feldman <pfeldman@chromium.org>
      Cr-Commit-Position: refs/heads/master@{#52734}
      bd7f5cf0
  17. 13 Apr, 2018 1 commit
  18. 06 Apr, 2018 1 commit
  19. 28 Mar, 2018 3 commits
  20. 22 Mar, 2018 1 commit
  21. 21 Mar, 2018 1 commit
  22. 20 Mar, 2018 1 commit
    • Michael Achenbach's avatar
      Reland "[build] Make separate snapshot for trusted variant" · f0940a63
      Michael Achenbach authored
      This is a reland of 40d66d8b
      
      The fix disambiguates duplicate symbols in the generated embedded
      builtins file.
      
      Original change's description:
      > [build] Make separate snapshot for trusted variant
      >
      > This enables side-by-side snapshots with and without untrusted-code
      > mitigations. It'll be the default in all V8 stand-alone builds
      > with external startup data. Internal snapshots are not supported.
      >
      > The files snapshot_blob.bin and snapshot_blob_trusted.bin will be
      > bundled with V8 on swarming and the correct file is loaded dependent
      > on the --untrusted-code-mitigations runtime flag.
      >
      > Likewise we embed two snapshots for builtins.
      >
      > Side-by-side snapshots won't be supported in Chromium.
      >
      > Bug: v8:7441
      > Change-Id: I2949ddfd5773649946b1c8e74751d48ad1d9c524
      > Reviewed-on: https://chromium-review.googlesource.com/960004
      > Commit-Queue: Michael Achenbach <machenbach@chromium.org>
      > Reviewed-by: Jakob Gruber <jgruber@chromium.org>
      > Reviewed-by: Yang Guo <yangguo@chromium.org>
      > Reviewed-by: Ross McIlroy <rmcilroy@chromium.org>
      > Cr-Commit-Position: refs/heads/master@{#52028}
      
      Bug: v8:7441
      Change-Id: I626171d4e07389f0453b4d0a698e2772fd37e8c5
      Reviewed-on: https://chromium-review.googlesource.com/968623
      Commit-Queue: Michael Achenbach <machenbach@chromium.org>
      Reviewed-by: 's avatarJakob Gruber <jgruber@chromium.org>
      Cr-Commit-Position: refs/heads/master@{#52055}
      f0940a63
  23. 19 Mar, 2018 2 commits
    • Michael Achenbach's avatar
      Revert "[build] Make separate snapshot for trusted variant" · 7e7c04b6
      Michael Achenbach authored
      This reverts commit 40d66d8b.
      
      Reason for revert:
      https://build.chromium.org/p/client.v8/builders/V8%20Mac64/builds/20910
      
      Original change's description:
      > [build] Make separate snapshot for trusted variant
      > 
      > This enables side-by-side snapshots with and without untrusted-code
      > mitigations. It'll be the default in all V8 stand-alone builds
      > with external startup data. Internal snapshots are not supported.
      > 
      > The files snapshot_blob.bin and snapshot_blob_trusted.bin will be
      > bundled with V8 on swarming and the correct file is loaded dependent
      > on the --untrusted-code-mitigations runtime flag.
      > 
      > Likewise we embed two snapshots for builtins.
      > 
      > Side-by-side snapshots won't be supported in Chromium.
      > 
      > Bug: v8:7441
      > Change-Id: I2949ddfd5773649946b1c8e74751d48ad1d9c524
      > Reviewed-on: https://chromium-review.googlesource.com/960004
      > Commit-Queue: Michael Achenbach <machenbach@chromium.org>
      > Reviewed-by: Jakob Gruber <jgruber@chromium.org>
      > Reviewed-by: Yang Guo <yangguo@chromium.org>
      > Reviewed-by: Ross McIlroy <rmcilroy@chromium.org>
      > Cr-Commit-Position: refs/heads/master@{#52028}
      
      TBR=rmcilroy@chromium.org,machenbach@chromium.org,yangguo@chromium.org,mstarzinger@chromium.org,jgruber@chromium.org
      
      Change-Id: I5b18f7aff7c05a17842fc68d785bb617eeca4a41
      No-Presubmit: true
      No-Tree-Checks: true
      No-Try: true
      Bug: v8:7441
      Reviewed-on: https://chromium-review.googlesource.com/968622Reviewed-by: 's avatarMichael Achenbach <machenbach@chromium.org>
      Commit-Queue: Michael Achenbach <machenbach@chromium.org>
      Cr-Commit-Position: refs/heads/master@{#52029}
      7e7c04b6
    • Michael Achenbach's avatar
      [build] Make separate snapshot for trusted variant · 40d66d8b
      Michael Achenbach authored
      This enables side-by-side snapshots with and without untrusted-code
      mitigations. It'll be the default in all V8 stand-alone builds
      with external startup data. Internal snapshots are not supported.
      
      The files snapshot_blob.bin and snapshot_blob_trusted.bin will be
      bundled with V8 on swarming and the correct file is loaded dependent
      on the --untrusted-code-mitigations runtime flag.
      
      Likewise we embed two snapshots for builtins.
      
      Side-by-side snapshots won't be supported in Chromium.
      
      Bug: v8:7441
      Change-Id: I2949ddfd5773649946b1c8e74751d48ad1d9c524
      Reviewed-on: https://chromium-review.googlesource.com/960004
      Commit-Queue: Michael Achenbach <machenbach@chromium.org>
      Reviewed-by: 's avatarJakob Gruber <jgruber@chromium.org>
      Reviewed-by: 's avatarYang Guo <yangguo@chromium.org>
      Reviewed-by: 's avatarRoss McIlroy <rmcilroy@chromium.org>
      Cr-Commit-Position: refs/heads/master@{#52028}
      40d66d8b
  24. 26 Feb, 2018 1 commit
  25. 30 Jan, 2018 2 commits
  26. 05 Jan, 2018 1 commit
  27. 27 Nov, 2017 1 commit
  28. 19 Oct, 2017 1 commit
  29. 17 Oct, 2017 1 commit
  30. 29 Sep, 2017 1 commit