commit | 5b64e891917d845d28f17bf228a2395e95f6ddb4 | [log] [tgz] |
---|---|---|
author | Michael Lippautz <mlippautz@chromium.org> | Mon Sep 24 11:10:00 2018 |
committer | Commit Bot <commit-bot@chromium.org> | Mon Sep 24 11:10:00 2018 |
tree | ef888ab3b25728d32fbb1774de40472126663571 | |
parent | 4a452f410bf850e6013eff8f81ece0bbbeb2bab3 [diff] |
content: Add asyncCollectGarbage to GCController Adds an async GC call to GCController which is used from asyncGC() during layout tests. Currently the async GC calls a regular V8 GC which schedules a precise Oilpan GC as followup. In a unified GC world a V8 GC runs both, V8's GC and Oilpan, with the difference that it has to conservatively scan the stack as Oilpan is not run from the event loop. This is fixed by posting a task and calling a V8 GC indicating that there's no relevant stack present. Bug: chromium:843903 Change-Id: I411d63df4aa61b51928aded86d998ad78af35a1e Reviewed-on: https://chromium-review.googlesource.com/1236074 Commit-Queue: Michael Lippautz <mlippautz@chromium.org> Reviewed-by: Jochen Eisinger <jochen@chromium.org> Reviewed-by: Kentaro Hara <haraken@chromium.org> Reviewed-by: Hannes Payer <hpayer@chromium.org> Cr-Commit-Position: refs/heads/master@{#593503}
Chromium is an open-source browser project that aims to build a safer, faster, and more stable way for all users to experience the web.
The project's web site is https://www.chromium.org.
Documentation in the source is rooted in docs/README.md.
Learn how to Get Around the Chromium Source Code Directory Structure .