Index: src/platform-macos.cc |
=================================================================== |
--- src/platform-macos.cc (revision 2846) |
+++ src/platform-macos.cc (working copy) |
@@ -318,7 +318,7 @@ |
bool VirtualMemory::Uncommit(void* address, size_t size) { |
return mmap(address, size, PROT_NONE, |
- MAP_PRIVATE | MAP_ANON | MAP_NORESERVE, |
+ MAP_PRIVATE | MAP_ANON | MAP_NORESERVE | MAP_FIXED, |
kMmapFd, kMmapFdOffset) != MAP_FAILED; |
} |