v8/src
Bill Budge 5f040f9b01 Revert "[offthread] Move stress-background-compile to compiler.cc"
This reverts commit a441cbfb57.

Reason for revert: causes DeepEagerCompilationPeakMemory to fail.

https://ci.chromium.org/p/v8/builders/ci/V8%20Linux/36681

Original change's description:
> [offthread] Move stress-background-compile to compiler.cc
> 
> Make --stress-background-compile a V8 flag rather than a d8 flag, so
> that it also tests unittests/cctests.
> 
> Now, with this flag, every top-level script compile (that fulfills a
> couple of restrictions) will be both main-thread and background-thread
> compiled, taking the result of the background compile. In the future,
> we'll probably want to verify that the two results are equivalent.
> 
> One of the necessary changes to allow tests to pass was to introduce a
> concept of a "temporary" script (with a temporary script id), which
> doesn't get added to the script list. This is to avoid the main-thread
> compile part of the stress-test having a debugger-visible side-effect,
> e.g. in tests that enumerate scripts. We can't just create new ids for
> such scripts, as then script-id expectation files no longer match.
> 
> Bug: chromium:1011762
> Change-Id: I500bbf2cabea762e69aca3dbae247daae71192cb
> Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/2120541
> Commit-Queue: Leszek Swirski <leszeks@chromium.org>
> Reviewed-by: Ross McIlroy <rmcilroy@chromium.org>
> Cr-Commit-Position: refs/heads/master@{#67332}

TBR=rmcilroy@chromium.org,leszeks@chromium.org

Change-Id: I8716b332b07fe4f394b5a32c986bbe652325582d
No-Presubmit: true
No-Tree-Checks: true
No-Try: true
Bug: chromium:1011762
Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/2163143
Reviewed-by: Bill Budge <bbudge@chromium.org>
Commit-Queue: Bill Budge <bbudge@chromium.org>
Cr-Commit-Position: refs/heads/master@{#67347}
2020-04-23 20:09:14 +00:00
..
api [snapshot] Rename the partial-* files to context-* 2020-04-23 12:41:22 +00:00
asmjs [asm] Fix double literals without dots 2020-04-01 13:59:24 +00:00
ast Reland^5 "[parser] Introduce UnoptimizedCompileFlags" 2020-04-22 11:35:35 +00:00
base [wasm] Fix performance bottleneck in DisjointAllocationPool 2020-04-22 10:00:05 +00:00
builtins [wasm] Move fast path of wasm RefFunc to a builtin 2020-04-23 19:18:02 +00:00
codegen Revert "[offthread] Move stress-background-compile to compiler.cc" 2020-04-23 20:09:14 +00:00
common Reland^5 "[parser] Introduce UnoptimizedCompileFlags" 2020-04-22 11:35:35 +00:00
compiler [wasm] Move fast path of wasm RefFunc to a builtin 2020-04-23 19:18:02 +00:00
compiler-dispatcher [compile] Add an UnoptimizedCompileState class 2020-04-23 07:08:28 +00:00
d8 Revert "[offthread] Move stress-background-compile to compiler.cc" 2020-04-23 20:09:14 +00:00
date Make ToInteger always truncate -0 2020-03-02 20:40:01 +00:00
debug [compile] Add an UnoptimizedCompileState class 2020-04-23 07:08:28 +00:00
deoptimizer [arm64] Use BTI instructions for forward CFI 2020-03-17 17:52:28 +00:00
diagnostics Reland "[snapshot] Extract more files" 2020-04-22 06:09:18 +00:00
execution [offthread] Introduce "transfer" handles for off thread 2020-04-23 15:04:42 +00:00
extensions Fix cputracemark extension 2020-03-30 10:53:19 +00:00
flags Revert "[offthread] Move stress-background-compile to compiler.cc" 2020-04-23 20:09:14 +00:00
handles Remove a few outdated TODO(yangguo) 2020-04-15 08:21:43 +00:00
heap Revert "[offthread] Move stress-background-compile to compiler.cc" 2020-04-23 20:09:14 +00:00
ic [ic] Use slow stub if typed arrays are in prototype chain of JSObjects 2020-04-20 11:14:07 +00:00
init Implement logical assignment 2020-04-23 07:23:58 +00:00
inspector [tracing] Migrate tracing to Perfetto track events 2020-04-17 21:31:24 +00:00
interpreter Implement logical assignment 2020-04-23 07:23:58 +00:00
json [offthread] Add off-thread support to Script 2020-02-11 09:45:33 +00:00
libplatform [tracing] Migrate tracing to Perfetto track events 2020-04-17 21:31:24 +00:00
libsampler [ppc64][ppc] Split up ARCH_PPC and ARCH_PPC64 2020-02-21 15:42:20 +00:00
logging [heap] Remove the memory_allocated StatsCounter 2020-04-23 16:12:57 +00:00
numbers [offthread] Ensure off-thread allocations are pretenured 2020-03-20 11:32:51 +00:00
objects Revert "[offthread] Move stress-background-compile to compiler.cc" 2020-04-23 20:09:14 +00:00
parsing Revert "[offthread] Move stress-background-compile to compiler.cc" 2020-04-23 20:09:14 +00:00
profiler [heap] Don't allocate fillers in sampling profiler 2020-04-20 12:47:22 +00:00
protobuf
regexp [regexp] Add missing bracket to the s390 architecture 2020-04-21 14:03:54 +00:00
roots [heap] Make retained maps list be per context 2020-04-20 11:12:37 +00:00
runtime [wasm] Move fast path of wasm RefFunc to a builtin 2020-04-23 19:18:02 +00:00
sanitizer Rename clemensh to clemensb in OWNERS 2019-09-26 08:44:44 +00:00
snapshot [serializer] Remove unneeded destructor 2020-04-23 12:55:03 +00:00
strings [base] Fix {StaticCharVector} and add {StaticOneByteVector} 2020-04-17 18:45:32 +00:00
tasks Revert "[weakrefs] Schedule FinalizationGroup cleanup tasks from within V8" 2020-02-09 16:24:52 +00:00
third_party Update the dependency of v8_vtunejit 2019-12-23 02:00:49 +00:00
torque [torque] implement initialization of bitfield structs 2020-04-23 15:27:22 +00:00
tracing tracing: Add new category group 2020-04-20 14:12:07 +00:00
trap-handler Introducing trap handler support for FreeBSD x64. 2019-11-08 16:46:05 +00:00
utils [base] Fix {StaticCharVector} and add {StaticOneByteVector} 2020-04-17 18:45:32 +00:00
wasm [wasm] Move fast path of wasm RefFunc to a builtin 2020-04-23 19:18:02 +00:00
zone Remove and update some outdated TODO(mstarzinger). 2019-12-13 10:18:04 +00:00
DEPS [offthread] Refactor out an OffThreadHeap 2020-04-21 10:21:43 +00:00
OWNERS Use relative paths to OWNERS files 2019-08-12 13:52:52 +00:00