[heap] Skip never-evacuate pages from sweeper limit accouting
If concurrent sweeping is not making progress, then the slow path of allocation tries to sweep one page before allocating a new page. If that one page happens to be a never-evacuate page, then sweeping it will not produce any free space. This is problematic for tests that disable page allocation by setting the force_oom flag. Such tests become sensitive to the number of pages marked as never-evacuate (i.e. pages that were deserialized from the snapshot). Bug: v8:9205 Change-Id: If19a036b67319a5a2170f378f2c07ffa01bb7b27 Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/1601259Reviewed-by: Michael Lippautz <mlippautz@chromium.org> Commit-Queue: Ulan Degenbaev <ulan@chromium.org> Cr-Commit-Position: refs/heads/master@{#61344}
Showing
Please
register
or
sign in
to comment