Closed
Conversation
Original commit message:
[runtime] Recompute enumeration indices of dictionaries upon bitfield overflow
Otherwise we'll get weird semantics when enumerating objects after many
deletes/reinserts.
Bug: chromium:1033771
Change-Id: If0a459169c3794a30d9632d09e80da3cfcd4302c
Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/1993966
Commit-Queue: Toon Verwaest <verwaest@chromium.org>
Reviewed-by: Jakob Kummerow <jkummerow@chromium.org>
Reviewed-by: Victor Gomes <victorgomes@chromium.org>
Cr-Commit-Position: refs/heads/master@{#65690}
Refs: v8/v8@f7771e5
Collaborator
addaleax
approved these changes
Feb 26, 2020
gengjiawen
approved these changes
Feb 26, 2020
cjihrig
approved these changes
Feb 26, 2020
MylesBorins
approved these changes
Feb 28, 2020
Contributor
MylesBorins
left a comment
There was a problem hiding this comment.
LGTM
V8 CI is failing on two platforms but those are known failures. Re ran linux CI which was having an issue but this should be ready to land
Contributor
|
BTW this patch lands cleanly on both master and 13.x but will require a manual backport to 12.x |
mmarchini
added a commit
that referenced
this pull request
Feb 28, 2020
Original commit message:
[runtime] Recompute enumeration indices of dictionaries upon bitfield overflow
Otherwise we'll get weird semantics when enumerating objects after many
deletes/reinserts.
Bug: chromium:1033771
Change-Id: If0a459169c3794a30d9632d09e80da3cfcd4302c
Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/1993966
Commit-Queue: Toon Verwaest <verwaest@chromium.org>
Reviewed-by: Jakob Kummerow <jkummerow@chromium.org>
Reviewed-by: Victor Gomes <victorgomes@chromium.org>
Cr-Commit-Position: refs/heads/master@{#65690}
Refs: v8/v8@f7771e5
PR-URL: #31957
Reviewed-By: Anna Henningsen <anna@addaleax.net>
Reviewed-By: Jiawen Geng <technicalcute@gmail.com>
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: Myles Borins <myles.borins@gmail.com>
Contributor
Author
|
Landed in 3d894d0 |
Member
|
@MylesBorins i just tried and it seems to conflict on v13 🤔 Not sure what the embedder string there should be, that's the conflict source. |
Contributor
|
The embedder string conflict is expected. I'd refer to what the current
number is on 13 and bump by 1
…On Sat, Feb 29, 2020, 6:11 PM Shelley Vohr ***@***.***> wrote:
@MylesBorins <https://github.com/MylesBorins> i just tried and it seems
to conflict on v13 🤔
node on git:v13.x-staging ❯ g cp 3d894d0 <3d894d0> 3:09PM
error: could not apply 3d894d0 <3d894d0>... deps: V8: backport f7771e5b0cc4
hint: after resolving the conflicts, mark the corrected paths
hint: with 'git add <paths>' or 'git rm <paths>'
hint: and commit the result with 'git commit'
Recorded preimage for 'common.gypi'
Not sure what the embedder string there should be, that's the conflict
source.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#31957?email_source=notifications&email_token=AADZYV72PUADQWWDJX2D42LRFGKYJA5CNFSM4K3XRK42YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOENMIN4Q#issuecomment-593004274>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AADZYV5YQXM5UV7TFEMYHRLRFGKYJANCNFSM4K3XRK4Q>
.
|
codebytere
pushed a commit
that referenced
this pull request
Mar 1, 2020
Original commit message:
[runtime] Recompute enumeration indices of dictionaries upon bitfield overflow
Otherwise we'll get weird semantics when enumerating objects after many
deletes/reinserts.
Bug: chromium:1033771
Change-Id: If0a459169c3794a30d9632d09e80da3cfcd4302c
Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/1993966
Commit-Queue: Toon Verwaest <verwaest@chromium.org>
Reviewed-by: Jakob Kummerow <jkummerow@chromium.org>
Reviewed-by: Victor Gomes <victorgomes@chromium.org>
Cr-Commit-Position: refs/heads/master@{#65690}
Refs: v8/v8@f7771e5
PR-URL: #31957
Reviewed-By: Anna Henningsen <anna@addaleax.net>
Reviewed-By: Jiawen Geng <technicalcute@gmail.com>
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: Myles Borins <myles.borins@gmail.com>
Merged
mmarchini
added a commit
to mmarchini/node
that referenced
this pull request
Mar 2, 2020
Original commit message:
[runtime] Recompute enumeration indices of dictionaries upon bitfield overflow
Otherwise we'll get weird semantics when enumerating objects after many
deletes/reinserts.
Bug: chromium:1033771
Change-Id: If0a459169c3794a30d9632d09e80da3cfcd4302c
Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/1993966
Commit-Queue: Toon Verwaest <verwaest@chromium.org>
Reviewed-by: Jakob Kummerow <jkummerow@chromium.org>
Reviewed-by: Victor Gomes <victorgomes@chromium.org>
Cr-Commit-Position: refs/heads/master@{#65690}
Refs: v8/v8@f7771e5
PR-URL: nodejs#31957
Reviewed-By: Anna Henningsen <anna@addaleax.net>
Reviewed-By: Jiawen Geng <technicalcute@gmail.com>
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: Myles Borins <myles.borins@gmail.com>
This was referenced Mar 2, 2020
codebytere
pushed a commit
that referenced
this pull request
Mar 17, 2020
Original commit message:
[runtime] Recompute enumeration indices of dictionaries upon bitfield overflow
Otherwise we'll get weird semantics when enumerating objects after many
deletes/reinserts.
Bug: chromium:1033771
Change-Id: If0a459169c3794a30d9632d09e80da3cfcd4302c
Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/1993966
Commit-Queue: Toon Verwaest <verwaest@chromium.org>
Reviewed-by: Jakob Kummerow <jkummerow@chromium.org>
Reviewed-by: Victor Gomes <victorgomes@chromium.org>
Cr-Commit-Position: refs/heads/master@{#65690}
Refs: v8/v8@f7771e5
PR-URL: #31957
Backport-PR-URL: #32053
Reviewed-By: Anna Henningsen <anna@addaleax.net>
Reviewed-By: Jiawen Geng <technicalcute@gmail.com>
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: Myles Borins <myles.borins@gmail.com>
Merged
codebytere
pushed a commit
that referenced
this pull request
Mar 23, 2020
Original commit message:
[runtime] Recompute enumeration indices of dictionaries upon bitfield overflow
Otherwise we'll get weird semantics when enumerating objects after many
deletes/reinserts.
Bug: chromium:1033771
Change-Id: If0a459169c3794a30d9632d09e80da3cfcd4302c
Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/1993966
Commit-Queue: Toon Verwaest <verwaest@chromium.org>
Reviewed-by: Jakob Kummerow <jkummerow@chromium.org>
Reviewed-by: Victor Gomes <victorgomes@chromium.org>
Cr-Commit-Position: refs/heads/master@{#65690}
Refs: v8/v8@f7771e5
PR-URL: #31957
Backport-PR-URL: #32053
Reviewed-By: Anna Henningsen <anna@addaleax.net>
Reviewed-By: Jiawen Geng <technicalcute@gmail.com>
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: Myles Borins <myles.borins@gmail.com>
codebytere
pushed a commit
that referenced
this pull request
Mar 30, 2020
Original commit message:
[runtime] Recompute enumeration indices of dictionaries upon bitfield overflow
Otherwise we'll get weird semantics when enumerating objects after many
deletes/reinserts.
Bug: chromium:1033771
Change-Id: If0a459169c3794a30d9632d09e80da3cfcd4302c
Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/1993966
Commit-Queue: Toon Verwaest <verwaest@chromium.org>
Reviewed-by: Jakob Kummerow <jkummerow@chromium.org>
Reviewed-by: Victor Gomes <victorgomes@chromium.org>
Cr-Commit-Position: refs/heads/master@{#65690}
Refs: v8/v8@f7771e5
PR-URL: #31957
Backport-PR-URL: #32053
Reviewed-By: Anna Henningsen <anna@addaleax.net>
Reviewed-By: Jiawen Geng <technicalcute@gmail.com>
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: Myles Borins <myles.borins@gmail.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This fixes a performance regression on V8 where frequent delete/reinsertions on a POJO object can lead to a bit overflow, causing subsequent property insertions to take exponentially more time.
We should try to backport this to v12, since the regression started there (yes, I'm volunteering to backport if it doesn't land cleanly).
Original commit message:
Refs: v8/v8@f7771e5
Checklist
make -j4 test(UNIX), orvcbuild test(Windows) passes