0
0
mirror of https://github.com/nodejs/node.git synced 2024-12-01 16:10:02 +01:00
nodejs/deps
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
..
acorn deps: update acorn to 6.2.0 2019-07-15 00:04:50 +02:00
acorn-plugins deps: update acorn to 6.2.0 2019-07-15 00:04:50 +02:00
brotli
cares
histogram
icu-small tools: update icu to 65.1 2019-12-05 20:39:20 -05:00
llhttp deps: update llhttp to 2.0.1 2019-11-29 16:16:30 +01:00
nghttp2 deps: update nghttp2 to 1.40.0 2019-11-18 15:45:52 +01:00
node-inspect deps: update node-inspect to v1.11.6 2019-06-05 08:20:18 -07:00
npm deps: update npm to 6.13.4 2019-12-12 06:55:20 -05:00
openssl deps: fix OPENSSLDIR on Windows 2019-12-05 21:38:39 -08:00
uv deps: upgrade to libuv 1.34.0 2019-12-06 11:14:59 -05:00
uvwasi deps,src,test: update to uvwasi 0.0.3 2019-12-17 17:35:09 -08:00
v8 deps: V8: cherry-pick d3a1a5b6c491 2019-12-23 17:50:19 +01:00
zlib