Skip to content
Closed
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Update executableallocator.cpp
  • Loading branch information
EgorBo authored Jan 17, 2022
commit dc7ec5300b5c599c8dbf3c8ddc78ff13c7289106
5 changes: 0 additions & 5 deletions src/coreclr/utilcode/executableallocator.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -66,12 +66,7 @@ void ExecutableAllocator::InitLazyPreferredRange(size_t base, size_t size, int r
// to coreclr.dll. This avoids having to create jump stubs for calls to
// helpers and R2R images loaded close to coreclr.dll.
//
#ifdef TARGET_XARCH
SIZE_T reach = 0x7FFF0000u;
#else
// Smaller size for ARM64 where relative calls/jumps only work within 128MB
SIZE_T reach = 0x7FF0000u;
#endif

// We will choose the preferred code region based on the address of coreclr.dll. The JIT helpers
// in coreclr.dll are the most heavily called functions.
Expand Down