v8/test/cctest/heap
Maciej Goszczycki 8a437788b9 [roheap] Set owner_ to nullptr for read-only chunks
As it stands most of ReadOnlySpace class's method are unusable once it
has been sealed, since all of its pages are read-only. Set owner_ to null
to ensure nothing unintentionally uses it.

This also helps with separating the ReadOnlySpace from the Heap class in
the future as ReadOnlySpace might not inherit from Space.

Bug: v8:7464
Change-Id: I3b24f20c644d6f5e23647bc1de4d256a20a0eb19
Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/1637800
Reviewed-by: Dan Elphick <delphick@chromium.org>
Reviewed-by: Ulan Degenbaev <ulan@chromium.org>
Commit-Queue: Maciej Goszczycki <goszczycki@google.com>
Cr-Commit-Position: refs/heads/master@{#61979}
2019-06-04 12:06:12 +00:00
..
heap-tester.h Retire PretenureFlag and use AllocationType everywhere. 2019-03-12 08:10:44 +00:00
heap-utils.cc [roheap] Set owner_ to nullptr for read-only chunks 2019-06-04 12:06:12 +00:00
heap-utils.h Reland "Move API-related files" 2019-05-17 12:52:27 +00:00
test-alloc.cc Move remaining files in src/ 2019-05-24 18:24:36 +00:00
test-array-buffer-tracker.cc Move more relevant files to src/objects 2019-05-23 08:52:30 +00:00
test-compaction.cc Move more relevant files to src/objects 2019-05-23 08:52:30 +00:00
test-concurrent-marking.cc Move remaining files in src/ 2019-05-24 18:24:36 +00:00
test-embedder-tracing.cc Move more relevant files to src/objects 2019-05-23 08:52:30 +00:00
test-external-string-tracker.cc Move more relevant files to src/objects 2019-05-23 08:52:30 +00:00
test-heap.cc [roheap] Set owner_ to nullptr for read-only chunks 2019-06-04 12:06:12 +00:00
test-incremental-marking.cc Move remaining files in src/ 2019-05-24 18:24:36 +00:00
test-invalidated-slots.cc Move remaining files in src/ 2019-05-24 18:24:36 +00:00
test-iterators.cc [heap] Update HeapIterator and space iterator APIs to match other iterators 2019-05-31 12:59:07 +00:00
test-lab.cc Move remaining files in src/ 2019-05-24 18:24:36 +00:00
test-mark-compact.cc Move remaining files in src/ 2019-05-24 18:24:36 +00:00
test-page-promotion.cc Move more relevant files to src/objects 2019-05-23 08:52:30 +00:00
test-spaces.cc Move more relevant files to src/objects 2019-05-23 08:52:30 +00:00
test-unmapper.cc Move remaining files in src/ 2019-05-24 18:24:36 +00:00
test-weak-references.cc [cleanup] Avoid {Object::operator->} 2019-05-23 07:52:07 +00:00