Closed
Bug 457811
Opened 15 years ago
Closed 15 years ago
Use a threadpool for preload threads
Categories
(Core :: DOM: HTML Parser, defect)
Tracking
()
RESOLVED
FIXED
People
(Reporter: mrbkap, Unassigned)
Details
Currently, we'll happily create as many threads as parsers for preloading. While this is OK, I worry about the edge case where somebody is recovering for a crash with 50 windows and 10 tabs in each window. In such a case, we'll create too many threads and possibly run out of resources. We could create a threadpool to limit the number of preload threads at any time to something reasonable like 10 or 20.
Flags: blocking1.9.1?
Reporter | ||
Comment 1•15 years ago
|
||
Not fixing this before checking in turned out to be the cause of major crashiness. The version that stuck uses a threadpool.
Status: NEW → RESOLVED
Closed: 15 years ago
Flags: blocking1.9.1?
Resolution: --- → FIXED
You need to log in
before you can comment on or make changes to this bug.
Description
•