[webkit-changes] [WebKit/WebKit] fa76f5: Simulator should have a 48-bit address space
Justin Michaud
noreply at github.com
Mon Jul 10 18:09:50 PDT 2023
Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: fa76f5ed3119f79bbbcd597e446cf201183b33b4
https://github.com/WebKit/WebKit/commit/fa76f5ed3119f79bbbcd597e446cf201183b33b4
Author: Justin Michaud <justin_michaud at apple.com>
Date: 2023-07-10 (Mon, 10 Jul 2023)
Changed paths:
M Source/JavaScriptCore/runtime/StructureID.h
M Source/WTF/wtf/CompactPtr.h
M Source/WTF/wtf/PlatformHave.h
M Source/WTF/wtf/PlatformOS.h
M Source/bmalloc/bmalloc/BPlatform.h
M Source/bmalloc/libpas/src/libpas/pas_root.c
Log Message:
-----------
Simulator should have a 48-bit address space
https://bugs.webkit.org/show_bug.cgi?id=258999
rdar://111137299
Reviewed by Yusuke Suzuki.
If you allocate a lot of memory in the simulator, eventually you will
fail one of the CompactPtr assertions because the simulator actually
acts like macOS with respect to virtual memory.
Mach's max address size is defined incorrectly for this case, so we guard
against that on our side.
* Source/JavaScriptCore/runtime/StructureID.h:
* Source/WTF/wtf/CompactPtr.h:
* Source/WTF/wtf/PlatformHave.h:
* Source/WTF/wtf/PlatformOS.h:
* Source/bmalloc/bmalloc/BPlatform.h:
* Source/bmalloc/libpas/src/libpas/pas_root.c:
Canonical link: https://commits.webkit.org/265930@main
More information about the webkit-changes
mailing list