0
0
mirror of https://github.com/nodejs/node.git synced 2024-11-29 23:16:30 +01:00
nodejs/deps/v8
Michaël Zasso 05041d3ab1
deps: V8: cherry-pick d3a1a5b6c491
Original commit message:

    [objects] Fix memory leak in PrototypeUsers::Add

    PrototypeUsers::Add now iterates the WeakArrayList to find empty slots
    before growing the array. Not reusing empty slots caused a memory leak.

    It might also be desirable to shrink the WeakArrayList in the future.
    Right now it is only compacted when invoking CreateBlob.

    Also removed unused PrototypeUsers::IsEmptySlot declaration.

    Bug: v8:10031
    Change-Id: I570ec78fca37e8f0c794f1f40846a4daab47c225
    Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/1967317
    Reviewed-by: Ulan Degenbaev <ulan@chromium.org>
    Reviewed-by: Igor Sheludko <ishell@chromium.org>
    Commit-Queue: Dominik Inführ <dinfuehr@chromium.org>
    Cr-Commit-Position: refs/heads/master@{#65456}

Refs: d3a1a5b6c4
Fixes: https://github.com/nodejs/node/issues/30753

PR-URL: https://github.com/nodejs/node/pull/31005
Reviewed-By: Richard Lau <riclau@uk.ibm.com>
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: Gus Caplan <me@gus.host>
Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
Reviewed-By: Rich Trott <rtrott@gmail.com>
2019-12-23 17:50:19 +01:00
..
base/trace_event/common deps: update V8 to 7.8.279.9 2019-10-07 03:19:23 -04:00
benchmarks deps: update V8 to 7.8.279.9 2019-10-07 03:19:23 -04:00
build_overrides deps: update V8 to 7.8.279.9 2019-10-07 03:19:23 -04:00
custom_deps deps: update V8 to 7.8.279.9 2019-10-07 03:19:23 -04:00
docs
gni deps: update V8 to 7.9.317.20 2019-11-08 15:46:25 +01:00
include deps: patch V8 to 7.9.317.25 2019-11-30 01:26:32 +01:00
infra deps: update V8 to 7.9.317.20 2019-11-08 15:46:25 +01:00
samples
src deps: V8: cherry-pick d3a1a5b6c491 2019-12-23 17:50:19 +01:00
test deps: V8: cherry-pick 0dfd9ea51241 2019-11-30 12:13:16 -08:00
testing deps: update V8 to 7.8.279.9 2019-10-07 03:19:23 -04:00
third_party deps: update V8 to 7.9.317.20 2019-11-08 15:46:25 +01:00
tools deps: V8: cherry-pick a7dffcd767be 2019-11-08 15:53:35 +01:00
.clang-format
.clang-tidy
.editorconfig
.flake8
.git-blame-ignore-revs
.gitattributes
.gitignore deps: update V8 to 7.9.317.20 2019-11-08 15:46:25 +01:00
.gn deps: update V8 to 7.8.279.9 2019-10-07 03:19:23 -04:00
.vpython
.ycm_extra_conf.py
AUTHORS deps: update V8 to 7.9.317.20 2019-11-08 15:46:25 +01:00
BUILD.gn deps: update V8 to 7.9.317.20 2019-11-08 15:46:25 +01:00
ChangeLog deps: update V8 to 7.9.317.20 2019-11-08 15:46:25 +01:00
CODE_OF_CONDUCT.md
codereview.settings
COMMON_OWNERS deps: update V8 to 7.9.317.20 2019-11-08 15:46:25 +01:00
DEPS deps: update V8 to 7.9.317.20 2019-11-08 15:46:25 +01:00
ENG_REVIEW_OWNERS
INFRA_OWNERS
INTL_OWNERS
LICENSE
LICENSE.fdlibm
LICENSE.strongtalk
LICENSE.v8
LICENSE.valgrind
MIPS_OWNERS
OWNERS deps: update V8 to 7.9.317.20 2019-11-08 15:46:25 +01:00
PPC_OWNERS
PRESUBMIT.py deps: update V8 to 7.9.317.20 2019-11-08 15:46:25 +01:00
README.md
S390_OWNERS
WATCHLISTS

V8 JavaScript Engine

V8 is Google's open source JavaScript engine.

V8 implements ECMAScript as specified in ECMA-262.

V8 is written in C++ and is used in Google Chrome, the open source browser from Google.

V8 can run standalone, or can be embedded into any C++ application.

V8 Project page: https://v8.dev/docs

Getting the Code

Checkout depot tools, and run

    fetch v8

This will checkout V8 into the directory v8 and fetch all of its dependencies. To stay up to date, run

    git pull origin
    gclient sync

For fetching all branches, add the following into your remote configuration in .git/config:

    fetch = +refs/branch-heads/*:refs/remotes/branch-heads/*
    fetch = +refs/tags/*:refs/tags/*

Contributing

Please follow the instructions mentioned at v8.dev/docs/contribute.