Closed
Bug 722348
Opened 12 years ago
Closed 12 years ago
remove JSRuntime::requestCount
Categories
(Core :: JavaScript Engine, defect)
Core
JavaScript Engine
Tracking
()
RESOLVED
FIXED
mozilla12
People
(Reporter: igor, Assigned: igor)
References
Details
Attachments
(1 file)
9.09 KB,
patch
|
luke
:
review+
|
Details | Diff | Splinter Review |
With single-threaded runtime JSRuntime::requestCount is no longer necessary as the use of the counter can be replaced with checking if JSRuntime::requestDepth >= 0.
Assignee | ||
Comment 1•12 years ago
|
||
Besides removing JSRuntime::requestCount the patch also removes unused js_NextActiveContext and requires that js_DestroyContext should be called outside the request. This is to allow to simplify s_DestroyContext and minimize other patches for bug 722345.
Attachment #592742 -
Flags: review?
Comment 2•12 years ago
|
||
Note: empty r?
Assignee | ||
Updated•12 years ago
|
Attachment #592742 -
Flags: review? → review?(luke)
Comment 3•12 years ago
|
||
Comment on attachment 592742 [details] [diff] [review] v1 Great >+ } else if (mode == JSDCM_FORCE_GC) { >+ js_GC(cx, NULL, GC_NORMAL, gcreason::DESTROY_CONTEXT); >+ } else if (mode == JSDCM_MAYBE_GC) { > JS_MaybeGC(cx); unindent
Attachment #592742 -
Flags: review?(luke) → review+
Assignee | ||
Comment 4•12 years ago
|
||
https://hg.mozilla.org/integration/mozilla-inbound/rev/b7e5bbe0003d
Comment 5•12 years ago
|
||
https://hg.mozilla.org/mozilla-central/rev/b7e5bbe0003d
Status: NEW → RESOLVED
Closed: 12 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla12
Updated•12 years ago
|
Keywords: dev-doc-needed
Updated•4 years ago
|
Keywords: dev-doc-needed
You need to log in
before you can comment on or make changes to this bug.
Description
•