DescriptionAdd v8_os_page_size flag for cross compilation
When generating snapshot on a machine with a different page size than
the target machine, we can run into problems as the v8 page area size
changes. This is because v8 has page guards which depend on os page
size, so if the target has larger os page, v8 page area is smaller and
may not fit the contents.
The solution proposed here is adding a flag, v8_os_page_size, that
would, if used, override local os page size and use the one specified
during snapshot generation.
BUG=
Committed: https://crrev.com/a18be72c8e7ecc3e6b0803c2287a8bbf4640a754
Cr-Commit-Position: refs/heads/master@{#40997}
Patch Set 1 #
Total comments: 4
Patch Set 2 : Address comments #
Total comments: 3
Patch Set 3 : Flag in KBytes, add DCHECK #Patch Set 4 : merge with master #
Messages
Total messages: 22 (11 generated)
|