File tree Expand file tree Collapse file tree 1 file changed +4
-0
lines changed Expand file tree Collapse file tree 1 file changed +4
-0
lines changed Original file line number Diff line number Diff line change @@ -4324,6 +4324,10 @@ interface ICorProfilerInfo15 : ICorProfilerInfo14
4324
4324
* EnumerateGCHeapObjects is a method that iterates over each object in the GC heap.
4325
4325
* For each object, it invokes the provided callback function which should return a bool
4326
4326
* indicating whether or not enumeration should continue.
4327
+ * The runtime must be suspended in order to enumerate objects on the GC heap.
4328
+ * If the profiler requested runtime suspension through SuspendRuntime and proceeds to
4329
+ * invoke EnumerateGCHeapObjects, it is the responsibility of the profiler to not
4330
+ * resume the runtime before EnumerateGCHeapObjects completes.
4327
4331
*
4328
4332
* Parameters:
4329
4333
* - callback: A function pointer to the callback function that will be invoked for each object in the GC heap.
You can’t perform that action at this time.
0 commit comments