diff --git a/src/coreclr/gc/gcinterface.h b/src/coreclr/gc/gcinterface.h index 8a16b9b7d60582..fc27e0cc499136 100644 --- a/src/coreclr/gc/gcinterface.h +++ b/src/coreclr/gc/gcinterface.h @@ -658,23 +658,23 @@ class IGCHeap { public: /* =========================================================================== - Hosting APIs. These are used by GC hosting. The code that - calls these methods may possibly be moved behind the interface - - today, the VM handles the setting of segment size and max gen 0 size. - (See src/vm/corehost.cpp) + Heap sizing and virtual memory limit APIs. =========================================================================== */ // Returns whether or not the given size is a valid segment size. + // No longer used by the VM in .NET Core 2.1+ virtual bool IsValidSegmentSize(size_t size) PURE_VIRTUAL // Returns whether or not the given size is a valid gen 0 max size. + // No longer used by the VM in .NET Core 2.1+ virtual bool IsValidGen0MaxSize(size_t size) PURE_VIRTUAL // Gets a valid segment size. virtual size_t GetValidSegmentSize(bool large_seg = false) PURE_VIRTUAL // Sets the limit for reserved virtual memory. + // No longer used in .NET Core 2.1+ virtual void SetReservedVMLimit(size_t vmlimit) PURE_VIRTUAL /*