v8/test
Bill Budge 7e78506fc2 [Memory] Use OS::Allocate for all OS memory allocations.
- Eliminates OS::ReserveRegion and OS::ReserveAlignedRegion.
- Changes OS::Allocate to take alignment parameter, reorders parameters
  to match page_allocator.
- Since the size of memory allocation can be deduced, don't return the
  amount of memory allocated.
- Changes reservation of aligned address space. Before we would reserve
  (size + alignment) rounded up to page size. This is too much, because
  maximum misalignment is (alignment - page_size).
- On Windows and Cygwin, we release an oversize allocation and
  immediately retry at the aligned address in the allocation. If we
  lose the address due to a race, we just retry.
- Clean up all the calls to OS::Allocate in codegen and tests by adding
  helper AllocateSystemPage function (allocation.h) and
  AllocateAssemblerBuffer (cctest.h).
- Changes 'assm' to 'masm' in some targets for consistency when using
  a macro-assembler.

Bug: chromium:756050
Cq-Include-Trybots: master.tryserver.chromium.linux:linux_chromium_rel_ng
Change-Id: I306dbe042cc867670fdc935abca29db074b0da71
Reviewed-on: https://chromium-review.googlesource.com/749848
Commit-Queue: Bill Budge <bbudge@chromium.org>
Reviewed-by: Michael Lippautz <mlippautz@chromium.org>
Reviewed-by: Hannes Payer <hpayer@chromium.org>
Cr-Commit-Position: refs/heads/master@{#49235}
2017-11-08 19:39:51 +00:00
..
benchmarks [test] Let flags from test case have precedence 2017-10-27 13:22:39 +00:00
cctest [Memory] Use OS::Allocate for all OS memory allocations. 2017-11-08 19:39:51 +00:00
common [wasm] Support block parameters 2017-10-24 11:44:26 +00:00
debugger [test] Let flags from test case have precedence 2017-10-27 13:22:39 +00:00
fuzzer [wasm] [fuzzer] Omit input hash in error message 2017-11-08 17:27:10 +00:00
inspector [heap-profiler] Allow intermediate sampling heap profile retrieval during recording. 2017-11-06 22:22:55 +00:00
intl Reenable intl/number-format/format-currency test 2017-11-08 19:37:50 +00:00
js-perf-test [parser] Use n-ary addition for template strings 2017-10-31 16:02:53 +00:00
memory
message [test/message] Allow numbers to have more than one leading digit. 2017-11-03 15:25:25 +00:00
mjsunit [regexp] Support Emoji_Component property class 2017-11-08 16:35:50 +00:00
mkgrokdump [test] Let flags from test case have precedence 2017-10-27 13:22:39 +00:00
mozilla [d8] Report errors in setTimeout 2017-11-03 12:21:53 +00:00
preparser [test] Let flags from test case have precedence 2017-10-27 13:22:39 +00:00
promises-aplus [test] Let flags from test case have precedence 2017-10-27 13:22:39 +00:00
test262 [test] Enable passing Unicode property class tests 2017-11-08 17:10:30 +00:00
unittests [Memory] Use OS::Allocate for all OS memory allocations. 2017-11-08 19:39:51 +00:00
wasm-spec-tests [test] Let flags from test case have precedence 2017-10-27 13:22:39 +00:00
webkit [test] Let flags from test case have precedence 2017-10-27 13:22:39 +00:00
bot_default.gyp
bot_default.isolate
BUILD.gn
default.gyp
default.isolate
optimize_for_size.gyp
optimize_for_size.isolate
perf.gyp
perf.isolate