New issue
Advanced search Search tips
Note: Color blocks (like or ) mean that a user may not be available. Tooltip shows the reason.

Issue 758100 link

Starred by 1 user

Issue metadata

Status: Available
Owner: ----
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: Linux , Android , Windows , Chrome , Mac
Pri: 3
Type: Bug



Sign in to add a comment

BlinkGC should reduce time spent in CompleteSweep

Project Member Reported by keishi@chromium.org, Aug 23 2017

Issue description

Blink GC has lazy sweeping but we still frequently run completeSweep and it can block a long time.
 
Cc: u...@chromium.org
Labels: -OS-All OS-Android OS-Chrome OS-Linux OS-Mac OS-Windows
The reason the sweeper is running on the main thread is to execute finalizers. If there were no finalizers that had to be run on the main thread this could easily moved on a background thread.

(Summary from various chats)

One way to evaluate this first is to get a ratio between objects that require finalizers and those that don't.

Depending on that, it might be a good idea to enqueue finalizers somewhere and run them on the main thread when the sweeper is finished. This way it should also be possible to measure time spent in finalizers because timing overhead will likely not dominate executing *all* finalizers.
Cc: hpayer@chromium.org
Project Member

Comment 5 by sheriffbot@chromium.org, Aug 23

Labels: Hotlist-Recharge-Cold
Status: Untriaged (was: Available)
This issue has been Available for over a year. If it's no longer important or seems unlikely to be fixed, please consider closing it out. If it is important, please re-triage the issue.

Sorry for the inconvenience if the bug really should have been left as Available.

For more details visit https://www.chromium.org/issue-tracking/autotriage - Your friendly Sheriffbot
Status: Available (was: Untriaged)

Sign in to add a comment