Skip to content

Commit a122ca3

Browse files
committed
Add EnableGCNotificationEvents deprecation comment
1 parent 63e321f commit a122ca3

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

src/coreclr/src/inc/cordebug.idl

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3307,6 +3307,9 @@ interface ICorDebugProcess10 : IUnknown
33073307
// Enable or disable the GC notification events. The GC notification events are turned off by default
33083308
// They will be delivered through ICorDebugManagedCallback4
33093309
//
3310+
// This interface is deprecated. The EnableGCNotificationEvents(true) occasionally deadlocked debug sessions
3311+
// in .NET Core 5.0 and later. Please use the IID_ICorDebugHeapValue4 to pin an object and prevent its relocation
3312+
//
33103313
// Parameters
33113314
// fEnable - true to enable the events, false to disable
33123315
//

0 commit comments

Comments
 (0)