heap: Remove support for eager tracing

Desktop / Chromium - Michael Lippautz [chromium.org] - 27 February 2019 15:38 EST

Oilpan has moved away from CRTP to a dynamic visitor interface some time ago now. Since there is no real chance for inlining visitation methods anymore we can also remove eager tracing. The worklist uses segments which means that there is likely also only few allocations required.

Estimates show that this improves performance (throughput) about ~13%.

Change-Id: I0301d3feacaf1248a6ed87fa9dbd7425ca46d301 Bug: 933333 Reviewed-on: https://chromium-review.googlesource.com/c/1477833

f221815dd47e heap: Remove support for eager tracing
.../blink/renderer/core/dom/container_node.h | 2 -
third_party/blink/renderer/core/dom/node.h | 3 -
.../renderer/core/html/parser/html_element_stack.h | 2 -
.../renderer/platform/heap/garbage_collected.h | 29 ++--
.../renderer/platform/heap/heap_linked_stack.h | 8 --
.../blink/renderer/platform/heap/heap_test.cc | 49 -------
.../blink/renderer/platform/heap/marking_visitor.h | 32 -----
.../blink/renderer/platform/heap/trace_traits.h | 147 +--------------------
.../renderer/platform/loader/fetch/memory_cache.h | 2 -
9 files changed, 18 insertions(+), 256 deletions(-)

Upstream: git.chromium.org


  • Share