Introducing WorkerThread::GCSupport
This is the first step to wipe WebThreadSupportingGC from the tree. It's basically a wrapper over WorkerThread adding some GC capabilities. This CL adds GC handling support to WorkerThread. It uses a new class called GCSupport which is in charge of creating the GCTaskRunner apart from attaching/detaching the current thread to ThreadState. This new machinery is disabled ATM, it'll be enabled later in followup CLs which will convert callsites to use WorkerThread instead of WebThreadSupportingGC. Bug: 961743 Change-Id: Ibee4e3ce40500398d5794c13e18984e52fc2c39e Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1655430Reviewed-by:Kentaro Hara <haraken@chromium.org> Reviewed-by:
Alexander Timin <altimin@chromium.org> Commit-Queue: Sergio Villar <svillar@igalia.com> Cr-Commit-Position: refs/heads/master@{#668398}
Showing
Please register or sign in to comment