src: enable more detailed memory tracking#21742
src: enable more detailed memory tracking#21742addaleax wants to merge 3 commits intonodejs:masterfrom
Conversation
src/memory_tracker-inl.h
Outdated
There was a problem hiding this comment.
just thinking... some trace event output in here might be interesting from a diagnostics point of view... not necessarily in this PR, but at some point.
There was a problem hiding this comment.
We could probably do that but I’m not sure what to track here – this is static information, not something event-related? We could maybe track the heap dump in progress, but that is already a diagnostic tool by itself
There was a problem hiding this comment.
I'll play around with it to see if we can get some interesting data out of it after this lands :-)
82c79fe to
5641d0e
Compare
This will enable more detailed heap snapshots based on a newer V8 API. This commit itself is not tied to that API and could be backported.
|
Trying something else to hopefully make MSVC happy: https://ci.nodejs.org/job/node-test-pull-request/15844/ |
|
Windows re-run, this time it looks like it’s just a flake: https://ci.nodejs.org/job/node-test-commit-windows-fanned/19268/ |
|
Nice, Windows re-run came back good. Will land this soon if there are no objections. |
|
Landed in 57e3015 |
This will enable more detailed heap snapshots based on a newer V8 API. This commit itself is not tied to that API and could be backported. PR-URL: #21742 Reviewed-By: James M Snell <jasnell@gmail.com>
This will enable more detailed heap snapshots based on a newer V8 API. This commit itself is not tied to that API and could be backported. PR-URL: #21742 Reviewed-By: James M Snell <jasnell@gmail.com>
Splitting out from #21741:
This will enable more detailed heap snapshots based on
a newer V8 API.
This commit itself is not tied to that API and could
be backported.
Checklist
make -j4 test(UNIX), orvcbuild test(Windows) passes