Closed
Bug 502374
Opened 16 years ago
Closed 16 years ago
Don't call cycle collector so often
Categories
(Core :: DOM: Core & HTML, defect)
Tracking
()
RESOLVED
FIXED
People
(Reporter: smaug, Assigned: smaug)
Details
Attachments
(1 file, 1 obsolete file)
5.25 KB,
patch
|
Details | Diff | Splinter Review |
This adds the 10s limit to page loads and user inactivity.
At least tryserver didn't show tp regression.
Attachment #386823 -
Flags: superreview?(peterv)
Attachment #386823 -
Flags: review?(peterv)
Comment 1•16 years ago
|
||
Comment on attachment 386823 [details] [diff] [review]
patch
>diff --git a/dom/base/nsJSEnvironment.cpp b/dom/base/nsJSEnvironment.cpp
>+nsJSContext::IntervalCC()
>+{
>+ if ((PR_Now() - sPreviousCCTime) >=
>+ PRTime(NS_MIN_CC_INTERVAL * PR_USEC_PER_MSEC)) {
>+ nsJSContext::CC();
>+ return PR_TRUE;
>+ }
>+#ifdef DEBUG_smaug
>+ else {
>+ printf("Running CC was delayed because of NS_MIN_CC_INTERVAL.\n");
>+ }
Don't really need the else (after return) here.
Attachment #386823 -
Flags: superreview?(peterv)
Attachment #386823 -
Flags: superreview+
Attachment #386823 -
Flags: review?(peterv)
Attachment #386823 -
Flags: review+
Assignee | ||
Comment 2•16 years ago
|
||
Attachment #386823 -
Attachment is obsolete: true
Assignee | ||
Comment 3•16 years ago
|
||
Assignee | ||
Updated•16 years ago
|
Status: NEW → RESOLVED
Closed: 16 years ago
Resolution: --- → FIXED
Updated•6 years ago
|
Component: DOM → DOM: Core & HTML
You need to log in
before you can comment on or make changes to this bug.
Description
•