Closed
Bug 1119292
Opened 10 years ago
Closed 10 years ago
Remove ForkJoinContext and ThreadSafeContext
Categories
(Core :: JavaScript Engine, defect)
Core
JavaScript Engine
Tracking
()
RESOLVED
FIXED
mozilla38
People
(Reporter: lth, Assigned: lth)
References
Details
Attachments
(1 file, 1 obsolete file)
(deleted),
patch
|
shu
:
review+
|
Details | Diff | Splinter Review |
Removing ForkJoinContext and ThreadSafeContext also means removing the ForkJoin and ThreadPool code. (I may post this as two patches where the first patch does all the refactoring with some #if 0 blocks, and the second removes now-intert files).
Assignee | ||
Comment 1•10 years ago
|
||
This is probably review-ready but I've introduced two FIXMEs to get rid of an executionMode field and an executionMode method, if possible, and I'm going to look into that first.
Assignee | ||
Comment 2•10 years ago
|
||
(In reply to Lars T Hansen [:lth] from comment #1)
> This is probably review-ready but I've introduced two FIXMEs to get rid of
> an executionMode field and an executionMode method, if possible, and I'm
> going to look into that first.
executionMode ties in closely with VMFunction and I'm going to let Shu deal with that.
Assignee | ||
Comment 3•10 years ago
|
||
Attachment #8545996 -
Attachment is obsolete: true
Attachment #8547519 -
Flags: review?(shu)
Comment 4•10 years ago
|
||
Comment on attachment 8547519 [details] [diff] [review]
Remove ForkJoinContext and ThreadLocalContext
Review of attachment 8547519 [details] [diff] [review]:
-----------------------------------------------------------------
::: js/src/jit/CompileWrappers.cpp
@@ -81,5 @@
> const void *
> CompileRuntime::addressOfInterruptParUint32()
> {
> return runtime()->addressOfInterruptParUint32();
> }
We should be able to remove this too. Ignore if you do so in a later patch (this is the first one I'm looking at today).
::: js/src/shell/js.cpp
@@ +1003,5 @@
> {
> JSContext *cx = (JSContext*)data;
> JSRuntime *rt = cx->runtime();
>
> + if (!cx->allowGC())
It might be clearer to just remove cx->allowGC() in favor of cx->isJSContext(). I'll defer to your taste.
Attachment #8547519 -
Flags: review?(shu) → review+
Assignee | ||
Comment 5•10 years ago
|
||
Try (with suggested changes): https://treeherder.mozilla.org/ui/#/jobs?repo=try&revision=756a70c50990
Assignee | ||
Comment 6•10 years ago
|
||
Comment 7•10 years ago
|
||
Assignee: nobody → lhansen
Status: NEW → RESOLVED
Closed: 10 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla38
You need to log in
before you can comment on or make changes to this bug.
Description
•