-
Notifications
You must be signed in to change notification settings - Fork 757
Add GC Heap Analyzer support to .nettrace files #2216
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
Changes from all commits
8deda8e
571dbbd
75be7c2
fc742bf
6bae0c0
05ed532
5b82546
265243c
6931386
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -9560,6 +9560,7 @@ protected override Action<Action> OpenImpl(Window parentWindow, StatusBar worker | |
| if (hasGC) | ||
| { | ||
| memory.AddChild(new PerfViewGCStats(this)); | ||
| memory.AddChild(new MemoryAnalyzer(this)); | ||
|
Member
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. This is a partial implementation, but more is required. When some one double clicks on the "GC Heap Analyzer" option, it calls
Contributor
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I've implemented the requested changes to
The implementation handles both multi-process and single-process scenarios properly. (fc742bf) |
||
| } | ||
|
|
||
| if (hasGCAllocationTicks) | ||
|
|
||
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.
CONSIDER: This is all more easily readable with Path.GetFileName(Path.GetDirectoryName(path)) with maybe some sanity checks around the input.
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.
Refactored to use Path.GetFileName(Path.GetDirectoryName(path)) as suggested. Much cleaner and more readable than the manual string manipulation. (05ed532)