Uh oh!
There was an error while loading. Please reload this page.
deps: backport 525b396195 from upstream V8 - #23827
Conversation
psmarshall
commented
Oct 23, 2018
@Flarna FYI, here is the backport of the fix. I'll open a separate one for v8.x |
targos
commented
Oct 23, 2018
Refs: v8/v8@525b396 |
Flarna
commented
Oct 23, 2018
Refs: #23070 |
mmarchini
commented
Oct 23, 2018
Some failures might be fixed with #23733 |
3f63297 to
8e7a12fCompareb417494 to
3bf52e2Comparepsmarshall
commented
Oct 30, 2018
I've rebased, could we run the CI & V8 CI again now that #23733 has been backported to 10? |
refack
commented
Oct 30, 2018
V8 CI: https://ci.nodejs.org/job/node-test-commit-v8-linux/1800/ |
Trott
commented
Nov 2, 2018
Are the V8 CI failures expected? |
refack
commented
Nov 2, 2018
It's an escalated ( |
psmarshall
commented
Nov 2, 2018
This PR doesn't touch any of that code, so I guess the V8 CI would also fail without this PR? |
targos
commented
Nov 2, 2018
V8 CI run on v10.x-staging to compare: https://ci.nodejs.org/job/node-test-commit-v8-linux/1806/ |
psmarshall
commented
Nov 2, 2018
I confirmed locally that it does fail without this PR |
I'll bisect 👍 |
richardlau
commented
Nov 2, 2018
46c7d0d changed some |
psmarshall
commented
Nov 2, 2018
Yep looks like that's the one. We could partially revert that CL (just the ones that are still in use) or backport the usage of the new APIs from V8 |
refack
commented
Nov 2, 2018
I had a strong intuition that it was my fault... But our V8 CI builds with GN, so maybe it's not a GYP bug... |
Trott
commented
Nov 2, 2018
Should we remove |
psmarshall
commented
Nov 6, 2018
I'll submit another CL to fix the v8 CI on v10x-staging and then we can re-run it here and land this, so this is blocked at the moment |
psmarshall
commented
Nov 6, 2018
Blocked on: #24195 |
psmarshall
commented
Nov 7, 2018
New CI run now that the CI is green: CI: https://ci.nodejs.org/job/node-test-pull-request/18405/ |
3bf52e2 to
ff09700CompareOriginal commit message: [cpu-profiler] Fix a leak caused by re-logging existing functions. Don't re-log all existing functions during StartProcessorIfNotStarted(). They will already be in the CodeMap attached to the ProfileGenerator and re-logging them causes leaks. See the linked bug for more details. Bug: v8:8253 Change-Id: Ibb1a1ab2431c588e8c3a3a9ff714767cdf61a88e Reviewed-on: https://chromium-review.googlesource.com/1256763 Commit-Queue: Peter Marshall <petermarshall@chromium.org> Reviewed-by: Yang Guo <yangguo@chromium.org> Cr-Commit-Position: refs/heads/master@{nodejs#56336}
ff09700 to
1e6a0b1Comparepsmarshall
commented
Nov 9, 2018
Fixed up v8_embedder_string and rebased, running CI again (there was a wasm test flake) CI: https://ci.nodejs.org/job/node-test-pull-request/18449/ |
psmarshall
commented
Nov 12, 2018
V8 CI is green, CI is 'unstable' but looks ok. Can this be landed? @MylesBorins |
MylesBorins
commented
Nov 12, 2018
landed in 1e9b4a2 |
Original commit message: [cpu-profiler] Fix a leak caused by re-logging existing functions. Don't re-log all existing functions during StartProcessorIfNotStarted(). They will already be in the CodeMap attached to the ProfileGenerator and re-logging them causes leaks. See the linked bug for more details. Bug: v8:8253 Change-Id: Ibb1a1ab2431c588e8c3a3a9ff714767cdf61a88e Reviewed-on: https://chromium-review.googlesource.com/1256763 Commit-Queue: Peter Marshall <petermarshall@chromium.org> Reviewed-by: Yang Guo <yangguo@chromium.org> Cr-Commit-Position: refs/heads/master@{#56336} PR-URL: #23827 Reviewed-By: Michaël Zasso <targos@protonmail.com> Reviewed-By: Matheus Marchini <mat@mmarchini.me> Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Refael Ackermann <refack@gmail.com>
Original commit message: [cpu-profiler] Fix a leak caused by re-logging existing functions. Don't re-log all existing functions during StartProcessorIfNotStarted(). They will already be in the CodeMap attached to the ProfileGenerator and re-logging them causes leaks. See the linked bug for more details. Bug: v8:8253 Change-Id: Ibb1a1ab2431c588e8c3a3a9ff714767cdf61a88e Reviewed-on: https://chromium-review.googlesource.com/1256763 Commit-Queue: Peter Marshall <petermarshall@chromium.org> Reviewed-by: Yang Guo <yangguo@chromium.org> Cr-Commit-Position: refs/heads/master@{#56336} PR-URL: #23827 Reviewed-By: Michaël Zasso <targos@protonmail.com> Reviewed-By: Matheus Marchini <mat@mmarchini.me> Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Refael Ackermann <refack@gmail.com>
Original commit message: [cpu-profiler] Fix a leak caused by re-logging existing functions. Don't re-log all existing functions during StartProcessorIfNotStarted(). They will already be in the CodeMap attached to the ProfileGenerator and re-logging them causes leaks. See the linked bug for more details. Bug: v8:8253 Change-Id: Ibb1a1ab2431c588e8c3a3a9ff714767cdf61a88e Reviewed-on: https://chromium-review.googlesource.com/1256763 Commit-Queue: Peter Marshall <petermarshall@chromium.org> Reviewed-by: Yang Guo <yangguo@chromium.org> Cr-Commit-Position: refs/heads/master@{#56336} PR-URL: #23827 Reviewed-By: Michaël Zasso <targos@protonmail.com> Reviewed-By: Matheus Marchini <mat@mmarchini.me> Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Refael Ackermann <refack@gmail.com>
Original commit message:
[cpu-profiler] Fix a leak caused by re-logging existing functions.
Don't re-log all existing functions during StartProcessorIfNotStarted().
They will already be in the CodeMap attached to the ProfileGenerator and
re-logging them causes leaks. See the linked bug for more details.
Bug: v8:8253
Change-Id: Ibb1a1ab2431c588e8c3a3a9ff714767cdf61a88e
Reviewed-on: https://chromium-review.googlesource.com/1256763
Commit-Queue: Peter Marshall petermarshall@chromium.org
Reviewed-by: Yang Guo yangguo@chromium.org
Cr-Commit-Position: refs/heads/master@{#56336}
Checklist
make -j4 test(UNIX), orvcbuild test(Windows) passesThis has landed on V8 7.0 (https://chromium-review.googlesource.com/c/v8/v8/+/1280443)