-
Notifications
You must be signed in to change notification settings - Fork 5.1k
[ICorProfiler] Add new API to enumerate GC Heap objects #103735
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
Merged
mdh1418
merged 35 commits into
dotnet:main
from
mdh1418:async_heap_enumeration_icorprof_shim
Jul 11, 2024
Merged
Changes from all commits
Commits
Show all changes
35 commits
Select commit
Hold shift + click to select a range
1ad4625
[ICorProfiler] Add new ICorProfilerInfo API to enumerate gc heap
mdh1418 4cff308
Update generated corprof.h
mdh1418 2a356d3
[ICorProfiler] Extend header and source files to ICorProfilerInfo15
mdh1418 24c79ca
[ICorProfiler] Add EnumerateGCHeapObjects skeleton
mdh1418 18050fd
[ICorProfiler] Add EnumerateGCHeapObjects implementation
mdh1418 9882860
[GC] Add IGCHeap API to enumerate GC Heap objects outside of GC
mdh1418 c40ecbc
Cleanup
mdh1418 83f1e8d
[GC] Update gc interface minor version
mdh1418 c6d6f7e
Match callback PascalCase
mdh1418 0b251ff
Address feedback - naming and description
mdh1418 7eec99b
Cleanup
mdh1418 97d29b9
Add EEToProf EnumerateGCheapObjectsCallback wrapper
mdh1418 c8f99ec
[Profiler][Tests] Add EnumerateGCHeapObjects unit test
mdh1418 9a781d8
Address feedback
mdh1418 2aebeea
[ICorProfiler] Mitigate runtime suspension racing with EnumerateGCHea…
mdh1418 924bb77
[ICorProfiler] Update Callback helper contract
mdh1418 463b3a1
Update test cases
mdh1418 e15b9d1
[ICorProfiler] Change Suspend/Resume Runtime to Asynchronous
mdh1418 24d3094
[Tests] Update profiler requested runtime test
mdh1418 0c2e62b
fixup
mdh1418 6055313
Add test for background EnumerateGCHeapObject
mdh1418 8e7d021
Set profiler requested runtime suspend flag
mdh1418 3492adb
Fix symbol exports
mdh1418 9b520cd
Try fix compiler issues
mdh1418 bf01bdd
Allow runtime to resume before returning
mdh1418 ba8d3e6
Fix compilation errors on non-windows platforms
mdh1418 f142e20
Lower expected object count
mdh1418 69ddad7
Add profiler requested runtime suspension note
mdh1418 c316473
[Tests] Protect custom test object from GC
mdh1418 cd5aee6
Fix Profiler Runtime Suspension test
mdh1418 a4cc7b0
Expect to resolve classes during heap walk
mdh1418 39716d3
Address feedback
mdh1418 1f8537c
Update EnumerateGCHeapObjects usage description
mdh1418 86c8148
Add validation to extract class fields from objects
mdh1418 465cf68
Cleanup
mdh1418 File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.