Skip to content
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

deps: backport 066747e from upstream V8 #4625

Closed
wants to merge 1 commit into from

Conversation

ofrobots
Copy link
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}

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

@cjihrig
Copy link
Contributor

cjihrig commented Jan 11, 2016

LGTM

@ofrobots
Copy link
Contributor Author

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
Contributor Author

/cc @nodejs/v8

@targos
Copy link
Member

targos commented Jan 12, 2016

LGTM once the *.orig files are removed

@indutny
Copy link
Member

indutny commented Jan 12, 2016

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
Contributor Author

Landed on v5.x as 00148b3.

@MylesBorins MylesBorins mentioned this pull request Jan 12, 2016
@jasnell
Copy link
Member

jasnell commented Jan 12, 2016

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

@jasnell jasnell 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
Member

rvagg commented Jan 15, 2016

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 free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
v8 engine Issues and PRs related to the V8 dependency.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

7 participants