Terrible mainthread i/o jank after uninstalling add-on (AddonWrapper_uninstall indirectly calling nsLocalFile::Remove)

NEW
Unassigned

Status

()

Toolkit
Add-ons Manager
5 years ago
4 years ago

People

(Reporter: jaws, Unassigned)

Tracking

23 Branch
Points:
---

Firefox Tracking Flags

(Not tracked)

Details

I uninstalled the Firefox OS simulator, and about thirty seconds later the browser janked really bad (this is a large add-on, but it was good at showing a bad problem that will affect far more users who have slow hard drives or hard drives that face a lot of contention).

When uploading the result of the Gecko Profiler I hit "error 0", so here is a screenshot of what I saw: http://screencast.com/t/AFrJYYTQT
Thanks for the report. Irving & Felipe are currently re-factoring the add-on manager to use a simpler storage format & to write to storage off the main thread
Irving, Felipe, is this still valid?
Flags: needinfo?(irving)
Flags: needinfo?(felipc)
As far as I know, removing unpacked add-ons still does synchronous file system operations. Dave recently converted the installation side to be mostly-async in bug 562674, and may have further information.

(tag, you're needinfo-it ;->)
Flags: needinfo?(irving)
Flags: needinfo?(felipc)
Flags: needinfo?(dtownsend+bugmail)
(In reply to :Irving Reid from comment #3)
> As far as I know, removing unpacked add-ons still does synchronous file
> system operations. Dave recently converted the installation side to be
> mostly-async in bug 562674, and may have further information.
> 
> (tag, you're needinfo-it ;->)

Yeah that is still true
Flags: needinfo?(dtownsend+bugmail)
You need to log in before you can comment on or make changes to this bug.