Closed Bug 1119292 Opened 10 years ago Closed 10 years ago

Remove ForkJoinContext and ThreadSafeContext

Categories

(Core :: JavaScript Engine, defect)

defect
Not set
normal

Tracking

()

RESOLVED FIXED
mozilla38

People

(Reporter: lth, Assigned: lth)

References

Details

Attachments

(1 file, 1 obsolete file)

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).
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.
Blocks: 1119694
Blocks: 1118107
(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.
Attachment #8545996 - Attachment is obsolete: true
Attachment #8547519 - Flags: review?(shu)
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: 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.

Attachment

General

Created:
Updated:
Size: