Skip to content

Commit ee37ca2

Browse files
Maoni0BillWagner
andauthored
Update GC.xml (#8901)
* Update GC.xml * Update xml/System/GC.xml Co-authored-by: Bill Wagner <[email protected]> --------- Co-authored-by: Bill Wagner <[email protected]>
1 parent 94fac33 commit ee37ca2

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

xml/System/GC.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1254,8 +1254,8 @@ This method is most useful in monitoring scenarios for measuring the difference
12541254
<Docs>
12551255
<param name="forceFullCollection">
12561256
<see langword="true" /> to indicate that this method can wait for garbage collection to occur before returning; otherwise, <see langword="false" />.</param>
1257-
<summary>Retrieves the number of bytes currently thought to be allocated. A parameter indicates whether this method can wait a short interval before returning, to allow the system to collect garbage and finalize objects.</summary>
1258-
<returns>A number that is the best available approximation of the number of bytes currently allocated in managed memory.</returns>
1257+
<summary>Retrieves the heap size excluding fragmentation. For example if the total GC heap size is 100mb and fragmentation, ie, space taken up by free objects, takes up 40mb, this API would report 60mb. A parameter indicates whether this method can wait a short interval before returning, to allow the system to collect garbage and finalize objects.</summary>
1258+
<returns>The heap size, in bytes, excluding fragmentation.</returns>
12591259
<remarks>
12601260
<format type="text/markdown"><![CDATA[
12611261

0 commit comments

Comments
 (0)