cppgc: Free up memory taken by SweptPageState
For large working set, the sweeper metadata can significantly increase. Currently, the backing of swept_unfinalized_pages never gets freed, which causes about 300KB of memory be occupied (checked on Speedometer2). The CL makes sure to shrink (actually free) the backing after each GC cycle. Bug: chromium:1249550 Change-Id: I7c7e5248983960a498afc252a344fa71cb1444c3 Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/3295347 Commit-Queue: Omer Katz <omerkatz@chromium.org> Auto-Submit: Anton Bikineev <bikineev@chromium.org> Reviewed-by: Omer Katz <omerkatz@chromium.org> Cr-Commit-Position: refs/heads/main@{#78029}
Showing
Please
register
or
sign in
to comment