-
Notifications
You must be signed in to change notification settings - Fork 30.2k
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
Refloat cherry-picks from #18196 #18360
Conversation
Original commit message: [tracing] allow embedders to provide own tracing timestamps Make it possible for embedders to provide their own tracing timetamps by providing an overridable virtual function on V8's tracing controller. Bug: Cq-Include-Trybots: master.tryserver.chromium.linux:linux_chromium_rel_ng Change-Id: I727e633cb7f63d4b41c2e427ecca3c9174c90bfe Reviewed-on: https://chromium-review.googlesource.com/847690 Reviewed-by: Yang Guo <[email protected]> Reviewed-by: Fadi Meawad <[email protected]> Commit-Queue: Ali Ijaz Sheikh <[email protected]> Cr-Commit-Position: refs/heads/master@{nodejs#50489} Refs: v8/v8@814577e Refs: nodejs#17349 PR-URL: nodejs#18196 Reviewed-By: Ben Noordhuis <[email protected]> Reviewed-By: James M Snell <[email protected]> Reviewed-By: Anna Henningsen <[email protected]> Reviewed-By: Andreas Madsen <[email protected]>
Original commit message: [tracing] implement TRACE_EVENT_ADD_WITH_TIMESTAMP Bug: Cq-Include-Trybots: master.tryserver.chromium.linux:linux_chromium_rel_ng Change-Id: Icb3cf7b7f96704e1eaa4c5fbf773b94b70cddc85 Reviewed-on: https://chromium-review.googlesource.com/861302 Reviewed-by: Fadi Meawad <[email protected]> Reviewed-by: Yang Guo <[email protected]> Commit-Queue: Ali Ijaz Sheikh <[email protected]> Cr-Commit-Position: refs/heads/master@{nodejs#50549} Refs: v8/v8@c3bb73f Refs: nodejs#17349 PR-URL: nodejs#18196 Reviewed-By: Ben Noordhuis <[email protected]> Reviewed-By: James M Snell <[email protected]> Reviewed-By: Anna Henningsen <[email protected]> Reviewed-By: Andreas Madsen <[email protected]>
Since this change is arguably changing ABI do we need to bump module version? or is it close enough to the 6.4 land that we can shrug it off? |
ABI changes on |
@ofrobots we do arguably bump the module version number on master every time though |
If I'm understanding the issue correctly it wasn't even possible to build node after the 6.4 changes landed. If that's the case then I don't think ABI compatibility is a problem here. |
@MylesBorins it makes sense to bump the MODULE_VERSION each time a new V8 is picked up; but I don't think that locks us into a precise V8 ABI during the lifetime of that version of V8 on |
V8-CI is failing
Should we back out 6.4 and figure out the fix separately? V8-CI on master for comparison |
That test failure suggests that some V8 commit was landed with |
OH NO! that was totally me when I landed the original PR. ugh I'm sorry. Since nothing else has landed on master should we force push? |
Yep, 4c4af64 contains the change to ClassFields.golden. @MylesBorins did you land that with |
Force push window is only about 10 minutes. Please don't. I've rebased things since this landed. |
In other words, please go with a new corrective commit rather than a force push. |
@jasnell I'll submit a new PR to fix this |
Personally, I don't think the V8-CI is absolutely critical to be green. I think we should fix the whitespace issue in ClassFields.golden in a follow up. |
I'll make a patch and we can wrap it into this PR |
This commit is the result of reverting the upgrade, applying the upgrade again, and squashing all 20 commits |
4c4af64 accidentally dropped the significant whitespace from this test when it was landed. Add the whitespace back. Refs: nodejs#17489 PR-URL: nodejs#18360
Added to the PR. New V8-CI is at https://ci.nodejs.org/view/All/job/node-test-commit-v8-linux/1179/, but I am not going to wait for it, it is more important to fix the Node CI. Can I get a quick LGTM on this last commit: 20c1fce. |
LGTM |
Thanks. Landed as 990959d...142d623. |
Original commit message: [tracing] allow embedders to provide own tracing timestamps Make it possible for embedders to provide their own tracing timetamps by providing an overridable virtual function on V8's tracing controller. Bug: Cq-Include-Trybots: master.tryserver.chromium.linux:linux_chromium_rel_ng Change-Id: I727e633cb7f63d4b41c2e427ecca3c9174c90bfe Reviewed-on: https://chromium-review.googlesource.com/847690 Reviewed-by: Yang Guo <[email protected]> Reviewed-by: Fadi Meawad <[email protected]> Commit-Queue: Ali Ijaz Sheikh <[email protected]> Cr-Commit-Position: refs/heads/master@{#50489} Refs: v8/v8@814577e Refs: #17349 PR-URL: #18196 Refs: #18360 Reviewed-By: Ben Noordhuis <[email protected]> Reviewed-By: James M Snell <[email protected]> Reviewed-By: Anna Henningsen <[email protected]> Reviewed-By: Andreas Madsen <[email protected]>
Original commit message: [tracing] implement TRACE_EVENT_ADD_WITH_TIMESTAMP Bug: Cq-Include-Trybots: master.tryserver.chromium.linux:linux_chromium_rel_ng Change-Id: Icb3cf7b7f96704e1eaa4c5fbf773b94b70cddc85 Reviewed-on: https://chromium-review.googlesource.com/861302 Reviewed-by: Fadi Meawad <[email protected]> Reviewed-by: Yang Guo <[email protected]> Commit-Queue: Ali Ijaz Sheikh <[email protected]> Cr-Commit-Position: refs/heads/master@{#50549} Refs: v8/v8@c3bb73f Refs: #17349 PR-URL: #18196 Refs: #18360 Reviewed-By: Ben Noordhuis <[email protected]> Reviewed-By: James M Snell <[email protected]> Reviewed-By: Anna Henningsen <[email protected]> Reviewed-By: Andreas Madsen <[email protected]>
4c4af64 accidentally dropped the significant whitespace from this test when it was landed. Add the whitespace back. Refs: #17489 PR-URL: #18360 Reviewed-By: Kyle Farnung <[email protected]>
Some whitespace was lost when nodejs#17489 landed. While I restored the one file causing the V8-CI to fail, I missed the remaining changes from Myles. This changes restores all whitespace differences with upstream. PR-URL: nodejs#18366 Refs: nodejs#18360 Reviewed-By: Myles Borins <[email protected]> Reviewed-By: Michaël Zasso <[email protected]> Reviewed-By: Colin Ihrig <[email protected]> Reviewed-By: James M Snell <[email protected]>
Original commit message: [tracing] allow embedders to provide own tracing timestamps Make it possible for embedders to provide their own tracing timetamps by providing an overridable virtual function on V8's tracing controller. Bug: Cq-Include-Trybots: master.tryserver.chromium.linux:linux_chromium_rel_ng Change-Id: I727e633cb7f63d4b41c2e427ecca3c9174c90bfe Reviewed-on: https://chromium-review.googlesource.com/847690 Reviewed-by: Yang Guo <[email protected]> Reviewed-by: Fadi Meawad <[email protected]> Commit-Queue: Ali Ijaz Sheikh <[email protected]> Cr-Commit-Position: refs/heads/master@{nodejs#50489} Refs: v8/v8@814577e Refs: nodejs#17349 PR-URL: nodejs#18196 Refs: nodejs#18360 Reviewed-By: Ben Noordhuis <[email protected]> Reviewed-By: James M Snell <[email protected]> Reviewed-By: Anna Henningsen <[email protected]> Reviewed-By: Andreas Madsen <[email protected]>
Original commit message: [tracing] implement TRACE_EVENT_ADD_WITH_TIMESTAMP Bug: Cq-Include-Trybots: master.tryserver.chromium.linux:linux_chromium_rel_ng Change-Id: Icb3cf7b7f96704e1eaa4c5fbf773b94b70cddc85 Reviewed-on: https://chromium-review.googlesource.com/861302 Reviewed-by: Fadi Meawad <[email protected]> Reviewed-by: Yang Guo <[email protected]> Commit-Queue: Ali Ijaz Sheikh <[email protected]> Cr-Commit-Position: refs/heads/master@{nodejs#50549} Refs: v8/v8@c3bb73f Refs: nodejs#17349 PR-URL: nodejs#18196 Refs: nodejs#18360 Reviewed-By: Ben Noordhuis <[email protected]> Reviewed-By: James M Snell <[email protected]> Reviewed-By: Anna Henningsen <[email protected]> Reviewed-By: Andreas Madsen <[email protected]>
4c4af64 accidentally dropped the significant whitespace from this test when it was landed. Add the whitespace back. Refs: nodejs#17489 PR-URL: nodejs#18360 Reviewed-By: Kyle Farnung <[email protected]>
Some whitespace was lost when nodejs#17489 landed. While I restored the one file causing the V8-CI to fail, I missed the remaining changes from Myles. This changes restores all whitespace differences with upstream. PR-URL: nodejs#18366 Refs: nodejs#18360 Reviewed-By: Myles Borins <[email protected]> Reviewed-By: Michaël Zasso <[email protected]> Reviewed-By: Colin Ihrig <[email protected]> Reviewed-By: James M Snell <[email protected]>
#18196 landed shortly before #17489. The latter ends up dropping the V8 cherry-picks contained in the former. This PR cherry-picks them back.
/cc @MylesBorins @apapirovski @targos
CI: https://ci.nodejs.org/job/node-test-pull-request/12721/