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

[v16.x-backport] deps: update V8 to 9.4 #40285

Merged
merged 16 commits into from Oct 4, 2021
Merged

Commits on Oct 4, 2021

  1. deps: update V8 to 9.4.146.19

    PR-URL: nodejs#40285
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: Jiawen Geng <technicalcute@gmail.com>
    targos committed Oct 4, 2021
    Copy the full SHA
    309c4f0 View commit details
    Browse the repository at this point in the history
  2. build: reset embedder string to "-node.0"

    PR-URL: nodejs#40285
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: Jiawen Geng <technicalcute@gmail.com>
    targos committed Oct 4, 2021
    Copy the full SHA
    4da73d0 View commit details
    Browse the repository at this point in the history
  3. deps: V8: un-cherry-pick bd019bd

    Original commit message:
    
        [testrunner] delete ancient junit compatible format support
    
        Testrunner has ancient support for JUnit compatible XML output.
    
        This CL removes this old feature.
    
        R=mstarzinger@chromium.org,jgruber@chromium.org,jkummerow@chromium.org
        CC=​machenbach@chromium.org
    
        Bug: v8:8728
        Change-Id: I7e1beb011dbaec3aa1a27398a5c52abdd778eaf0
        Reviewed-on: https://chromium-review.googlesource.com/c/1430065
        Reviewed-by: Jakob Gruber <jgruber@chromium.org>
        Reviewed-by: Michael Starzinger <mstarzinger@chromium.org>
        Commit-Queue: Tamer Tas <tmrts@chromium.org>
        Cr-Commit-Position: refs/heads/master@{#59045}
    
    Refs: v8/v8@bd019bd
    
    PR-URL: nodejs#32116
    Reviewed-By: Michaël Zasso <targos@protonmail.com>
    Reviewed-By: Jiawen Geng <technicalcute@gmail.com>
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    refack authored and targos committed Oct 4, 2021
    Copy the full SHA
    b8aabd5 View commit details
    Browse the repository at this point in the history
  4. deps: V8: patch register-arm64.h

    Fixes a compilation issue on some platforms
    
    PR-URL: nodejs#32116
    Reviewed-By: Michaël Zasso <targos@protonmail.com>
    Reviewed-By: Jiawen Geng <technicalcute@gmail.com>
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    refack authored and targos committed Oct 4, 2021
    Copy the full SHA
    e810f07 View commit details
    Browse the repository at this point in the history
  5. deps: V8: forward declaration of Rtl*FunctionTable

    This should be semver-patch since actual invocation is version
    conditional.
    
    PR-URL: nodejs#32116
    Reviewed-By: Michaël Zasso <targos@protonmail.com>
    Reviewed-By: Jiawen Geng <technicalcute@gmail.com>
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    refack authored and targos committed Oct 4, 2021
    Copy the full SHA
    88ae710 View commit details
    Browse the repository at this point in the history
  6. deps: make v8.h compatible with VS2015

    There is a bug in the most recent version of VS2015 that affects v8.h
    and therefore prevents compilation of addons.
    
    Refs: https://stackoverflow.com/q/38378693
    
    PR-URL: nodejs#32116
    Reviewed-By: Michaël Zasso <targos@protonmail.com>
    Reviewed-By: Jiawen Geng <technicalcute@gmail.com>
    Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
    joaocgreis authored and targos committed Oct 4, 2021
    Copy the full SHA
    e981215 View commit details
    Browse the repository at this point in the history
  7. deps: fix V8 build issue with inline methods

    PR-URL: nodejs#35415
    Reviewed-By: Rich Trott <rtrott@gmail.com>
    Reviewed-By: Jiawen Geng <technicalcute@gmail.com>
    Reviewed-By: Daniel Bevenius <daniel.bevenius@gmail.com>
    Reviewed-By: Matteo Collina <matteo.collina@gmail.com>
    Reviewed-By: Myles Borins <myles.borins@gmail.com>
    
    deps: patch for v8 on windows
    
    PR-URL: nodejs#40010
    Reviewed-By: Michaël Zasso <targos@protonmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    
    deps: patch v8 for vs2019 in std17
    
    PR-URL: nodejs#40060
    Reviewed-By: Richard Lau <rlau@redhat.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Michaël Zasso <targos@protonmail.com>
    gengjiawen authored and targos committed Oct 4, 2021
    Copy the full SHA
    1aea6a7 View commit details
    Browse the repository at this point in the history
  8. deps: silence irrelevant V8 warnings

    PR-URL: nodejs#37587
    Reviewed-By: Jiawen Geng <technicalcute@gmail.com>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Myles Borins <myles.borins@gmail.com>
    targos committed Oct 4, 2021
    Copy the full SHA
    22dcd3e View commit details
    Browse the repository at this point in the history
  9. deps: silence irrelevant V8 warning

    PR-URL: nodejs#38990
    Reviewed-By: Jiawen Geng <technicalcute@gmail.com>
    Reviewed-By: Matteo Collina <matteo.collina@gmail.com>
    Reviewed-By: Robert Nagy <ronagy@icloud.com>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    targos committed Oct 4, 2021
    Copy the full SHA
    be01694 View commit details
    Browse the repository at this point in the history
  10. deps: V8: cherry-pick 00bb1a77c03e

    Original commit message:
    
        [date] Fix Date#getMinutes() test failures
    
        After building V8 using Clang (./out/x64.release/v8_build_config.json
        says that "is_clang" is true), I could reproduce the referenced bug
        report locally. Replacing the getMinutes() calls with getUTCMinutes()
        calls fixed the test failure.
    
        Signed-off-by: Darshan Sen <raisinten@gmail.com>
        Bug: v8:11200
        Change-Id: Ia36be481f2c8728380d550ead856ef8e51b1069c
        Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/3093362
        Reviewed-by: Toon Verwaest <verwaest@chromium.org>
        Commit-Queue: Toon Verwaest <verwaest@chromium.org>
        Cr-Commit-Position: refs/heads/main@{#76367}
    
    Refs: v8/v8@00bb1a7
    Signed-off-by: Darshan Sen <darshan.sen@postman.com>
    
    PR-URL: nodejs#39829
    Reviewed-By: Michaël Zasso <targos@protonmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    RaisinTen authored and targos committed Oct 4, 2021
    Copy the full SHA
    807b68b View commit details
    Browse the repository at this point in the history
  11. deps: V8: cherry-pick bdcda72cd1d8

    Original commit message:
    
        [platform] Fix compilation on 32-bit Windows
    
        Use `extern "C"` to declare the __readfsdword function.
        Fixes error C2732 in the Node.js CI.
    
        Bug: chromium:796644
        Change-Id: If261985e65bfdade53ce06ff28afe0e2db402f7a
        Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/3086457
        Reviewed-by: Clemens Backes <clemensb@chromium.org>
        Commit-Queue: Michaël Zasso <mic.besace@gmail.com>
        Cr-Commit-Position: refs/heads/master@{#76259}
    
    Refs: v8/v8@bdcda72
    
    Backport-PR-URL: nodejs#40285
    PR-URL: nodejs#39945
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Jiawen Geng <technicalcute@gmail.com>
    Reviewed-By: Matteo Collina <matteo.collina@gmail.com>
    Reviewed-By: Michael Dawson <midawson@redhat.com>
    targos committed Oct 4, 2021
    Copy the full SHA
    150d816 View commit details
    Browse the repository at this point in the history
  12. deps: V8: cherry-pick 5681a6565828

    Original commit message:
    
        [rab/gsab] Fix missing assignment in BackingStore::Reallocate
    
        See nodejs#39945
    
        Bug: v8:11111
        Change-Id: I7271a907bf036c18a014b2a13ff5746db622456a
        Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/3141581
        Reviewed-by: Leszek Swirski <leszeks@chromium.org>
        Commit-Queue: Marja Hölttä <marja@chromium.org>
        Cr-Commit-Position: refs/heads/main@{#76670}
    
    Refs: v8/v8@5681a65
    
    Backport-PR-URL: nodejs#40285
    PR-URL: nodejs#39945
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Jiawen Geng <technicalcute@gmail.com>
    Reviewed-By: Matteo Collina <matteo.collina@gmail.com>
    Reviewed-By: Michael Dawson <midawson@redhat.com>
    targos committed Oct 4, 2021
    Copy the full SHA
    8de5eb8 View commit details
    Browse the repository at this point in the history
  13. deps: V8: cherry-pick 9a607043cb31

    Original commit message:
    
        [compiler] Gracefully handle an unsupported situation
    
        ... by skipping the optimization instead of CHECK-failing.
    
        Bug: v8:12188
        Change-Id: I6709bf1c55506f3d12886efbfbb9934788cd02ce
        Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/3148132
        Auto-Submit: Georg Neis <neis@chromium.org>
        Commit-Queue: Jakob Gruber <jgruber@chromium.org>
        Reviewed-by: Jakob Gruber <jgruber@chromium.org>
        Cr-Commit-Position: refs/heads/main@{#76741}
    
    Refs: v8/v8@9a60704
    
    PR-URL: nodejs#40046
    Fixes: nodejs#40030
    Reviewed-By: Michaël Zasso <targos@protonmail.com>
    Reviewed-By: Richard Lau <rlau@redhat.com>
    gengjiawen authored and targos committed Oct 4, 2021
    Copy the full SHA
    5cc24e6 View commit details
    Browse the repository at this point in the history
  14. deps: make V8 9.4 abi-compatible with 9.0

    Revert "[api] Avoid handles for const API functions"
    This reverts commit aee471b2ff5b1a9e622426454885b748d226535b.
    
    Revert "[api] Remove deprecated [Shared]ArrayBuffer API"
    This reverts commit 578f6be77fc5d8af975005c2baf918e7225abb62.
    
    Revert "[Jobs]: Cleanup in v8 platform."
    This reverts commit baf2b088dd9f585aa597459f30d71431171666e2.
    
    Revert "Skip global registration of [Shared]ArrayBuffer backing stores"
    This reverts commit fcdf35e6d70d51699ece063e25dc705e80673308.
    
    Revert "[api] Remove previously deprecated Function::GetDisplayName()."
    This reverts commit 6165fef8cc9dde52973e54c915e6905221b3f8fb.
    
    Revert "[api] Remove deprecated Symbol::Name()"
    This reverts commit bbc72ef6c7d6d8e2c4dd074d7713e5c841003163.
    
    Revert API change for HeapProfiler::TakeHeapSnapshot
    This reverts a small part of 7f52e4f92d3d3ded9a1701ee2f93966075ae5004.
    
    Revert "[cpu-profiler] Reintroduce support for context filtering"
    This reverts commit 0aacfb2a6ecbeda1d1d97ca113afd8253a1b9670.
    
    Restore new argument for TakeHeapSnapshot method
    This creates a new TakeHeapSnapshotV8_92 method with the signature from
    7f52e4f92d3d3ded9a1701ee2f93966075ae5004.
    It is necessary because the API is used internall by V8.
    
    Silence irrelevant warning
    V8 triggers it in the Name method.
    
    Revert "[api] Add v8::metrics::LongTaskStats for the LongTasks UKM"
    This reverts commit 521ae93bf652b0cc1fec1fdd788e3b80fb72a349.
    
    Move cage_base isolate data field
    Makes 3ada6f27404b4ffd6d3e97cf15be76672f60c10d ABI-compatible.
    
    Revert ABI-breaking change in FunctionTemplate::SetCallHandler
    Reverts part of a7980d43e030ba4bdb36813d4bc99f85982bf4ee and
    ad4eab00e7ec96730eb2c1b6ddcef14ba2e4becd.
    
    Revert "[api] Support PropertyAttribute in v8::Template::Set"
    This reverts commit 22a32f11f7a39e4a73105608a51ebab0ad97960f.
    
    Revert API change for FunctionTemplate::New
    This reverts the API change of 5f82dbbe534635a8b1e93f27e8fd7e68c0eaf291.
    
    Fix some reverts
    - constness of internal APIs has not external effect
    - restored API function must but adapted to moved internal API.
    
    Revert "[api] Add API for off-thread code cache deserialization"
    This reverts commit f888f48e4c65e3ccfd9fd831c71c1832b957c945.
    
    Revert "[api] Implement signature checks using instance types"
    This reverts commit 7df6678c32255ec5a1b1470f1e5a7e56b3b192fa.
    
    Revert "[api] Remove deprecated APIs"
    This reverts commit 390456678a8261827cd9a1b5f0c4dc8e4328af07.
    
    PR-URL: nodejs#40285
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: Jiawen Geng <technicalcute@gmail.com>
    targos committed Oct 4, 2021
    Copy the full SHA
    a3db203 View commit details
    Browse the repository at this point in the history
  15. deps: restore minimum ICU version to 68

    Refs: v8/v8@edac496
    
    PR-URL: nodejs#39470
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: Beth Griggs <bgriggs@redhat.com>
    Reviewed-By: Jiawen Geng <technicalcute@gmail.com>
    targos committed Oct 4, 2021
    Copy the full SHA
    e7046e0 View commit details
    Browse the repository at this point in the history
  16. tools: update V8 gypfiles for 9.4

    Backport-PR-URL: nodejs#40285
    PR-URL: nodejs#39945
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Jiawen Geng <technicalcute@gmail.com>
    Reviewed-By: Matteo Collina <matteo.collina@gmail.com>
    Reviewed-By: Michael Dawson <midawson@redhat.com>
    targos committed Oct 4, 2021
    Copy the full SHA
    f7c8274 View commit details
    Browse the repository at this point in the history