System: Allocate JIT space before fastmem area
On Intel MacOS 14, the fastmem area gets allocated close to the executable base, leaving no region free +/- 2GB for the JIT area.
This commit is contained in:
@ -332,7 +332,7 @@ bool System::Internal::CPUThreadInitialize(Error* error)
|
||||
}
|
||||
#endif
|
||||
|
||||
if (!Bus::AllocateMemory(error) || !CPU::CodeCache::ProcessStartup(error))
|
||||
if (!CPU::CodeCache::ProcessStartup(error) || !Bus::AllocateMemory(error))
|
||||
{
|
||||
CPUThreadShutdown();
|
||||
return false;
|
||||
|
||||
Reference in New Issue
Block a user