1. 19 Sep, 2018 38 commits
  2. 18 Sep, 2018 2 commits
    • Benedikt Meurer's avatar
      [es2015] Change JSArrayBufferView::byte_length/byte_offset to uintptr_t. · 5cfe1a6b
      Benedikt Meurer authored
      This is the next step to support large array buffers. On 64-bit archs
      the full safe integer range is available (up to 2^53-1 bytes in theory).
      On 32-bit platforms the full Unsigned31 range is allowed, so that we can
      continue to use CheckBounds for typed arrays and data views in the
      optimizing compiler (it's generally unlikely that the kernel will give
      you more than 1GiB of contiguous memory anyways).
      
      Drive-by-fix: This introduces proper chokepoints for the byte_offset
      and byte_length accesses in the CSA code, and also does some renaming
      for consistency.
      
      Bug: v8:4153, v8:7881, v8:8171
      Cq-Include-Trybots: luci.chromium.try:linux_chromium_rel_ng
      Change-Id: I92a767638532ca9f86084398ce72556c5180cc6e
      Reviewed-on: https://chromium-review.googlesource.com/1228377Reviewed-by: 's avatarBenedikt Meurer <bmeurer@chromium.org>
      Reviewed-by: 's avatarYang Guo <yangguo@chromium.org>
      Reviewed-by: 's avatarTobias Tebbi <tebbi@chromium.org>
      Reviewed-by: 's avatarUlan Degenbaev <ulan@chromium.org>
      Commit-Queue: Benedikt Meurer <bmeurer@chromium.org>
      Cr-Commit-Position: refs/heads/master@{#56008}
      5cfe1a6b
    • Ali Ijaz Sheikh's avatar
      Reland "[tracing] allow dynamic control of tracing" · f176c2a7
      Ali Ijaz Sheikh authored
      This is a reland of bf5ea813
      
      Original change's description:
      > [tracing] allow dynamic control of tracing
      > 
      > If the trace_buffer_ was null, we were returning a pointer to a static
      > flag back that permanently disabled that particular trace point.
      > 
      > This implied an assumption that tracing will be statically enabled at
      > process startup, and once it is disabled, it will never be enabled
      > again. On Node.js side we want to dynamically enable/disable tracing as per
      > programmer intent.
      > 
      > Change-Id: Ic7a7839b8450ab5c356d85e8e0826f42824907f4
      > Reviewed-on: https://chromium-review.googlesource.com/1161518
      > Reviewed-by: Yang Guo <yangguo@chromium.org>
      > Commit-Queue: Ali Ijaz Sheikh <ofrobots@google.com>
      > Cr-Commit-Position: refs/heads/master@{#54903}
      
      Change-Id: Ie2a9ebbaf59d3be1918864cc3c192671fb5550c3
      Reviewed-on: https://chromium-review.googlesource.com/1188529
      Commit-Queue: Ali Ijaz Sheikh <ofrobots@google.com>
      Reviewed-by: 's avatarYang Guo <yangguo@chromium.org>
      Cr-Commit-Position: refs/heads/master@{#56007}
      f176c2a7