v8/test/cctest/heap
Ulan Degenbaev 6b55356d3a [heap] Decouple code deoptimization from clearing weak objects.
This patch allows the deoptimizer to keep embedded pointers intact.
Previously, the deoptimizer had to clear embedded pointers because
the mark-compactor relied on the Code::marked_for_deoptimization flag
to indicate whether the embedder pointers were cleared or not.

This patch adds a new flag called Code::embedded_objects_cleared()
and thus can correctly clear dead weak objects in deoptimized code.

Bug: v8:8459
Change-Id: I6eb6ff3aa2182bc41730e0a249965f8d8c0525ce
Reviewed-on: https://chromium-review.googlesource.com/c/1335943
Reviewed-by: Michael Lippautz <mlippautz@chromium.org>
Reviewed-by: Hannes Payer <hpayer@chromium.org>
Reviewed-by: Jaroslav Sevcik <jarin@chromium.org>
Commit-Queue: Ulan Degenbaev <ulan@chromium.org>
Cr-Commit-Position: refs/heads/master@{#57584}
2018-11-16 18:31:06 +00:00
..
heap-tester.h Reland "Fix invalidation of old-to-old slots after object trimming." 2018-08-11 08:35:39 +00:00
heap-utils.cc Reland "[heap] Clean-up MemoryChunk allocation area constants." 2018-10-24 13:27:41 +00:00
heap-utils.h [heap] Exclude the owner of the linear allocation area from evacuation. 2016-11-03 12:13:23 +00:00
test-alloc.cc [deprecation] Deprecate ToBoolean(Local<Context>) 2018-09-24 12:02:09 +00:00
test-array-buffer-tracker.cc [heap] Remove marking finalization flag 2018-09-19 09:08:35 +00:00
test-compaction.cc Reland "[heap] Clean-up MemoryChunk allocation area constants." 2018-10-24 13:27:41 +00:00
test-concurrent-marking.cc [heap] Concurrently process wrapper objects 2018-09-19 14:14:06 +00:00
test-embedder-tracing.cc [api] Remove deprecated EmbedderHeapTracer APIs 2018-10-15 16:37:49 +00:00
test-external-string-tracker.cc [cleanup] Mark heap/ methods in subclasses with override. 2018-09-17 15:32:31 +00:00
test-heap.cc [heap] Decouple code deoptimization from clearing weak objects. 2018-11-16 18:31:06 +00:00
test-incremental-marking.cc [cleanup] Use the new taskrunner API in the gc 2018-10-04 11:18:32 +00:00
test-invalidated-slots.cc [heap] Externalize mark bitmap. 2018-10-11 15:03:40 +00:00
test-lab.cc [ptr-compr] Move Heap::root() to Isolate 2018-10-11 08:59:50 +00:00
test-mark-compact.cc [explicit isolates] Remove various GetIsolates 2018-07-17 11:56:37 +00:00
test-page-promotion.cc Reland "[heap] Clean-up MemoryChunk allocation area constants." 2018-10-24 13:27:41 +00:00
test-spaces.cc Reland "[heap] Clean-up MemoryChunk allocation area constants." 2018-10-24 13:27:41 +00:00
test-unmapper.cc [cleanup] Mark heap/ methods in subclasses with override. 2018-09-17 15:32:31 +00:00
test-weak-references.cc [ptr-compr] Make cleared weak reference value pointer compression friendly 2018-11-07 13:28:43 +00:00