ICALL_TYPE(GC, "System.GC", GC_10)
NOHANDLES(ICALL(GC_10, "GetAllocatedBytesForCurrentThread", ves_icall_System_GC_GetAllocatedBytesForCurrentThread))
+HANDLES(GC_11, "GetTotalAllocatedBytes", ves_icall_System_GC_GetTotalAllocatedBytes, gint64, 1, (MonoBoolean))
NOHANDLES(ICALL(GC_0, "GetCollectionCount", ves_icall_System_GC_GetCollectionCount))
HANDLES(GC_0a, "GetGeneration", ves_icall_System_GC_GetGeneration, int, 1, (MonoObject))
NOHANDLES(ICALL(GC_0b, "GetMaxGeneration", ves_icall_System_GC_GetMaxGeneration))
public static extern long GetAllocatedBytesForCurrentThread ();
[MethodImplAttribute (MethodImplOptions.InternalCall)]
- public static long GetTotalAllocatedBytes (bool precise = false);
+ public static extern long GetTotalAllocatedBytes (bool precise = false);
public static void AddMemoryPressure (long bytesAllocated)
{