Uh oh!
There was an error while loading. Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork 34.4k
[v12.x] deps: V8: backport fb26d0bb1835#33573
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
Uh oh!
There was an error while loading. Please reload this page.
Conversation
addaleax left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
RSLGTM
nodejs-github-bot commented May 26, 2020 • edited by targos
Loading Uh oh!
There was an error while loading. Please reload this page.
edited by targos
Uh oh!
There was an error while loading. Please reload this page.
BridgeAR left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
RSLGTM
mmarchini commented Jun 4, 2020
@targos would it be better if V8 fixed this on 7.8, or should we just keep this as a floating patch? The patch is not that big (without tests), and since it's unlikely we bump to 7.9 before October anyway the patch shouldn't bring any headaches. (also cc @codebytere, as I'm not sure how floating patches impact Electron) |
targos commented Jun 4, 2020
I'm not sure what you mean? This V8 branch is no longer supported upstream |
mmarchini commented Jun 4, 2020
I see. In the issue it sounded like they were open to fixing it on 7.8, but maybe they meant if it is absolutely necessary. |
codebytere commented Jun 6, 2020
@mmarchini it should be fine on our end! |
codebytere commented Jun 9, 2020
@mmarchini this needs to be rebased against latest |
mmarchini commented Jun 17, 2020
I missed the notification :( We'll need to wait until the July release now, correct? |
72d8e76 to e86be5cComparenodejs-github-bot commented Jun 17, 2020 • edited by mmarchini
Loading Uh oh!
There was an error while loading. Please reload this page.
edited by mmarchini
Uh oh!
There was an error while loading. Please reload this page.
Original commit message: [objects] Compact and shrink script_list So far creating scripts always grew the script_list without ever reusing cleared slots or shrinking. While this is probably not a problem with script_list in practice, this is still a memory leak. Fix this leak by using WeakArrayList::Append instead of AddToEnd. Append adds to the end of the array, but potentially compacts and shrinks the list as well. Other WeakArrayLists can use this method as well, as long as they are not using indices into this array. Bug: v8:10031 Change-Id: If743c4cc3f8d67ab735522f0ded038b2fb43e437 Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/1967385 Commit-Queue: Dominik Inführ <[email protected]> Reviewed-by: Ulan Degenbaev <[email protected]> Cr-Commit-Position: refs/heads/master@{#65640} Refs: v8/v8@fb26d0b
e86be5c to 1f9566bComparemmarchini commented Jun 17, 2020
@codebytere rebased :) Did you get a conflict when using the release tools, or test errors? It rebased cleanly here, just had to bump the embedder string. |
This comment has been minimized.
This comment has been minimized.
nodejs-github-bot commented Jun 26, 2020
nodejs-github-bot commented Jun 26, 2020 • edited by BethGriggs
Loading Uh oh!
There was an error while loading. Please reload this page.
edited by BethGriggs
Uh oh!
There was an error while loading. Please reload this page.
CI: https://ci.nodejs.org/job/node-test-pull-request/32109/ (Resume due to socket hang up on arm) ✅ |
Original commit message: [objects] Compact and shrink script_list So far creating scripts always grew the script_list without ever reusing cleared slots or shrinking. While this is probably not a problem with script_list in practice, this is still a memory leak. Fix this leak by using WeakArrayList::Append instead of AddToEnd. Append adds to the end of the array, but potentially compacts and shrinks the list as well. Other WeakArrayLists can use this method as well, as long as they are not using indices into this array. Bug: v8:10031 Change-Id: If743c4cc3f8d67ab735522f0ded038b2fb43e437 Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/1967385 Commit-Queue: Dominik Inführ <[email protected]> Reviewed-by: Ulan Degenbaev <[email protected]> Cr-Commit-Position: refs/heads/master@{#65640} Refs: v8/v8@fb26d0b PR-URL: #33573 Reviewed-By: Anna Henningsen <[email protected]> Reviewed-By: Ruben Bridgewater <[email protected]> Reviewed-By: Shelley Vohr <[email protected]> Reviewed-By: Beth Griggs <[email protected]>
BethGriggs commented Jun 26, 2020
Landed in 97a3f7b (v12.x-staging) |
Original commit message:
Refs: v8/v8@fb26d0b
Checklist
make -j4 test(UNIX), orvcbuild test(Windows) passes