Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

deps: update V8 to 6.0 8.x backport #14574

Closed
wants to merge 8 commits into from

Commits on Aug 1, 2017

  1. Configuration menu
    Copy the full SHA
    f387ec1 View commit details
    Browse the repository at this point in the history
  2. deps: limit regress/regress-crbug-514081 v8 test

    regress/regress-crbug-514081 allocates a 2G block of memory
    and if there  are multiple variants running at the
    same time this can lead to crashes, OOM kills or
    the OS failing to allocate memory.  This patch
    limits us to running a single variant of the test
    
    Fixes: nodejs#6340
    Refs: nodejs#6678
    
    PR-URL: nodejs#14004
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: Franziska Hinkelmann <franziska.hinkelmann@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Matteo Collina <matteo.collina@gmail.com>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    mhdawson authored and MylesBorins committed Aug 1, 2017
    Configuration menu
    Copy the full SHA
    d4d1a43 View commit details
    Browse the repository at this point in the history
  3. v8: fix stack overflow in recursive method

    HGlobalValueNumberingPhase::CollectSideEffectsOnPathsToDominatedBlock()
    used to self-recurse before this commit, causing stack overflows on
    systems with small stack sizes.  Make it non-recursive by storing
    intermediate results in a heap-allocated list.
    
    Fixes: nodejs#11991
    Refs: nodejs#12460
    
    PR-URL: nodejs#14004
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: Franziska Hinkelmann <franziska.hinkelmann@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Matteo Collina <matteo.collina@gmail.com>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    bnoordhuis authored and MylesBorins committed Aug 1, 2017
    Configuration menu
    Copy the full SHA
    26d6fa7 View commit details
    Browse the repository at this point in the history
  4. deps: fix addons compilation with VS2013

    VS2013 does not support defaulting move constructor and assignment
    operator. This adds explicit definitions of those methods for two
    classes.
    This fix is required because we still support building addons with
    VS2013 and the incompatibility is in v8.h.
    
    Fixes: nodejs/node-v8#4
    Refs: nodejs#13263
    
    PR-URL: nodejs#14004
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: Franziska Hinkelmann <franziska.hinkelmann@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Matteo Collina <matteo.collina@gmail.com>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    bzoz authored and MylesBorins committed Aug 1, 2017
    Configuration menu
    Copy the full SHA
    32fce15 View commit details
    Browse the repository at this point in the history
  5. deps: backport c0f1ff2 from upstream V8

    Original commit message:
    
        Fix GCC 7 build errors
    
        BUG=chromium:691681
        R=franzih@chromium.org
    
        Change-Id: Id7e5698487f16dc217a804f6d3f24da7213c72b9
        Reviewed-on: https://chromium-review.googlesource.com/530227
        Commit-Queue: Toon Verwaest <verwaest@chromium.org>
        Reviewed-by: Toon Verwaest <verwaest@chromium.org>
        Cr-Commit-Position: refs/heads/master@{nodejs#46045}
    
    Refs: nodejs#13517
    Fixes: nodejs#10388
    Refs: nodejs#12392
    
    PR-URL: nodejs#14004
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: Franziska Hinkelmann <franziska.hinkelmann@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Matteo Collina <matteo.collina@gmail.com>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    targos authored and MylesBorins committed Aug 1, 2017
    Configuration menu
    Copy the full SHA
    5c285c6 View commit details
    Browse the repository at this point in the history
  6. src: fix new V8 compiler warnings

    PR-URL: nodejs#14004
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: Franziska Hinkelmann <franziska.hinkelmann@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Matteo Collina <matteo.collina@gmail.com>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    targos authored and MylesBorins committed Aug 1, 2017
    Configuration menu
    Copy the full SHA
    7c84c79 View commit details
    Browse the repository at this point in the history
  7. deps: backport rehash strings after deserialization

    Original commit messages:
    v8/v8@a2ab135
      [snapshot] Rehash strings after deserialization.
    
      See https://goo.gl/6aN8xA
    
      Bug: v8:6593
      Change-Id: Ic8b0b57195d01d41591397d5d45de3f0f3ebc3d9
      Reviewed-on: https://chromium-review.googlesource.com/574527
      Reviewed-by: Camillo Bruni <cbruni@chromium.org>
      Reviewed-by: Jakob Gruber <jgruber@chromium.org>
      Reviewed-by: Ulan Degenbaev <ulan@chromium.org>
      Commit-Queue: Yang Guo <yangguo@chromium.org>
      Cr-Commit-Position: refs/heads/master@{nodejs#46732}
    
    v8/v8@182caaf
      Do not track transitions for built-in objects.
    
      Objects created during bootstrapping do not need
      a transition tree except for elements kind transitions.
    
      Bug: v8:6596
      Change-Id: I237b8b2792f201336e1c9731c815095dd06bc182
      Reviewed-on: https://chromium-review.googlesource.com/571750
      Reviewed-by: Igor Sheludko <ishell@chromium.org>
      Commit-Queue: Yang Guo <yangguo@chromium.org>
      Cr-Commit-Position: refs/heads/master@{nodejs#46693}
    
    Fixes: nodejs#14171
    Refs: nodejs#14345
    
    PR-URL: nodejs#14004
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: Franziska Hinkelmann <franziska.hinkelmann@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Matteo Collina <matteo.collina@gmail.com>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    hashseed authored and MylesBorins committed Aug 1, 2017
    Configuration menu
    Copy the full SHA
    5d5e31c View commit details
    Browse the repository at this point in the history
  8. src: fix process.abort() interaction with V8

    Since V8 5.9 V8 installs a default signal handler for some signals
    when creating a default platform instance that prints a stack trace.
    
    However, Node already does the same thing, so it would seem like the
    two different stack traces would be printed; also, the V8 handler
    would lead to a `SIGSEGV` under some circumstances, rather than
    letting the abort continue normally.
    
    Resolve this by disabling V8’s signal handler by default.
    
    PR-URL: nodejs#13985
    Fixes: nodejs#13865
    Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    addaleax authored and MylesBorins committed Aug 1, 2017
    Configuration menu
    Copy the full SHA
    f08ea27 View commit details
    Browse the repository at this point in the history