v8/test/unittests/heap
Maciej Goszczycki fa4b433f32 Revert "[heap] Set read-only space's and its pages' heap_ to null."
This reverts commit 964edc251f.

Reason for revert: chromium:959190

Original change's description:
> [heap] Set read-only space's and its pages' heap_ to null.
>
> Various small changes are required to enable this.
>
> HeapObject::GetReadOnlyRoots no longer uses the Space's heap when
> possible (see comment in ReadOnlyHeap::GetReadOnlyRoots definition).
> This requires that ReadOnlyRoots be construct-able using a raw pointer
> to the read-only space's roots array.
>
> Global read-only heap state is now cleared by tests where appropriate
> and extra DCHECKs in ReadOnlyHeap::SetUp should make catching future
> issues easier.
>
> String padding is now always cleared just before read-only space is
> sealed when not deserializing.
>
> Change-Id: I7d1db1c11567be5df06ff7066f3a699125f8b372
> Bug: v8:7464
> Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/1535830
> Commit-Queue: Maciej Goszczycki <goszczycki@google.com>
> Reviewed-by: Ulan Degenbaev <ulan@chromium.org>
> Reviewed-by: Dan Elphick <delphick@chromium.org>
> Cr-Commit-Position: refs/heads/master@{#61188}

TBR=ulan@chromium.org,hpayer@chromium.org,delphick@chromium.org,goszczycki@google.com

Change-Id: I53cecf3976dfeabae309040313351385f651f010
No-Presubmit: true
No-Tree-Checks: true
No-Try: true
Bug: v8:7464, chromium:959190
Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/1591608
Reviewed-by: Adam Klein <adamk@chromium.org>
Commit-Queue: Adam Klein <adamk@chromium.org>
Cr-Commit-Position: refs/heads/master@{#61217}
2019-05-03 17:48:42 +00:00
..
barrier-unittest.cc [heap] Add timeout to Scavenger barrier 2018-10-30 14:28:49 +00:00
bitmap-test-utils.h [heap] Relax accessing markbits in ranges. 2019-02-25 15:28:41 +00:00
bitmap-unittest.cc [heap] Relax accessing markbits in ranges. 2019-02-25 15:28:41 +00:00
embedder-tracing-unittest.cc heap/api: EmbedderHeapTracer: Pass along memory reducing mode 2019-04-29 16:56:09 +00:00
gc-idle-time-handler-unittest.cc [heap] Simplify idle notification handler 2019-02-21 12:25:52 +00:00
gc-tracer-unittest.cc [heap][cleanup] Using 'using' instead of 'typedef' 2019-03-29 12:15:30 +00:00
heap-controller-unittest.cc [heap][cleanup] Using 'using' instead of 'typedef' 2019-03-29 12:15:30 +00:00
heap-unittest.cc [heap][cleanup] Using 'using' instead of 'typedef' 2019-03-29 12:15:30 +00:00
item-parallel-job-unittest.cc Remove V8.GC.ParallelTaskLatencyMicroSeconds histogram 2019-02-19 12:54:17 +00:00
marking-unittest.cc [heap] Relax accessing markbits in ranges. 2019-02-25 15:28:41 +00:00
memory-reducer-unittest.cc [heap] Reland "Add a guard for restarting the memory reducer after mark-compact." 2016-11-18 13:50:22 +00:00
object-stats-unittest.cc [object-stats] Add unittest for clashing instance types 2018-01-23 11:38:15 +00:00
scavenge-job-unittest.cc [heap] allocation step should before limit update 2018-01-23 19:32:05 +00:00
slot-set-unittest.cc Reland "[ptr-compr] New RelocInfo for compressed pointers." 2019-04-30 07:37:06 +00:00
spaces-unittest.cc [heap][cleanup] Using 'using' instead of 'typedef' 2019-03-29 12:15:30 +00:00
unmapper-unittest.cc Revert "[heap] Set read-only space's and its pages' heap_ to null." 2019-05-03 17:48:42 +00:00
worklist-unittest.cc [heap] Rename IsGlobalEmpty to IsEmpty 2018-07-03 07:15:34 +00:00