v8/test/unittests
Rohan Pavone 896f6e749a Revert "Reland "[osr] Use the new OSR cache""
This reverts commit 9145388055.

Reason for revert: Breaking the Fuchsia Deterministic Builder

Original change's description:
> Reland "[osr] Use the new OSR cache"
>
> This is a reland of commit 91da38831d
>
> Fixed: Use an X register for JumpIfCodeTIsMarkedForDeoptimization
> on arm64.
>
> Original change's description:
> > [osr] Use the new OSR cache
> >
> > This CL switches over our OSR system to be based on the feedback
> > vector osr caches.
> >
> > - OSRing to Sparkplug is fully separated from OSR urgency. If
> >   SP code exists, we simply jump to it, no need to maintain an
> >   installation request.
> > - Each JumpLoop checks its dedicated FeedbackVector cache slot.
> >   If a valid target code object exists, we enter it *without*
> >   calling into runtime to fetch the code object.
> > - Finally, OSR urgency still remains as the heuristic for
> >   requesting Turbofan OSR compile jobs. Note it no longer has a
> >   double purpose of being a generic untargeted installation
> >   request.
> >
> > With the new system in place, we can remove now-unnecessary
> > hacks:
> >
> > - Early OSR tierup is replaced by the standard OSR system. Any
> >   present OSR code is automatically entered.
> > - The synchronous OSR compilation fallback is removed. With
> >   precise installation (= per-JumpLoop-bytecode) we no longer
> >   have the problem of 'getting unlucky' with JumpLoop/cache entry
> >   mismatches. Execution has moved on while compiling? Simply spawn
> >   a new concurrent compile job.
> > - Remove the synchronous (non-OSR) Turbofan compile request now
> >   that we always enter available OSR code as early as possible.
> > - Tiering into Sparkplug no longer messes with OSR state.
> >
> > Bug: v8:12161
> > Change-Id: I0a85e53d363504b7dac174dbaf69c03c35e66700
> > Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/3596167
> > Commit-Queue: Jakob Linke <jgruber@chromium.org>
> > Auto-Submit: Jakob Linke <jgruber@chromium.org>
> > Reviewed-by: Leszek Swirski <leszeks@chromium.org>
> > Commit-Queue: Leszek Swirski <leszeks@chromium.org>
> > Cr-Commit-Position: refs/heads/main@{#80147}
>
> Bug: v8:12161
> Change-Id: Ib3597cf1d99cdb5d0f2c5ac18e311914f376231d
> Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/3606232
> Auto-Submit: Jakob Linke <jgruber@chromium.org>
> Reviewed-by: Leszek Swirski <leszeks@chromium.org>
> Commit-Queue: Leszek Swirski <leszeks@chromium.org>
> Cr-Commit-Position: refs/heads/main@{#80167}

Bug: v8:12161
Change-Id: I73e2d98660e9edfbe07a152a14402380ea9227de
Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/3615219
Reviewed-by: Deepti Gandluri <gdeepti@chromium.org>
Commit-Queue: Deepti Gandluri <gdeepti@chromium.org>
Owners-Override: Deepti Gandluri <gdeepti@chromium.org>
Bot-Commit: Rubber Stamper <rubber-stamper@appspot.gserviceaccount.com>
Cr-Commit-Position: refs/heads/main@{#80287}
2022-04-29 21:53:02 +00:00
..
api [test] Migrate TEST(TryCatch...) in cctest/test-api to unittests. 2022-04-19 15:11:37 +00:00
asmjs [Respect] Prefer inclusive terms 2020-06-22 18:11:23 +00:00
assembler Reland "[rwx][mac] Introduce RwxMemoryWriteScope" 2022-04-19 08:48:47 +00:00
base [base/platform] Simplify /proc/self/maps parsing 2022-04-28 14:00:18 +00:00
codegen [test] Move cctest/test-code-layout to unittests 2022-04-25 12:57:44 +00:00
compiler Reland "[interpreter] Optimize strict equal boolean" 2022-04-25 10:02:05 +00:00
compiler-dispatcher [test] Add a unittest platform setup mixin 2022-04-06 13:07:43 +00:00
date [test] Move cctest/test-date to unittests 2022-04-26 08:14:32 +00:00
debug [inspector] Speed up DebugPropertyIterator. 2021-09-13 12:52:11 +00:00
diagnostics [gdbjit] Fix overlapping AddressRegion check 2021-08-19 17:29:57 +00:00
execution [test] Add a unittest platform setup mixin 2022-04-06 13:07:43 +00:00
heap cppgc: young-gen: Use ref-counting scheme to enable the barrier 2022-04-29 13:34:41 +00:00
interpreter [osr] Add JumpLoop feedback slot operand 2022-04-20 12:57:44 +00:00
libplatform Revert "[test] Move tracing cctest to unittests" 2022-04-20 22:35:14 +00:00
logging [counters] Remove unused counters from V8 2022-04-27 20:40:51 +00:00
numbers [test] Move cctest/test-conversions to unittests 2022-04-26 08:17:34 +00:00
objects Revert "Reland "[osr] Use the new OSR cache"" 2022-04-29 21:53:02 +00:00
parser [cleanup] Remove DISALLOW_COPY_AND_ASSIGN in test/{common,unittests} 2020-11-06 06:07:54 +00:00
profiler [test] Move cctest/test-circular-queue to unittests 2022-04-25 14:49:26 +00:00
regexp Reland "[test] Move cctest/test-regexp to unittests" 2022-04-29 16:23:32 +00:00
regress [heap] Remove Factory::NewUninitializedFixedArray 2021-04-26 13:52:38 +00:00
runtime Reland "[include] Split out v8.h" 2021-08-24 13:08:55 +00:00
sandbox [base] Don't return bool from VirtualAddressSpace::Free* routines 2022-03-07 16:53:23 +00:00
strings [base] Move utils/vector.h to base/vector.h 2021-06-18 13:33:13 +00:00
tasks [test] Add a unittest platform setup mixin 2022-04-06 13:07:43 +00:00
torque Reland "Reland "[Torque] Generalize Torque literals to larger size"" 2022-02-04 09:40:24 +00:00
utils [test] Move cctest/test-bit-vector to unittests 2022-04-21 15:27:09 +00:00
wasm [test] Add a unittest platform setup mixin 2022-04-06 13:07:43 +00:00
zone [test] Add a unittest platform setup mixin 2022-04-06 13:07:43 +00:00
avoid-windows-h-includes.cc Test that heap-inl.h doesn't include windows.h 2021-10-14 21:18:51 +00:00
BUILD.gn Revert "Reland "[osr] Use the new OSR cache"" 2022-04-29 21:53:02 +00:00
DEPS Move unit tests to test/unittests. 2014-10-01 08:34:25 +00:00
run-all-unittests.cc [test] Add a unittest platform setup mixin 2022-04-06 13:07:43 +00:00
test-helpers.cc [compiler-dispatcher] Move Job pointer to SFI 2021-12-08 16:03:35 +00:00
test-helpers.h [compiler] Introduce ReusableUnoptimizedCompileState 2021-12-08 11:14:27 +00:00
test-utils.cc heap: Convert embedder tracing tests to unittests 2022-04-08 12:43:55 +00:00
test-utils.h Revert "[test] Move cctest/test-log to unittests/logging/log-unittest" 2022-04-27 12:57:21 +00:00
testcfg.py [test] Clean up Py2 code 2022-03-17 09:12:36 +00:00
unittests.status Reland "[test] Move cctest/test-regexp to unittests" 2022-04-29 16:23:32 +00:00