Revision: 15921
Author: [email protected]
Date: Mon Jul 29 01:33:57 2013
Log: Really fix break in r15919 now.
[email protected]
Review URL: https://codereview.chromium.org/21040002
http://code.google.com/p/v8/source/detail?r=15921
Modified:
/branches/bleeding_edge/src/platform-win32.cc
=======================================
--- /branches/bleeding_edge/src/platform-win32.cc Mon Jul 29 01:07:52 2013
+++ /branches/bleeding_edge/src/platform-win32.cc Mon Jul 29 01:33:57 2013
@@ -925,7 +925,7 @@
if (protection == PAGE_EXECUTE_READWRITE || protection == PAGE_NOACCESS)
{
// For exectutable pages try and randomize the allocation address
for (size_t attempts = 0; base == NULL && attempts < 3; ++attempts) {
- base = VirtualAlloc(OS::GetRandomAddr(), size, action, protection);
+ base = VirtualAlloc(OS::GetRandomMmapAddr(), size, action,
protection);
}
}
--
--
v8-dev mailing list
[email protected]
http://groups.google.com/group/v8-dev
---
You received this message because you are subscribed to the Google Groups "v8-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.