summaryrefslogtreecommitdiff
path: root/src/System.Private.CoreLib/src/System/GC.cs
diff options
context:
space:
mode:
Diffstat (limited to 'src/System.Private.CoreLib/src/System/GC.cs')
-rw-r--r--src/System.Private.CoreLib/src/System/GC.cs3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/System.Private.CoreLib/src/System/GC.cs b/src/System.Private.CoreLib/src/System/GC.cs
index aac612a63a..838e8147f2 100644
--- a/src/System.Private.CoreLib/src/System/GC.cs
+++ b/src/System.Private.CoreLib/src/System/GC.cs
@@ -104,6 +104,9 @@ namespace System
[MethodImplAttribute(MethodImplOptions.InternalCall)]
internal static extern bool IsServerGC();
+ [MethodImplAttribute(MethodImplOptions.InternalCall)]
+ internal static extern ulong GetSegmentSize();
+
[DllImport(JitHelpers.QCall, CharSet = CharSet.Unicode)]
private static extern void _AddMemoryPressure(ulong bytesAllocated);