1. 24 Aug, 2018 37 commits
  2. 23 Aug, 2018 3 commits
    • Michael Achenbach's avatar
      Revert "[heap] Reuse object evacuation information for slot recording in Scavenger." · 5876d8f5
      Michael Achenbach authored
      This reverts commit adea021b.
      
      Reason for revert:
      https://crbug.com/v8/8087
      
      Original change's description:
      > [heap] Reuse object evacuation information for slot recording in Scavenger.
      > 
      > Bug: chromium:852420
      > Change-Id: If092b5c8b093b313807687a27bc29bebd1c4ee5f
      > Reviewed-on: https://chromium-review.googlesource.com/1187143
      > Commit-Queue: Hannes Payer <hpayer@chromium.org>
      > Reviewed-by: Ulan Degenbaev <ulan@chromium.org>
      > Cr-Commit-Position: refs/heads/master@{#55364}
      
      TBR=ulan@chromium.org,hpayer@chromium.org
      
      Change-Id: I480328e852c09f460a38e141eb7d2960c5001d35
      No-Presubmit: true
      No-Tree-Checks: true
      No-Try: true
      Bug: chromium:852420
      Reviewed-on: https://chromium-review.googlesource.com/1187301Reviewed-by: 's avatarMichael Achenbach <machenbach@chromium.org>
      Commit-Queue: Michael Achenbach <machenbach@chromium.org>
      Cr-Commit-Position: refs/heads/master@{#55367}
      5876d8f5
    • Michael Achenbach's avatar
      Revert "Use new arraybuffer deleter interface in d8" · eb1eaf63
      Michael Achenbach authored
      This reverts commit 524215be.
      
      Reason for revert: Breaks cfi:
      https://ci.chromium.org/p/v8/builders/luci.v8.ci/V8%20Linux64%20-%20cfi/16422
      
      Original change's description:
      > Use new arraybuffer deleter interface in d8
      > 
      > With this cl we start using the custom deleter to free externalized
      > array buffers. This also allows us to keep wasm memories registered
      > with the wasm memory tracker and thereby to propagate that a memory
      > is wasm allocated over postMessage calls.
      > 
      > Bug: v8:8073, chromium:836800
      > Cq-Include-Trybots: luci.chromium.try:linux_chromium_rel_ng
      > Change-Id: I57e3ea44d9c6633ada7996677dd1de4da810ab64
      > Reviewed-on: https://chromium-review.googlesource.com/1186681
      > Reviewed-by: Michael Starzinger <mstarzinger@chromium.org>
      > Commit-Queue: Stephan Herhut <herhut@chromium.org>
      > Cr-Commit-Position: refs/heads/master@{#55361}
      
      TBR=mstarzinger@chromium.org,herhut@chromium.org
      
      Change-Id: I64c4e76d8d68bad8df4ba3297c099b9b44eabc7c
      No-Presubmit: true
      No-Tree-Checks: true
      No-Try: true
      Bug: v8:8073, chromium:836800
      Cq-Include-Trybots: luci.chromium.try:linux_chromium_rel_ng
      Reviewed-on: https://chromium-review.googlesource.com/1187241Reviewed-by: 's avatarMichael Achenbach <machenbach@chromium.org>
      Commit-Queue: Michael Achenbach <machenbach@chromium.org>
      Cr-Commit-Position: refs/heads/master@{#55366}
      eb1eaf63
    • Bruce Dawson's avatar
      Use PAGE_TARGETS_INVALID when allocating code pages · 6930df0f
      Bruce Dawson authored
      PAGE_TARGETS_INVALID tells CFG (Control Flow Guard) to mark all
      addresses as invalid indirect branch targets. This makes exploits more
      difficult. The benefit is minor because most of the code in the Chrome
      process doesn't use the CFG checks, but this will close off a few
      weaknesses and is the direction we will want to go in eventually
      anyway (with specific targets or call sites opted-in to allowing
      calls, using SetProcessValidCallTargets).
      
      PAGE_TARGETS_INVALID may ultimately cause CFG to not allocate memory -
      that is implied by Windows Internals 7th Edition - and if that is
      implemented then this change will save some modest amount of memory.
      
      PAGE_TARGETS_INVALID was introduced in Windows 10 - according to
      Windows Internals Part 1 7th Edition - prior to that it will cause
      VirtualAlloc to fail.
      
      Bug: chromium:870054
      Change-Id: Ib1784fba37cc0ecb5fe5df595f1519531b3b3a20
      Reviewed-on: https://chromium-review.googlesource.com/1186025
      Commit-Queue: Bruce Dawson <brucedawson@chromium.org>
      Reviewed-by: 's avatarUlan Degenbaev <ulan@chromium.org>
      Reviewed-by: 's avatarHannes Payer <hpayer@chromium.org>
      Cr-Commit-Position: refs/heads/master@{#55365}
      6930df0f