Skip to content
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

[ICorProfiler] Add new API to enumerate GC Heap objects #103735

Merged
merged 35 commits into from
Jul 11, 2024
Merged
Changes from 1 commit
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 Jun 12, 2024
4cff308
Update generated corprof.h
mdh1418 Jun 14, 2024
2a356d3
[ICorProfiler] Extend header and source files to ICorProfilerInfo15
mdh1418 Jun 17, 2024
24c79ca
[ICorProfiler] Add EnumerateGCHeapObjects skeleton
mdh1418 Jun 17, 2024
18050fd
[ICorProfiler] Add EnumerateGCHeapObjects implementation
mdh1418 Jun 17, 2024
9882860
[GC] Add IGCHeap API to enumerate GC Heap objects outside of GC
mdh1418 Jun 19, 2024
c40ecbc
Cleanup
mdh1418 Jun 17, 2024
83f1e8d
[GC] Update gc interface minor version
mdh1418 Jun 21, 2024
c6d6f7e
Match callback PascalCase
mdh1418 Jun 21, 2024
0b251ff
Address feedback - naming and description
mdh1418 Jun 26, 2024
7eec99b
Cleanup
mdh1418 Jun 26, 2024
97d29b9
Add EEToProf EnumerateGCheapObjectsCallback wrapper
mdh1418 Jun 27, 2024
c8f99ec
[Profiler][Tests] Add EnumerateGCHeapObjects unit test
mdh1418 Jul 1, 2024
9a781d8
Address feedback
mdh1418 Jul 1, 2024
2aebeea
[ICorProfiler] Mitigate runtime suspension racing with EnumerateGCHea…
mdh1418 Jul 3, 2024
924bb77
[ICorProfiler] Update Callback helper contract
mdh1418 Jul 3, 2024
463b3a1
Update test cases
mdh1418 Jul 3, 2024
e15b9d1
[ICorProfiler] Change Suspend/Resume Runtime to Asynchronous
mdh1418 Jul 3, 2024
24d3094
[Tests] Update profiler requested runtime test
mdh1418 Jul 3, 2024
0c2e62b
fixup
mdh1418 Jul 8, 2024
6055313
Add test for background EnumerateGCHeapObject
mdh1418 Jul 8, 2024
8e7d021
Set profiler requested runtime suspend flag
mdh1418 Jul 8, 2024
3492adb
Fix symbol exports
mdh1418 Jul 8, 2024
9b520cd
Try fix compiler issues
mdh1418 Jul 8, 2024
bf01bdd
Allow runtime to resume before returning
mdh1418 Jul 8, 2024
ba8d3e6
Fix compilation errors on non-windows platforms
mdh1418 Jul 8, 2024
f142e20
Lower expected object count
mdh1418 Jul 8, 2024
69ddad7
Add profiler requested runtime suspension note
mdh1418 Jul 8, 2024
c316473
[Tests] Protect custom test object from GC
mdh1418 Jul 9, 2024
cd5aee6
Fix Profiler Runtime Suspension test
mdh1418 Jul 9, 2024
a4cc7b0
Expect to resolve classes during heap walk
mdh1418 Jul 9, 2024
39716d3
Address feedback
mdh1418 Jul 9, 2024
1f8537c
Update EnumerateGCHeapObjects usage description
mdh1418 Jul 11, 2024
86c8148
Add validation to extract class fields from objects
mdh1418 Jul 11, 2024
465cf68
Cleanup
mdh1418 Jul 11, 2024
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Try fix compiler issues
  • Loading branch information
mdh1418 committed Jul 8, 2024
commit 9b520cd53bf7a12ff6666d8d2526dbdbc90b40aa
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
// The .NET Foundation licenses this file to you under the MIT license.

#include "gcheapenumerationprofiler.h"
#include <wchar.h>

#if WIN32
#define EXPORT
Expand Down