Skip to content

Commit

Permalink
Add profiler requested runtime suspension note
Browse files Browse the repository at this point in the history
  • Loading branch information
mdh1418 committed Jul 8, 2024
1 parent dd4e7b1 commit 5cc754a
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/coreclr/inc/corprof.idl
Original file line number Diff line number Diff line change
Expand Up @@ -4324,6 +4324,10 @@ interface ICorProfilerInfo15 : ICorProfilerInfo14
* EnumerateGCHeapObjects is a method that iterates over each object in the GC heap.
* For each object, it invokes the provided callback function which should return a bool
* indicating whether or not enumeration should continue.
* The runtime must be suspended in order to enumerate objects on the GC heap.
* If the profiler requested runtime suspension through SuspendRuntime and proceeds to
* invoke EnumerateGCHeapObjects, it is the responsibility of the profiler to not
* resume the runtime before EnumerateGCHeapObjects completes.
*
* Parameters:
* - callback: A function pointer to the callback function that will be invoked for each object in the GC heap.
Expand Down

0 comments on commit 5cc754a

Please sign in to comment.