Open Bug 890633 Opened 11 years ago Updated 2 years ago

Preferences are causing large main thread jank

Categories

(Toolkit :: Preferences, defect)

17 Branch
x86_64
Windows 7
defect

Tracking

()

People

(Reporter: mayhemer, Unassigned)

Details

(Keywords: perf)

>	xul.dll!nsAString_internal::SetCapacity(unsigned int capacity=0, const mozilla::fallible_t & __formal={...})  Line 546	C++
 	xul.dll!nsLocalFile::HasFileAttribute(unsigned long fileAttrib=16, bool * _retval=0x0032eb7e)  Line 2872	C++
 	xul.dll!nsLocalFile::IsDirectory(bool * _retval=0x0032eb7e)  Line 2843	C++
 	xul.dll!nsLocalFile::CopyMove(nsIFile * aParentDir=0x00000000, const nsAString_internal & newName={...}, bool followSymlinks=false, bool move=true)  Line 1920	C++
 	xul.dll!nsLocalFile::MoveTo(nsIFile * newParentDir=0x00000000, const nsAString_internal & newName={...})  Line 2140	C++
 	xul.dll!nsSafeFileOutputStream::Finish()  Line 949 + 0xe bytes	C++
 	xul.dll!nsBufferedOutputStream::Finish()  Line 665 + 0x9 bytes	C++
 	xul.dll!mozilla::Preferences::WritePrefFile(nsIFile * aFile=0x042720e8)  Line 811 + 0x6 bytes	C++
 	xul.dll!mozilla::Preferences::SavePrefFileInternal(nsIFile * aFile=0x00000000)  Line 734	C++
 	xul.dll!mozilla::Preferences::SavePrefFile(nsIFile * aFile=0x00000000)  Line 502	C++
 	xul.dll!nsAppStartup::TrackStartupCrashEnd()  Line 882	C++
 	xul.dll!NS_InvokeByIndex(nsISupports * that=0x02e82a08, unsigned int methodIndex=11, unsigned int paramCount=0, nsXPTCVariant * params=0x0032f008)  Line 71	C++


On a slow sd card it takes second(s) to execute.  I'll try to find out where from exactly it got called (need a debug build).
Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.