New issue
Advanced search Search tips

Issue 809838 link

Starred by 1 user

Issue metadata

Status: Available
Owner: ----
Components:
EstimatedDays: ----
NextAction: ----
OS: ----
Pri: 3
Type: Feature



Sign in to add a comment

Trigger GC when finishing service worker install event handler

Project Member Reported by horo@chromium.org, Feb 7 2018

Issue description

When a frame is being closed, GC is triggered in this flow:
 LocalFrame::Detach()
  -> ScriptController::ClearForClose()
   -> WindowProxyManager::ClearForClose()
    -> WindowProxy::ClearForClose()
     -> V8GCForContextDispose::NotifyContextDisposed()
      -> Isolate::ContextDisposedNotification()
       -> Heap::NotifyContextDisposed()
        -> MemoryReducer::NotifyPossibleGarbage()

We should introduce a similar mechanism to trigger GC when finishing service worker install event handler.

 

Sign in to add a comment