You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* chunkify TcSymbolUseData
* move LOH size out to a constant
* do chunking and mapping together to reduce allocations
* clarify comment around GC impacts
* add comment informing others of the potential for LOH allocations
Copy file name to clipboardExpand all lines: src/absil/illib.fs
+48-1Lines changed: 48 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -41,6 +41,10 @@ let inline isNonNull x = not (isNull x)
41
41
let inlinenonNull msg x =if isNull x then failwith ("null: "+ msg)else x
42
42
let inline(===) x y = LanguagePrimitives.PhysicalEquality x y
43
43
44
+
/// Per the docs the threshold for the Large Object Heap is 85000 bytes: https://docs.microsoft.com/en-us/dotnet/standard/garbage-collection/large-object-heap#how-an-object-ends-up-on-the-large-object-heap-and-how-gc-handles-them
45
+
/// We set the limit to slightly under that to allow for some 'slop'
0 commit comments