The current VirtualMemory aligned allocation is suboptimal because it passes unaligned hint to the mmap function.
The following revision refers to this bug: https://chromium.googlesource.com/v8/v8.git/+/1d32273a4963cc5a12a75817868b43efce808577 commit 1d32273a4963cc5a12a75817868b43efce808577 Author: Ulan Degenbaev <ulan@chromium.org> Date: Thu Jul 27 13:50:06 2017 [base] Align the address hint in VirtualMemory. BUG= chromium:739644 Change-Id: I6c7d0f48c959826dd2a8587d7a321be4387ef39f Reviewed-on: https://chromium-review.googlesource.com/586529 Reviewed-by: Michael Lippautz <mlippautz@chromium.org> Commit-Queue: Ulan Degenbaev <ulan@chromium.org> Cr-Commit-Position: refs/heads/master@{#46936} [modify] https://crrev.com/1d32273a4963cc5a12a75817868b43efce808577/src/base/macros.h [modify] https://crrev.com/1d32273a4963cc5a12a75817868b43efce808577/src/base/platform/platform-aix.cc [modify] https://crrev.com/1d32273a4963cc5a12a75817868b43efce808577/src/base/platform/platform-cygwin.cc [modify] https://crrev.com/1d32273a4963cc5a12a75817868b43efce808577/src/base/platform/platform-freebsd.cc [modify] https://crrev.com/1d32273a4963cc5a12a75817868b43efce808577/src/base/platform/platform-linux.cc [modify] https://crrev.com/1d32273a4963cc5a12a75817868b43efce808577/src/base/platform/platform-macos.cc [modify] https://crrev.com/1d32273a4963cc5a12a75817868b43efce808577/src/base/platform/platform-openbsd.cc [modify] https://crrev.com/1d32273a4963cc5a12a75817868b43efce808577/src/base/platform/platform-qnx.cc [modify] https://crrev.com/1d32273a4963cc5a12a75817868b43efce808577/src/base/platform/platform-solaris.cc [modify] https://crrev.com/1d32273a4963cc5a12a75817868b43efce808577/src/base/platform/platform-win32.cc [modify] https://crrev.com/1d32273a4963cc5a12a75817868b43efce808577/test/unittests/BUILD.gn [add] https://crrev.com/1d32273a4963cc5a12a75817868b43efce808577/test/unittests/base/macros-unittest.cc [modify] https://crrev.com/1d32273a4963cc5a12a75817868b43efce808577/test/unittests/unittests.gyp
Comment 1 by u...@chromium.org
, Jul 6 2017