2 writes to m_Size
System.Private.CoreLib (2)
Internal\Runtime\FrozenObjectHeapManager.cs (2)
114m_Size = sizeHint; 125m_Size = FOH_SEGMENT_DEFAULT_SIZE;
14 references to m_Size
System.Private.CoreLib (14)
Internal\Runtime\FrozenObjectHeapManager.cs (14)
72nuint prevSegmentSize = m_CurrentSegment.m_Size; 116Debug.Assert(m_Size > FOH_COMMIT_SIZE); 117Debug.Assert(m_Size % FOH_COMMIT_SIZE == 0); 119void* alloc = ClrVirtualReserve(m_Size); 123if (m_Size > FOH_SEGMENT_DEFAULT_SIZE) 126Debug.Assert(m_Size > FOH_COMMIT_SIZE); 127Debug.Assert(m_Size % FOH_COMMIT_SIZE == 0); 128alloc = ClrVirtualReserve(m_Size); 141ClrVirtualFree(alloc, m_Size); 147m_SegmentHandle = RuntimeImports.RhRegisterFrozenSegment(m_pStart, (nuint)m_pCurrent - (nuint)m_pStart, FOH_COMMIT_SIZE, m_Size); 150ClrVirtualFree(alloc, m_Size); 159Debug.Assert((m_pStart != null) && (m_Size > 0)); 166nuint spaceLeft = m_Size - spaceUsed; 181Debug.Assert(m_SizeCommitted + FOH_COMMIT_SIZE <= m_Size);