Skip to content

deps: backport 066747e from upstream V8 - #4625

Closed
ofrobots wants to merge 1 commit into
nodejs:v5.xfrom
ofrobots:fix-3538
Closed

deps: backport 066747e from upstream V8#4625
ofrobots wants to merge 1 commit into
nodejs:v5.xfrom
ofrobots:fix-3538

Conversation

@ofrobots

Copy link
Copy Markdown
Contributor

This backport fixes a performance pathology in how arrays grow/shrink. This was a regression introduced in V8 4.5. The V8 team has already backported this a far back as V8 4.7. We need to float the backport for v5.x (V8 4.6) and v4.x (V8 4.5).

Fixes: #3538
V8-Commit: v8/v8@066747e

Original commit message:
Make sure that NormalizeElements and ShouldConvertToFastElements are …

…based on the same values

BUG=v8:4518
LOG=n

Review URL: https://codereview.chromium.org/1472293002

Cr-Commit-Position: refs/heads/master@{#32265}

@ofrobotsofrobots added v8 engine Issues and PRs related to the V8 dependency. lts-watch-v4.x labels Jan 11, 2016
@ofrobots

Copy link
Copy Markdown
ContributorAuthor

@cjihrig

Copy link
Copy Markdown
Contributor

LGTM

@ofrobots

Copy link
Copy Markdown
ContributorAuthor

Windows builds on the CI seem to be having issues. Relaunched the windows subset of the CI: https://ci.nodejs.org/job/node-test-commit-windows-fanned/880/

@ofrobots

Copy link
Copy Markdown
ContributorAuthor

/cc @nodejs/v8

@targos

Copy link
Copy Markdown
Member

LGTM once the *.orig files are removed

@indutny

Copy link
Copy Markdown
Member

orig files, otherwise LGTM

This backport fixes a performance pathology in how arrays grow/shrink.
Fixes: nodejs#3538
V8-Commit: v8/v8@066747e
Original commit message:
Make sure that NormalizeElements and ShouldConvertToFastElements are …
…based on the same values
BUG=v8:4518
LOG=n
Review URL: https://codereview.chromium.org/1472293002
Cr-Commit-Position: refs/heads/master@{nodejs#32265}
ofrobots added a commit that referenced this pull request Jan 12, 2016
This backport fixes a performance pathology in how arrays grow/shrink.
Fixes: #3538
V8-Commit: v8/v8@066747e
PR-URL: #4625
Reviewed-By: cjihrig - Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: targos - Michaël Zasso <mic.besace@gmail.com>
Reviewed-By: indutny - Fedor Indutny <fedor.indutny@gmail.com>
Original commit message:
Make sure that NormalizeElements and ShouldConvertToFastElements are …
…based on the same values
BUG=v8:4518
LOG=n
Review URL: https://codereview.chromium.org/1472293002
Cr-Commit-Position: refs/heads/master@{#32265}
@ofrobots

Copy link
Copy Markdown
ContributorAuthor

Landed on v5.x as 00148b3.

@MylesBorinsMylesBorins mentioned this pull request Jan 12, 2016
@jasnell

Copy link
Copy Markdown
Member

@ofrobots ... can I ask you to open a PR for this against v4.x-staging?

@jasnelljasnell closed this Jan 12, 2016
ofrobots added a commit to ofrobots/node that referenced this pull request Jan 13, 2016
This backport fixes a performance pathology in how arrays grow/shrink.
Fixes: nodejs#3538
V8-Commit: v8/v8@066747e
PR-URL: nodejs#4625
Reviewed-By: cjihrig - Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: targos - Michaël Zasso <mic.besace@gmail.com>
Reviewed-By: indutny - Fedor Indutny <fedor.indutny@gmail.com>
Original commit message:
Make sure that NormalizeElements and ShouldConvertToFastElements are …
…based on the same values
BUG=v8:4518
LOG=n
Review URL: https://codereview.chromium.org/1472293002
Cr-Commit-Position: refs/heads/master@{nodejs#32265}
jasnell pushed a commit that referenced this pull request Jan 13, 2016
This backport fixes a performance pathology in how arrays grow/shrink.
Fixes: #3538
V8-Commit: v8/v8@066747e
PR-URL: #4625
Reviewed-By: cjihrig - Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: targos - Michaël Zasso <mic.besace@gmail.com>
Reviewed-By: indutny - Fedor Indutny <fedor.indutny@gmail.com>
Original commit message:
Make sure that NormalizeElements and ShouldConvertToFastElements are …
…based on the same values
BUG=v8:4518
LOG=n
Review URL: https://codereview.chromium.org/1472293002
Cr-Commit-Position: refs/heads/master@{#32265}
Commit metadata for v4.x-staging:
PR-URL: #4655
Reviewed-By: James M Snell <jasnell@gmail.com>
@rvagg

Copy link
Copy Markdown
Member

labelled as dont-land-on-v4.x cause of #4655

MylesBorins pushed a commit that referenced this pull request Jan 19, 2016
This backport fixes a performance pathology in how arrays grow/shrink.
Fixes: #3538
V8-Commit: v8/v8@066747e
PR-URL: #4625
Reviewed-By: cjihrig - Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: targos - Michaël Zasso <mic.besace@gmail.com>
Reviewed-By: indutny - Fedor Indutny <fedor.indutny@gmail.com>
Original commit message:
Make sure that NormalizeElements and ShouldConvertToFastElements are …
…based on the same values
BUG=v8:4518
LOG=n
Review URL: https://codereview.chromium.org/1472293002
Cr-Commit-Position: refs/heads/master@{#32265}
Commit metadata for v4.x-staging:
PR-URL: #4655
Reviewed-By: James M Snell <jasnell@gmail.com>
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

v8 engineIssues and PRs related to the V8 dependency.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

7 participants

@ofrobots@cjihrig@targos@indutny@jasnell@rvagg@MylesBorins