12 references to FOH_COMMIT_SIZE
System.Private.CoreLib (12)
Internal\Runtime\FrozenObjectHeapManager.cs (12)
56
if (objectSize >
FOH_COMMIT_SIZE
)
116
Debug.Assert(m_Size >
FOH_COMMIT_SIZE
);
117
Debug.Assert(m_Size %
FOH_COMMIT_SIZE
== 0);
126
Debug.Assert(m_Size >
FOH_COMMIT_SIZE
);
127
Debug.Assert(m_Size %
FOH_COMMIT_SIZE
== 0);
138
m_pStart = (byte*)ClrVirtualCommit(alloc,
FOH_COMMIT_SIZE
);
147
m_SegmentHandle = RuntimeImports.RhRegisterFrozenSegment(m_pStart, (nuint)m_pCurrent - (nuint)m_pStart,
FOH_COMMIT_SIZE
, m_Size);
154
m_SizeCommitted =
FOH_COMMIT_SIZE
;
162
Debug.Assert(objectSize <=
FOH_COMMIT_SIZE
);
181
Debug.Assert(m_SizeCommitted +
FOH_COMMIT_SIZE
<= m_Size);
183
if (ClrVirtualCommit(m_pStart + m_SizeCommitted,
FOH_COMMIT_SIZE
) == null)
187
m_SizeCommitted +=
FOH_COMMIT_SIZE
;