v8/test
Mircea Trofin 110d9ab005 [wasm] A simple allocator datastructure for off-the heap
We'll use this allocator in a follow-up CL to:
- allocate speculative sizes of memory for a module that's being
compiled (e.g. 2*size of wasm code).
- each module will own such a sub-pool, and then use it to allocate
contiguous chunks of memory for code.

The underlying assumptions for the chosen allocation strategy is that:
- the allocation granularity for pools is 1 page, so that no one page
is owned by more than one wasm module
- typical pool sizes (given module sizes) are multiple pages.
- modules and module instances are typically few and long lived. Typically,
we expect one module and one instance. 

This means we shouldn't expect fragmentations that lead to code being
non-allocatable, or prohibitively many ranges.

The data structure just manages ranges of addresses. Virtual memory management
will be separate, as part of the responsibility of a "WasmHeap"
that will be introduced in the future. So will concurrency control.

Bug: 
Change-Id: Id99f46d10c25553b013054d994760f3c2a737c39
Reviewed-on: https://chromium-review.googlesource.com/669296
Commit-Queue: Mircea Trofin <mtrofin@chromium.org>
Reviewed-by: Eric Holk <eholk@chromium.org>
Reviewed-by: Brad Nelson <bradnelson@chromium.org>
Cr-Commit-Position: refs/heads/master@{#48053}
2017-09-16 04:53:11 +00:00
..
benchmarks
cctest Revert "[profiler] proper observation of old space inline allocations" 2017-09-15 20:38:18 +00:00
common Revert "Add capability of throwing values in WASM" 2017-09-15 20:27:39 +00:00
debugger [bigint] Add bytecodes for unary-minus and bitwise-not 2017-09-12 19:07:59 +00:00
fuzzer [iwyu] Remove obsolete "api.h" include from "handles-inl.h". 2017-09-11 12:52:20 +00:00
inspector [inspector] report [[Scopes]] all the time 2017-09-12 21:17:35 +00:00
intl Fix common misspellings 2017-08-02 09:35:28 +00:00
js-perf-test Implement microbenchmark for has-in idiom 2017-09-13 08:48:44 +00:00
memory [snapshot] add tracking for builtin snapshot size. 2017-08-31 07:29:31 +00:00
message [builtins] Port String.prototype.repeat to CSA 2017-09-15 06:51:56 +00:00
mjsunit Revert "Add capability of throwing values in WASM" 2017-09-15 20:27:39 +00:00
mkgrokdump
mozilla Reland "[d8] implement setTimeout." 2017-09-05 07:30:46 +00:00
preparser
promises-aplus Fix common misspellings 2017-08-02 09:35:28 +00:00
test262 [js] Check comparefn in (Typed)Array#sort 2017-09-15 10:08:06 +00:00
unittests [wasm] A simple allocator datastructure for off-the heap 2017-09-16 04:53:11 +00:00
wasm-spec-tests [wasm] Update the wasm spec tests 2017-09-05 09:44:48 +00:00
webkit [parser] Inline ParseStatemantAsUnlabelled into its only useful caller 2017-09-07 21:01:46 +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