GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — [10.x] deps: V8: backport 4 CPU profiler commits from upstream by psmarshall · Pull Request #22028 · nodejs/node

Conversation

@psmarshall

@psmarshall psmarshall commented Jul 30, 2018

Copy link
Copy Markdown
Contributor
Checklist
  • make -j4 test (UNIX), or vcbuild test (Windows) passes
  • commit message follows commit guidelines

@ofrobots

[cpu-profiler] Add a new profiling mode with a more detailed call tree.
https://chromium.googlesource.com/v8/v8.git/+/ecae80cdb350dde1e654c531b56f5b6c44dc8c77

[cpu-profiler] Reuse free slots in code_entries_
https://chromium.googlesource.com/v8/v8.git/+/3e1126bf15e62c433c4e9cb21316d182f691c63a

[cpu-profiler] Only store deopt inline frames for functions that need it
https://chromium.googlesource.com/v8/v8.git/+/0bfcbdd4726920755e51dab28c18ab93e050819b

[cpu-profiler] Use instruction start as the key for the CodeMap
https://chromium.googlesource.com/v8/v8.git/+/ba752ea4c50713dff1e94f45a79db3ba968a8d66

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

bricss reacted with thumbs up emoji
All reactions
  • 👍 1 reaction
@nodejs-github-bot nodejs-github-bot added the v8 engine Issues and PRs related to the V8 dependency. label Jul 30, 2018
@psmarshall

psmarshall commented Jul 30, 2018

Copy link
Copy Markdown
Contributor Author

I'd like to land this with the V8 update (to 6.8) on 10.x

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@ofrobots

ofrobots commented Aug 1, 2018 •
edited
Loading

Uh oh!

There was an error while loading. Please reload this page.

Copy link
Copy Markdown
Contributor

/cc @nodejs/v8-update

EDIT:
CI: https://ci.nodejs.org/job/node-test-pull-request/16130/
V8-CI: https://ci.nodejs.org/view/All/job/node-test-commit-v8-linux/

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@ofrobots

ofrobots commented Aug 1, 2018

Copy link
Copy Markdown
Contributor

v8_embedder_string in common.gypi should be bumped (by 1).

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@psmarshall
psmarshall force-pushed the backport-cpu-profiler-to-v10.x branch from c5be937 to 406d2f6 Compare August 3, 2018 11:21
@psmarshall

psmarshall commented Aug 3, 2018

Copy link
Copy Markdown
Contributor Author

Thanks, I've bumped v8_embedder_string

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@psmarshall
psmarshall changed the base branch from master to v10.x-staging August 3, 2018 11:30
@rvagg
rvagg force-pushed the v10.x-staging branch from 82830a8 to b1adb44 Compare August 16, 2018 01:42
@psmarshall
psmarshall force-pushed the backport-cpu-profiler-to-v10.x branch from 406d2f6 to 4445b31 Compare August 16, 2018 09:35
@psmarshall

psmarshall commented Aug 16, 2018

Copy link
Copy Markdown
Contributor Author

@ofrobots I've rebased now that V8 6.8 has landed on v10.x-staging, so we should be OK to land this so that it can be in the 10.10 release

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

BridgeAR
BridgeAR approved these changes Aug 16, 2018
View reviewed changes

@BridgeAR BridgeAR left a comment

Copy link
Copy Markdown
Member

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

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
@psmarshall psmarshall mentioned this pull request Aug 22, 2018
[8.x] deps: V8: backport 20 CPU profiler commits from upstream #21558
Closed
2 tasks done
@psmarshall
psmarshall force-pushed the backport-cpu-profiler-to-v10.x branch from 4445b31 to fe2ada8 Compare August 29, 2018 09:04
bmeurer
bmeurer approved these changes Aug 29, 2018
View reviewed changes

@bmeurer bmeurer left a comment

Copy link
Copy Markdown
Member

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.

LGTM (rubber-stamped)

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
@targos

targos commented Aug 29, 2018

Copy link
Copy Markdown
Member

Any reason not to land this on the master branch?

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@psmarshall

psmarshall commented Aug 29, 2018

Copy link
Copy Markdown
Contributor Author

@targos I don't see why not. I'll retarget it to master

targos reacted with thumbs up emoji
All reactions
  • 👍 1 reaction

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@psmarshall
[10.x] deps: V8: backport 4 CPU profiler commits from upstream
95072d7
[cpu-profiler] Add a new profiling mode with a more detailed call tree.
https://chromium.googlesource.com/v8/v8.git/+/ecae80cdb350dde1e654c531b56f5b6c44dc8c77

[cpu-profiler] Reuse free slots in code_entries_
https://chromium.googlesource.com/v8/v8.git/+/3e1126bf15e62c433c4e9cb21316d182f691c63a

[cpu-profiler] Only store deopt inline frames for functions that need it
https://chromium.googlesource.com/v8/v8.git/+/0bfcbdd4726920755e51dab28c18ab93e050819b

[cpu-profiler] Use instruction start as the key for the CodeMap
https://chromium.googlesource.com/v8/v8.git/+/ba752ea4c50713dff1e94f45a79db3ba968a8d66
@psmarshall
psmarshall changed the base branch from v10.x-staging to master August 29, 2018 14:14
@psmarshall
psmarshall force-pushed the backport-cpu-profiler-to-v10.x branch from fe2ada8 to 95072d7 Compare August 29, 2018 14:15
@targos

targos commented Aug 29, 2018

Copy link
Copy Markdown
Member

Thanks! CI: https://ci.nodejs.org/job/node-test-pull-request/16858/

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@targos

targos commented Sep 3, 2018

Copy link
Copy Markdown
Member

Landed in 8ac662e

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@targos targos closed this Sep 3, 2018
targos pushed a commit that referenced this pull request Sep 3, 2018
@psmarshall @targos
deps: backport 4 CPU profiler commits from upstream V8
8ac662e
[cpu-profiler] Add a new profiling mode with a more detailed call tree.
https://chromium.googlesource.com/v8/v8.git/+/ecae80cdb350dde1e654c531b56f5b6c44dc8c77

[cpu-profiler] Reuse free slots in code_entries_
https://chromium.googlesource.com/v8/v8.git/+/3e1126bf15e62c433c4e9cb21316d182f691c63a

[cpu-profiler] Only store deopt inline frames for functions that need it
https://chromium.googlesource.com/v8/v8.git/+/0bfcbdd4726920755e51dab28c18ab93e050819b

[cpu-profiler] Use instruction start as the key for the CodeMap
https://chromium.googlesource.com/v8/v8.git/+/ba752ea4c50713dff1e94f45a79db3ba968a8d66

PR-URL: #22028
Reviewed-By: Ruben Bridgewater <[email protected]>
Reviewed-By: Benedikt Meurer <[email protected]>
@targos

targos commented Sep 3, 2018 •
edited
Loading

Uh oh!

There was an error while loading. Please reload this page.

Copy link
Copy Markdown
Member

It turns out this change breaks V8 tests:

https://ci.nodejs.org/view/All/job/node-test-commit-v8-linux/nodes=ubuntu1604-intel-64,v8test=v8test/1651/console

14:15:07 ../../test/cctest/test-log.cc:741:59: error: non-virtual member function marked 'override' hides virtual member function
14:15:07     void CodeMoveEvent(i::AbstractCode* from, Address to) override {}
14:15:07                                                           ^
14:15:07 ../../src/code-events.h:86:16: note: hidden overloaded virtual function 'v8::internal::CodeEventListener::CodeMoveEvent' declared here: type mismatch at 2nd parameter ('v8::internal::AbstractCode *' vs 'v8::internal::Address' (aka 'unsigned long'))
14:15:07   virtual void CodeMoveEvent(AbstractCode* from, AbstractCode* to) = 0;
14:15:07                ^
14:15:07 ../../test/cctest/test-log.cc:750:5: error: variable type 'class (anonymous class at ../../test/cctest/test-log.cc:739:3)' is an abstract class
14:15:07   } code_event_logger;
14:15:07     ^
14:15:07 ../../src/code-events.h:86:16: note: unimplemented pure virtual method 'CodeMoveEvent' in ''
14:15:07   virtual void CodeMoveEvent(AbstractCode* from, AbstractCode* to) = 0;
14:15:07                ^
14:15:07 2 errors generated.

Edit: fix at #22677

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

targos added a commit to targos/node that referenced this pull request Sep 3, 2018
@targos
deps: fix V8 test regression
d8b470a
Fixes a regression introduced in a V8 backport PR.
A small change in cctest/test-log.cc was forgotten.

Refs: nodejs#22028
Refs: v8/v8@ba752ea
@targos targos mentioned this pull request Sep 3, 2018
deps: fix V8 test regression #22677
Closed
addaleax pushed a commit that referenced this pull request Sep 3, 2018
@psmarshall @addaleax
deps: backport 4 CPU profiler commits from upstream V8
1cdcdc7
[cpu-profiler] Add a new profiling mode with a more detailed call tree.
https://chromium.googlesource.com/v8/v8.git/+/ecae80cdb350dde1e654c531b56f5b6c44dc8c77

[cpu-profiler] Reuse free slots in code_entries_
https://chromium.googlesource.com/v8/v8.git/+/3e1126bf15e62c433c4e9cb21316d182f691c63a

[cpu-profiler] Only store deopt inline frames for functions that need it
https://chromium.googlesource.com/v8/v8.git/+/0bfcbdd4726920755e51dab28c18ab93e050819b

[cpu-profiler] Use instruction start as the key for the CodeMap
https://chromium.googlesource.com/v8/v8.git/+/ba752ea4c50713dff1e94f45a79db3ba968a8d66

PR-URL: #22028
Reviewed-By: Ruben Bridgewater <[email protected]>
Reviewed-By: Benedikt Meurer <[email protected]>
targos added a commit to targos/node that referenced this pull request Sep 4, 2018
@targos
deps: fix V8 test regression
ebc965f
Fixes a regression introduced in a V8 backport PR.
A small change in cctest/test-log.cc was forgotten.

Refs: nodejs#22028
Refs: v8/v8@ba752ea

PR-URL: nodejs#22677
Reviewed-By: Anna Henningsen <[email protected]>
Reviewed-By: Colin Ihrig <[email protected]>
Reviewed-By: Anatoli Papirovski <[email protected]>
@targos targos added dont-land-on-v6.x labels Sep 4, 2018
@psmarshall

psmarshall commented Sep 4, 2018

Copy link
Copy Markdown
Contributor Author

Thanks for fixing that. I think I somehow missed the changes to test-log.cc when I was fixing conflicts - the fix to the test should have been included in this one:

[cpu-profiler] Use instruction start as the key for the CodeMap
https://chromium.googlesource.com/v8/v8.git/+/ba752ea4c50713dff1e94f45a79db3ba968a8d66

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

targos pushed a commit that referenced this pull request Sep 5, 2018
@psmarshall @targos
deps: backport 4 CPU profiler commits from upstream V8
a5c0bc4
[cpu-profiler] Add a new profiling mode with a more detailed call tree.
https://chromium.googlesource.com/v8/v8.git/+/ecae80cdb350dde1e654c531b56f5b6c44dc8c77

[cpu-profiler] Reuse free slots in code_entries_
https://chromium.googlesource.com/v8/v8.git/+/3e1126bf15e62c433c4e9cb21316d182f691c63a

[cpu-profiler] Only store deopt inline frames for functions that need it
https://chromium.googlesource.com/v8/v8.git/+/0bfcbdd4726920755e51dab28c18ab93e050819b

[cpu-profiler] Use instruction start as the key for the CodeMap
https://chromium.googlesource.com/v8/v8.git/+/ba752ea4c50713dff1e94f45a79db3ba968a8d66

PR-URL: #22028
Reviewed-By: Ruben Bridgewater <[email protected]>
Reviewed-By: Benedikt Meurer <[email protected]>
targos added a commit that referenced this pull request Sep 5, 2018
@targos
deps: fix V8 test regression
a986abc
Fixes a regression introduced in a V8 backport PR.
A small change in cctest/test-log.cc was forgotten.

Refs: #22028
Refs: v8/v8@ba752ea

PR-URL: #22677
Reviewed-By: Anna Henningsen <[email protected]>
Reviewed-By: Colin Ihrig <[email protected]>
Reviewed-By: Anatoli Papirovski <[email protected]>
@targos targos mentioned this pull request Sep 5, 2018
Release proposal: v10.10.0 #22716
Merged
targos pushed a commit that referenced this pull request Sep 6, 2018
@psmarshall @targos
deps: backport 4 CPU profiler commits from upstream V8
f354cf8
[cpu-profiler] Add a new profiling mode with a more detailed call tree.
https://chromium.googlesource.com/v8/v8.git/+/ecae80cdb350dde1e654c531b56f5b6c44dc8c77

[cpu-profiler] Reuse free slots in code_entries_
https://chromium.googlesource.com/v8/v8.git/+/3e1126bf15e62c433c4e9cb21316d182f691c63a

[cpu-profiler] Only store deopt inline frames for functions that need it
https://chromium.googlesource.com/v8/v8.git/+/0bfcbdd4726920755e51dab28c18ab93e050819b

[cpu-profiler] Use instruction start as the key for the CodeMap
https://chromium.googlesource.com/v8/v8.git/+/ba752ea4c50713dff1e94f45a79db3ba968a8d66

PR-URL: #22028
Reviewed-By: Ruben Bridgewater <[email protected]>
Reviewed-By: Benedikt Meurer <[email protected]>
targos added a commit that referenced this pull request Sep 6, 2018
@targos
deps: fix V8 test regression
29d19fd
Fixes a regression introduced in a V8 backport PR.
A small change in cctest/test-log.cc was forgotten.

Refs: #22028
Refs: v8/v8@ba752ea

PR-URL: #22677
Reviewed-By: Anna Henningsen <[email protected]>
Reviewed-By: Colin Ihrig <[email protected]>
Reviewed-By: Anatoli Papirovski <[email protected]>
This was referenced Sep 6, 2018
2018-09-06 Version 10.10.0 (Current) @targos beevelop/docker-android-nodejs#236
Closed
2018-09-06 Version 10.10.0 (Current) @targos beevelop/docker-nodejs#221
Closed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

@BridgeAR BridgeAR BridgeAR approved these changes
+1 more reviewer
@bmeurer bmeurer bmeurer approved these changes
Reviewers whose approvals may not affect merge requirements

Uh oh!

There was an error while loading. Please reload this page.

Assignees

No one assigned

Labels

v8 engine Issues and PRs related to the V8 dependency.

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

Uh oh!

There was an error while loading. Please reload this page.

6 participants

@psmarshall @ofrobots @targos @bmeurer @BridgeAR @nodejs-github-bot
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.
You are visitor 01402775 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.