-
Notifications
You must be signed in to change notification settings - Fork 5
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
nsolid: add support for start/stopTrackingHeapObjects #48
Conversation
381ae15
to
6615347
Compare
5c84d29
to
69593d4
Compare
69593d4
to
b085ec8
Compare
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.
Looking very good
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.
The next revision addresses all the comments except the "emplace and check" in the thread map for heap snapshots due to a crash.
b085ec8
to
0c356de
Compare
f187b72
to
e2857cb
Compare
e2857cb
to
4699e3b
Compare
4699e3b
to
5a04ab9
Compare
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.
Awesome stuff Juan. I just have one question, and one minor adjustment. Linter also fails on the test. Mind taking care of those and I'll approve.
5a04ab9
to
0a13cf8
Compare
This patch implements triggers for `startTrackingHeapObjects` and `stopTrackingHeapObjects` in the heap profiler. The implementation is based on what the inspector does: The `startTrackingHeapObjects` will simply activate that in the HeapProfiler and; the `stopTrackingHeapObjects` will create a heap snapshot and deactivate the `TrackingHeapObjects` in the Heap profiler. This patch also includes the `trackAllocations` option supported. PR-URL: #48 Signed-off-by: Juan José Arboleda <soyjuanarbol@gmail.com> Co-authored-by: Santiago Gimeno <santiago.gimeno@gmail.com> Signed-off-by: Juan José Arboleda <soyjuanarbol@gmail.com> Reviewed-by: Trevor Norris <trev.norris@gmail.com>
0a13cf8
to
db2107b
Compare
This patch implements triggers for `startTrackingHeapObjects` and `stopTrackingHeapObjects` in the heap profiler. The implementation is based on what the inspector does: The `startTrackingHeapObjects` will simply activate that in the HeapProfiler and; the `stopTrackingHeapObjects` will create a heap snapshot and deactivate the `TrackingHeapObjects` in the Heap profiler. This patch also includes the `trackAllocations` option supported. PR-URL: #48 Signed-off-by: Juan José Arboleda <soyjuanarbol@gmail.com> Co-authored-by: Santiago Gimeno <santiago.gimeno@gmail.com> Reviewed-by: Trevor Norris <trev.norris@gmail.com>
db2107b
to
16dfce0
Compare
This patch implements triggers for `startTrackingHeapObjects` and `stopTrackingHeapObjects` in the heap profiler. The implementation is based on what the inspector does: The `startTrackingHeapObjects` will simply activate that in the HeapProfiler and; the `stopTrackingHeapObjects` will create a heap snapshot and deactivate the `TrackingHeapObjects` in the Heap profiler. This patch also includes the `trackAllocations` option supported. PR-URL: #48 Signed-off-by: Juan José Arboleda <soyjuanarbol@gmail.com> Co-authored-by: Santiago Gimeno <santiago.gimeno@gmail.com> Reviewed-by: Trevor Norris <trev.norris@gmail.com> Reviewed-by: Santiago Gimeno <santiago.gimeno@gmail.com>
16dfce0
to
f7b4b61
Compare
This patch implements triggers for `startTrackingHeapObjects` and `stopTrackingHeapObjects` in the heap profiler. The implementation is based on what the inspector does: The `startTrackingHeapObjects` will simply activate that in the HeapProfiler and; the `stopTrackingHeapObjects` will create a heap snapshot and deactivate the `TrackingHeapObjects` in the Heap profiler. This patch also includes the `trackAllocations` option supported. PR-URL: #48 Signed-off-by: Juan José Arboleda <soyjuanarbol@gmail.com> Co-authored-by: Santiago Gimeno <santiago.gimeno@gmail.com> Reviewed-by: Trevor Norris <trev.norris@gmail.com> Reviewed-by: Santiago Gimeno <santiago.gimeno@gmail.com>
This patch implements triggers for
startTrackingHeapObjects
andstopTrackingHeapObjects
in the heap profiler.The implementation is based on what the inspector does:
The
startTrackingHeapObjects
will simply activate that in the HeapProfiler and; thestopTrackingHeapObjects
will create a heap snapshot and deactivate theTrackingHeapObjects
in the Heap profiler.This patch also includes the
trackAllocations
option supported.