v8/src/asmjs
Leszek Swirski 198deea289 [compiler] Off-thread finalize each function immediately
Allow "iterative" finalization when off-thread finalization is enabled,
meaning that each compiled function is finalized immediately after
compilation, rather than all functions being first compiled and then
finalized.

This is what we do on the main thread, and it reduces peak Zone memory
usage by being able to discard empty compilation Zones earlier.

One necessary functionality for this was being able to defer the
finalization of asm.js functions until the main thread pause, since
they can't be finalized off-thread -- previously we would just bail
out of doing the off-thread finalization if any inner function was
asm.js.

Bug: chromium:1011762
Change-Id: I21ff69d62eaa93b5ff908624b7115601e36f70f1
Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/2282536
Reviewed-by: Clemens Backes <clemensb@chromium.org>
Reviewed-by: Ross McIlroy <rmcilroy@chromium.org>
Commit-Queue: Leszek Swirski <leszeks@chromium.org>
Auto-Submit: Leszek Swirski <leszeks@chromium.org>
Cr-Commit-Position: refs/heads/master@{#69032}
2020-07-24 07:39:11 +00:00
..
asm-js.cc [compiler] Off-thread finalize each function immediately 2020-07-24 07:39:11 +00:00
asm-js.h [base] Reimplement {make_array} using C++14 2019-09-13 12:56:29 +00:00
asm-names.h [asm.js] Ensure proper encapsulation of "asmjs" component. 2017-05-05 10:36:26 +00:00
asm-parser.cc [asm] Fix use-after-free in ZoneVectors 2020-07-17 14:18:37 +00:00
asm-parser.h [asm] Fix use-after-free in ZoneVectors 2020-07-17 14:18:37 +00:00
asm-scanner.cc [globals] Change uc32 to be unsigned 2020-06-10 08:37:46 +00:00
asm-scanner.h [globals] Change uc32 to be unsigned 2020-06-10 08:37:46 +00:00
asm-types.cc [zone] Cleanup zone allocations in src/asmjs 2020-07-10 13:47:15 +00:00
asm-types.h [zone] Cleanup zone allocations in src/asmjs 2020-07-10 13:47:15 +00:00
OWNERS Remove mstarzinger@ from OWNERS files. 2019-12-13 11:13:14 +00:00