commit | f9a22f3e9d081a64e311116662fbdcab90cc4aac | [log] [tgz] |
---|---|---|
author | Hannes Payer <hpayer@chromium.org> | Mon Jan 29 18:46:01 2018 |
committer | Commit Bot <commit-bot@chromium.org> | Mon Jan 29 18:46:01 2018 |
tree | 796d5e9b01631fec6b88d2bd4d96d7d35e9d33b7 | |
parent | 36c0869fc5faa9f9a31a83ec8bfddf1e86e007f8 [diff] |
Oilpan: Immediatelly promptly free objects. This CL brings the following changes to promptly freeing and coalescing: 1) Promptly freed objects on already swept pages are immediately added to the free list. 2) For promptly freed objects on not already swept pages we only clear the mark bit. 3) The promptly_freed_size_ counter is explicitly set to 0 before sweeping because sweeping will take care of coalescing as well. 4) The dead bit is removed. Note that coalescing before sweeping completed can not happen. Future outlook: As a next step we will evaluate if we need coalescing and if we need it we have to make it jank friendly. Bug: chromium:804279, chromium:633030 Change-Id: I35dfae80ae0e7ed6cfbc91877d97d0b5fc26498e Reviewed-on: https://chromium-review.googlesource.com/873974 Commit-Queue: Hannes Payer <hpayer@chromium.org> Reviewed-by: Kentaro Hara <haraken@chromium.org> Reviewed-by: Michael Lippautz <mlippautz@chromium.org> Cr-Commit-Position: refs/heads/master@{#532509}
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 .