v8/src
Jakob Linke d55c644e95 [maglev] Fix leaks related to destructors and zone allocation
The zone-allocated objects, the destructor is never called. Such
objects must therefore never contain members that themselves have
non-trivial destructors, e.g. std containers.

Fix occurrences of this antipattern in Maglev.

Bug: v8:7700
Change-Id: I6892cf5203bb6e842397fd4292918b18134f97cc
Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/3822672
Auto-Submit: Jakob Linke <jgruber@chromium.org>
Reviewed-by: Victor Gomes <victorgomes@chromium.org>
Commit-Queue: Victor Gomes <victorgomes@chromium.org>
Cr-Commit-Position: refs/heads/main@{#82358}
2022-08-10 16:59:21 +00:00
..
api Reland "[handles] Remove precise on-stack representation of global handles" 2022-08-10 11:59:24 +00:00
asmjs [wasm] Introduce separate limits for memory64 2022-07-26 10:36:11 +00:00
ast Make bitfields only as wide as necessary for enums 2022-08-01 15:09:04 +00:00
base [base] Add new API to protect data memory 2022-08-10 13:41:54 +00:00
baseline [riscv][masm][cleanup] Refactor call related assembler options 2022-08-10 14:35:43 +00:00
bigint Reland "Remove some unused includes" 2022-07-05 16:44:13 +00:00
builtins [ext-code-space] Support disassembly of CodeT objects 2022-08-10 14:06:06 +00:00
codegen [riscv][masm][cleanup] Refactor call related assembler options 2022-08-10 14:35:43 +00:00
common [ptr-compr-8gb] Align Turbofan allocations to 8 bytes 2022-08-10 10:12:14 +00:00
compiler [wasm] Switch back to boolean enums 2022-08-10 13:40:34 +00:00
compiler-dispatcher Remove some unused includes (3) 2022-07-07 09:42:31 +00:00
d8 Revert "Reland "[d8] Dump stack trace on d8 tests timeouts on posix systems"" 2022-08-09 13:27:19 +00:00
date Fix Date BiDi format 2022-07-11 17:19:43 +00:00
debug [riscv][ext-code-space] Add InterpreterEntryTrampolineForProfiling 2022-08-09 08:54:40 +00:00
deoptimizer [baseline] Reduce jump targets behind --no-deopt-to-baseline flag. 2022-08-08 14:26:10 +00:00
diagnostics [ext-code-space] Support disassembly of CodeT objects 2022-08-10 14:06:06 +00:00
execution [maglev] Implement Maglev-to-Turbofan tiering 2022-08-10 14:00:53 +00:00
extensions [heap] Statistics extension needs to check whether new space exists 2022-03-23 09:30:51 +00:00
flags [runtime] Improve builtins PGO logging 2022-08-10 13:55:54 +00:00
handles Reland "[handles] Remove precise on-stack representation of global handles" 2022-08-10 11:59:24 +00:00
heap [heap] Revise new space verification 2022-08-10 16:58:19 +00:00
ic [runtime] return when failed access callback doesn't throw 2022-07-06 14:01:36 +00:00
init [runtime] Improve builtins PGO logging 2022-08-10 13:55:54 +00:00
inspector Reland "[inspector] Enable async stack tagging API by default" 2022-08-04 08:54:05 +00:00
interpreter [interpreter] equivalence_id_ field type change 2022-08-05 08:39:13 +00:00
json Remove some unused includes (4) 2022-07-08 15:26:40 +00:00
libplatform [libplatform] Spawn more tasks from DefaultJobState::Join 2022-08-03 14:59:28 +00:00
libsampler Reland "[riscv32] Add RISCV32 backend" 2022-08-04 12:47:44 +00:00
logging [runtime] Improve builtins PGO logging 2022-08-10 13:55:54 +00:00
maglev [maglev] Fix leaks related to destructors and zone allocation 2022-08-10 16:59:21 +00:00
numbers [bigint] Fix object literal property keys like 0x0n 2022-05-20 11:21:15 +00:00
objects [ext-code-space] Support disassembly of CodeT objects 2022-08-10 14:06:06 +00:00
parsing [error messages] Enhance the "unexpected identifier" error message 2022-07-12 06:44:27 +00:00
profiler Reland "[riscv32] Add RISCV32 backend" 2022-08-04 12:47:44 +00:00
protobuf Remove petermarshall from OWNERS 2021-03-31 11:00:22 +00:00
regexp S390: pass a scratch register when using register_location 2022-08-04 13:00:22 +00:00
roots Reland "Move some string allocation functions from Factory to FactoryBase" 2022-08-10 11:20:34 +00:00
runtime [maglev] Implement Maglev-to-Turbofan tiering 2022-08-10 14:00:53 +00:00
sandbox [sandbox] Atomically load/store ExternalPointerHandles 2022-08-09 02:42:30 +00:00
sanitizer Reland "[elements] Avoid racy data reads/writes" 2021-05-06 10:46:52 +00:00
snapshot [masm][cleanup] Refactor call related assembler options 2022-08-10 09:28:34 +00:00
strings [cleanup] Cleanup StringStream::PrintFunction() 2022-07-21 12:48:19 +00:00
tasks Remove some unused includes (3) 2022-07-07 09:42:31 +00:00
temporal [Temporal] Parser sync to PR1952 and PR2187 2022-07-18 21:12:02 +00:00
third_party Fix vtunejit issues 2022-07-27 13:02:17 +00:00
torque [shared-struct] Use external pointer table in JSAtomicsMutex when compressing pointers 2022-07-26 22:07:57 +00:00
tracing [v8] Fix data race in TRACE_EVENT macros. 2022-06-07 00:19:05 +00:00
trap-handler Fix atomic initialization to work with C++20. 2022-05-10 15:43:25 +00:00
utils [API] Prepare deprecation of second OnCriticalMemoryPressure 2022-07-25 12:59:56 +00:00
wasm [wasm] Switch back to boolean enums 2022-08-10 13:40:34 +00:00
web-snapshot [web snapshot] Support BigInt 2022-08-10 13:15:15 +00:00
zone [maglev] Extend lifetimes of values used in a loop 2022-07-28 14:55:15 +00:00
DEPS Revert "[heap, api] Check assumptions for embedder fields on set" 2022-08-02 08:04:13 +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