If you think a bug might affect users in the 57 release, please set the correct tracking and status flags for Release Management.

Preferences are causing large main thread jank

NEW
Unassigned

Status

()

Toolkit
Preferences
4 years ago
3 years ago

People

(Reporter: mayhemer, Unassigned)

Tracking

({perf})

17 Branch
x86_64
Windows 7
Points:
---

Firefox Tracking Flags

(Not tracked)

Details

(Reporter)

Description

4 years ago
>	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).
You need to log in before you can comment on or make changes to this bug.