v8/src
Dominik Inführ 490a9ead23 [heap] Add methods for freeing all LABs
This CL adds Heap::FreeLinearAllocationAreas to free all local
allocation buffers (LABs). We use this to give up LABs for a local GC.
The second method Heap::FreeSharedLinearAllocationAreas is used to free
all LABs in the shared heap for shared GCs and in the future also on
isolate shutdown.

Bug: v8:10315
Change-Id: Ie5cbb68c95fae027055aeaf4458473b04b15b18c
Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/3279681
Reviewed-by: Michael Lippautz <mlippautz@chromium.org>
Commit-Queue: Dominik Inführ <dinfuehr@chromium.org>
Cr-Commit-Position: refs/heads/main@{#77900}
2021-11-15 12:31:43 +00:00
..
api [runtime][api] Fix tracking of entered contexts 2021-11-12 21:15:06 +00:00
asmjs [ext-code-space] Avoid Code <-> CodeT conversions in runtime, pt.1 2021-11-08 14:08:24 +00:00
ast [compiler] Post compile tasks from ignition instead of the parser 2021-11-15 10:17:19 +00:00
base [base] Extend SmallVector for use with Zone storage 2021-11-08 07:52:46 +00:00
baseline [heap] Support mprotect off thread 2021-11-10 17:52:37 +00:00
bigint Skip the readability/check rule on bigint directory 2021-11-09 14:57:49 +00:00
builtins [runtime][api] Fix tracking of entered contexts 2021-11-12 21:15:06 +00:00
codegen [compiler] Post compile tasks from ignition instead of the parser 2021-11-15 10:17:19 +00:00
common [ext-code-space] Fix external code range allocation logic 2021-11-11 08:25:47 +00:00
compiler [wasm] Revisit removed Store node inputs in escape analysis 2021-11-15 12:18:25 +00:00
compiler-dispatcher [compiler] Post compile tasks from ignition instead of the parser 2021-11-15 10:17:19 +00:00
d8 [d8] Fix unused shared_create_params in d8 2021-11-15 07:32:58 +00:00
date [date] Skip leading zeros when parsing date string 2021-10-28 11:49:10 +00:00
debug [runtime] Ensure JSMessageObject has source positions 2021-11-12 17:43:31 +00:00
deoptimizer [deoptimizer] Fix -Wshadow 2021-11-12 19:41:07 +00:00
diagnostics [riscv64] Add packing and unpacking instructions for WebAssembly SIMD 2021-11-12 08:00:05 +00:00
execution [compiler] Post compile tasks from ignition instead of the parser 2021-11-15 10:17:19 +00:00
extensions [interpreter] Port GetDispatchCountersObject to internal 2021-08-25 09:50:51 +00:00
flags [wasm] Switch dynamic tiering to budget-based approach 2021-11-12 23:52:12 +00:00
handles [handles] Branch hints and force-inline in HandleScope 2021-11-11 07:56:47 +00:00
heap [heap] Add methods for freeing all LABs 2021-11-15 12:31:43 +00:00
ic [class] fix evaluation order and errors in private accessor assignments 2021-11-09 15:36:28 +00:00
init Revert "[heap] Support multiple clients in shared GC" 2021-11-11 12:38:37 +00:00
inspector [inspector] Cache StackFrames by script, line and column number. 2021-11-11 07:34:27 +00:00
interpreter [compiler] Post compile tasks from ignition instead of the parser 2021-11-15 10:17:19 +00:00
json [numbers] Rename ConversionFlags:NO_FLAG to NO_CONVERSION_FLAGS 2021-11-11 22:04:22 +00:00
libplatform Introduce v8_enable_virtual_memory_cage 2021-08-11 16:13:42 +00:00
libsampler Reland "[include] Split out v8.h" 2021-08-24 13:08:55 +00:00
logging [snapshot] Add SnapshotDecompress RCS scope 2021-11-15 11:44:45 +00:00
numbers [numbers] Rename ConversionFlags:NO_FLAG to NO_CONVERSION_FLAGS 2021-11-11 22:04:22 +00:00
objects [runtime] Ensure JSMessageObject has source positions 2021-11-12 17:43:31 +00:00
parsing [compiler] Post compile tasks from ignition instead of the parser 2021-11-15 10:17:19 +00:00
profiler Fix leaks due to deoptimization literals 2021-11-09 19:02:59 +00:00
protobuf Remove petermarshall from OWNERS 2021-03-31 11:00:22 +00:00
regexp [regexp] Fix -Wshadow warnings 2021-11-09 01:31:57 +00:00
roots [wasm] Make ActiveContinuation a root 2021-11-12 17:24:06 +00:00
runtime [wasm] Switch dynamic tiering to budget-based approach 2021-11-12 23:52:12 +00:00
sanitizer Reland "[elements] Avoid racy data reads/writes" 2021-05-06 10:46:52 +00:00
security Introduce CagedPointer 2021-10-29 13:36:07 +00:00
snapshot [snapshot] Add SnapshotDecompress RCS scope 2021-11-15 11:44:45 +00:00
strings [runtime][json] Add IncrementalStringBuilder::AppendCStringLiteral 2021-11-10 11:58:54 +00:00
tasks Remove rmcilroy from OWNERS. 2021-08-19 16:30:27 +00:00
third_party Reland "[include] Split out v8.h" 2021-08-24 13:08:55 +00:00
torque [torque] Emit full codesearch links for source positions 2021-11-11 10:38:47 +00:00
tracing [base] Move utils/vector.h to base/vector.h 2021-06-18 13:33:13 +00:00
trap-handler [trap-handler] Fix -Wshadow warnings 2021-10-15 23:09:46 +00:00
utils [utils] Fix -Wshadow warnings 2021-11-11 17:19:10 +00:00
wasm [wasm] Allow dynamic tiering to release CompilationEventCallbacks 2021-11-15 08:34:49 +00:00
web-snapshot [web snapshots] Rewrite object discovery in the d8 snapshotter 2021-11-09 13:59:10 +00:00
zone [regexp] Release regexp zone memory during JS parsing 2021-11-02 11:56:11 +00:00
DEPS cppgc: Prohibit Oilpan usage from within V8 2021-08-25 08:24:33 +00:00
DIR_METADATA Add DIR_METADATA files to v8. 2020-10-20 22:12:28 +00:00
OWNERS Add DIR_METADATA files to v8. 2020-10-20 22:12:28 +00:00