v8/test/unittests/heap
Shu-yu Guo 76372353c1 Revert "Reland "[heap] Invoke allocation observers before limiting the LAB""
This reverts commit dbbccae19a.

Reason for revert: Deadlock in TSAN with stress:
https://ci.chromium.org/ui/p/v8/builders/ci/V8%20Linux64%20TSAN/44651/overview

Original change's description:
> Reland "[heap] Invoke allocation observers before limiting the LAB"
>
> This is a reland of commit 39d387bb72
>
> Original change's description:
> > [heap] Invoke allocation observers before limiting the LAB
> >
> > Currently whenever we reach a step we get a small LAB the same size as
> > the allocated object. This is becuase the remaining step size is smaller
> > then the current allocation.
> > Invoking observers before limiting the LAB, and thus updating step
> > sizes, should eliminate the small LAB we get whenever we reach a step.
> >
> > Drive-by: remove redundant method arguments.
> >
> > Bug: v8:12612
> > Change-Id: Ied92a947308368d3b289e246fdb4f40ac5e5981f
> > Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/4013683
> > Reviewed-by: Dominik Inführ <dinfuehr@chromium.org>
> > Reviewed-by: Michael Lippautz <mlippautz@chromium.org>
> > Commit-Queue: Omer Katz <omerkatz@chromium.org>
> > Cr-Commit-Position: refs/heads/main@{#84157}
>
> Bug: v8:12612, v8:13465
> Change-Id: I40fb930a755cb5decccd932c4d25ed7d5d224da4
> Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/4020177
> Reviewed-by: Dominik Inführ <dinfuehr@chromium.org>
> Reviewed-by: Michael Lippautz <mlippautz@chromium.org>
> Commit-Queue: Omer Katz <omerkatz@chromium.org>
> Cr-Commit-Position: refs/heads/main@{#84328}

Bug: v8:12612, v8:13465
Change-Id: I70df00448c7413999b91412343915c503baf0dd3
No-Presubmit: true
No-Tree-Checks: true
No-Try: true
Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/4035252
Bot-Commit: Rubber Stamper <rubber-stamper@appspot.gserviceaccount.com>
Commit-Queue: Shu-yu Guo <syg@chromium.org>
Owners-Override: Shu-yu Guo <syg@chromium.org>
Cr-Commit-Position: refs/heads/main@{#84345}
2022-11-17 23:05:37 +00:00
..
base cppgc: young-gen: Reuse SlotSet. 2022-10-06 09:23:01 +00:00
cppgc [heap] Refactor the stack object 2022-11-16 16:21:50 +00:00
cppgc-js Reland "unified-young-gen: Trace cross-heap references" 2022-11-17 13:08:06 +00:00
allocation-observer-unittest.cc Revert "Reland "[heap] Invoke allocation observers before limiting the LAB"" 2022-11-17 23:05:37 +00:00
bitmap-test-utils.h [heap] Relax accessing markbits in ranges. 2019-02-25 15:28:41 +00:00
bitmap-unittest.cc [heap] Fix an out-of-bounds access in the marking bitmap 2020-04-20 09:07:57 +00:00
code-object-registry-unittest.cc Reland "[heap] Sweep code pages on the background thread" 2022-06-22 07:59:18 +00:00
conservative-stack-visitor-unittest.cc [heap] Refactor the stack object 2022-11-16 16:21:50 +00:00
embedder-tracing-unittest.cc [heap] Rename safepoint scopes 2022-10-25 16:32:55 +00:00
gc-idle-time-handler-unittest.cc Reland "Fix -Wimplicit-int-float-conversions." 2021-06-29 16:36:18 +00:00
gc-tracer-unittest.cc [heap] Skip GCTracerTest.* tests with --stress-incremental-marking 2022-11-15 10:06:24 +00:00
global-handles-unittest.cc [handles] Split off traced handles from regular global handles 2022-10-24 10:04:08 +00:00
global-safepoint-unittest.cc [heap] Fix remaining test failures with --shared-heap 2022-10-05 08:30:26 +00:00
heap-controller-unittest.cc [cleanup] Replace all remaining Min/Max uses with std::min/max 2020-11-24 17:32:01 +00:00
heap-unittest.cc Revert "[ext-code-space] Change compression scheme for Code pointers" 2022-11-17 17:03:17 +00:00
heap-utils.cc [heap] Prevent new space from allocation small LABs 2022-10-26 09:12:04 +00:00
heap-utils.h [heap] Refactor the stack object 2022-11-16 16:21:50 +00:00
index-generator-unittest.cc [Heap]: Implement IndexGenerator for Jobs use cases. 2020-09-11 19:25:33 +00:00
lab-unittest.cc [heap] Add Heap::NotifyObjectSizeChange for right-trimming 2022-04-27 08:01:24 +00:00
list-unittest.cc [heap] Make Heap::Contains const 2020-05-13 13:19:22 +00:00
local-factory-unittest.cc [heap] Use v8_flags for accessing flag values 2022-09-05 10:59:05 +00:00
local-handles-unittest.cc [test] Migrate cctest/test-local-handles to unittests/ 2022-08-15 16:51:26 +00:00
local-heap-unittest.cc [heap] Introduce shared marking in the C++ marking barrier 2022-11-11 11:03:42 +00:00
marking-inner-pointer-resolution-unittest.cc [heap] Rename safepoint scopes 2022-10-25 16:32:55 +00:00
marking-unittest.cc Move remaining files in src/ 2019-05-24 18:24:36 +00:00
marking-worklist-unittest.cc [heap] Fix marking in per-context mode 2022-08-22 19:18:38 +00:00
memory-reducer-unittest.cc [heap] Use v8_flags for accessing flag values 2022-09-05 10:59:05 +00:00
object-start-bitmap-unittest.cc heap: Fix and clean up object start bitmap 2022-05-31 16:37:08 +00:00
object-stats-unittest.cc Move more relevant files to src/objects 2019-05-23 08:52:30 +00:00
page-promotion-unittest.cc [heap] Move marking states to heap. 2022-10-05 16:22:57 +00:00
persistent-handles-unittest.cc [test] Move cctest/test-persistent-handles to 2022-06-27 11:30:34 +00:00
progressbar-unittest.cc heap: Fix TSAN race when setting a flag after page initialization 2021-08-19 10:28:57 +00:00
safepoint-unittest.cc [heap] Rename safepoint scopes 2022-10-25 16:32:55 +00:00
shared-heap-unittest.cc [heap] Collect shared spaces in full GC for shared heap isolate 2022-09-21 15:59:23 +00:00
slot-set-unittest.cc cppgc: young-gen: Reuse SlotSet. 2022-10-06 09:23:01 +00:00
spaces-unittest.cc [heap] Add Heap::NotifyObjectSizeChange for right-trimming 2022-04-27 08:01:24 +00:00
unmapper-unittest.cc [heap] Enable concurrent sweeping for MinorMC 2022-10-18 10:26:26 +00:00