5 references to ThunkCodeSize
System.Private.CoreLib (5)
System\Runtime\ThunkPool.cs (5)
49
public static readonly uint PageSize = BitOperations.RoundUpToPowerOf2((uint)Math.Max(
ThunkCodeSize
* NumThunksPerBlock, ThunkDataSize * NumThunksPerBlock + IntPtr.Size));
182
IntPtr thunkAddress = RuntimeImports.RhpGetThunkStubsBlockAddress(nextAvailableThunkPtr) + thunkIndex * Constants.
ThunkCodeSize
;
218
thunkAddressValue < (nuint)(nint)currentBlock._blockBaseAddress + (nuint)(Constants.NumThunksPerBlock * Constants.
ThunkCodeSize
))
237
if ((thunkAddressValue - currentThunksBlockAddress) % (nuint)Constants.
ThunkCodeSize
!= 0)
241
int thunkIndex = (int)((thunkAddressValue - currentThunksBlockAddress) / (nuint)Constants.
ThunkCodeSize
);