Closed
Bug 477367
Opened 17 years ago
Closed 14 years ago
Monitoring for the GC condition from the watchdog thread.
Categories
(Core :: JavaScript Engine, defect)
Tracking
()
RESOLVED
WORKSFORME
People
(Reporter: igor, Unassigned)
Details
Currently the browser checks for the GC conditions from each JSContext running on the main thread but not from JSContext instances that runs thread workers. That means that if the main thread does not run JS code, the workers will never run the GC. Initially the plan was to address that in the bug 453432, but that bug requires rather complicated codeand would still not address the bug 468840.
Thus instead I suggest to delegate the GC pressure monitoring to the watchdog thread. It would also allow to implement the heuristics from the 468840 nicely. It can also detect an idle system and schedule the GC at that moment.
Comment 1•14 years ago
|
||
Runtime is now single-threaded.
Status: NEW → RESOLVED
Closed: 14 years ago
Resolution: --- → WORKSFORME
You need to log in
before you can comment on or make changes to this bug.
Description
•