v8/test/inspector/heap-profiler
Ulan Degenbaev d1070e417f [inspector] Make collectGarbage of HeapProfiler precise
Instead of forcing GC right away, the function now post a task and
performance GC from the task with an empty stack to avoid false positive
pointers in conservative stack scanning.

Bug: chromium:1098187
Change-Id: I88864845a1e395056c5d5f6e867ad774b87dbb6a
Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/2307217
Commit-Queue: Ulan Degenbaev <ulan@chromium.org>
Reviewed-by: Simon Zünd <szuend@chromium.org>
Reviewed-by: Peter Marshall <petermarshall@chromium.org>
Cr-Commit-Position: refs/heads/master@{#69444}
2020-08-18 07:24:14 +00:00
..
collect-garbage-expected.txt [inspector] Make collectGarbage of HeapProfiler precise 2020-08-18 07:24:14 +00:00
collect-garbage.js [inspector] Make collectGarbage of HeapProfiler precise 2020-08-18 07:24:14 +00:00
console-retaining-path-expected.txt [heap-profiler] Annotate global handles retained by console and debugger. 2018-02-19 12:21:52 +00:00
console-retaining-path.js [heap-profiler] Annotate global handles retained by console and debugger. 2018-02-19 12:21:52 +00:00
sampling-heap-profiler-expected.txt [heap profiler] Plumb samples through the protocol. 2018-10-23 00:12:01 +00:00
sampling-heap-profiler.js [heap profiler] Plumb samples through the protocol. 2018-10-23 00:12:01 +00:00
take-heap-snapshot-on-pause-expected.txt [inspector] fixed taskHeapSnapshot on pause 2017-02-04 01:21:58 +00:00
take-heap-snapshot-on-pause.js [inspector] Refactor protocol-test.js 2017-05-19 00:35:45 +00:00