Closed
Bug 886911
Opened 10 years ago
Closed 10 years ago
GC: generational GC does not need to terminate off-main-thread compilation
Categories
(Core :: JavaScript Engine, defect)
Core
JavaScript Engine
Tracking
()
RESOLVED
FIXED
mozilla25
People
(Reporter: terrence, Assigned: jandem)
References
(Blocks 1 open bug)
Details
Attachments
(1 file)
3.37 KB,
patch
|
terrence
:
review+
|
Details | Diff | Splinter Review |
This should be a tremendous and easy perf win.
Assignee | ||
Comment 1•10 years ago
|
||
As discussed on IRC.
Reporter | ||
Comment 2•10 years ago
|
||
Comment on attachment 767796 [details] [diff] [review] Patch Review of attachment 767796 [details] [diff] [review]: ----------------------------------------------------------------- \o/ Excellent! r=me ::: js/src/gc/StoreBuffer.h @@ -216,5 @@ > if (!pos) > return; > > /* Check for overflow. */ > - if (top - pos < (unsigned)(sizeof(unsigned) + sizeof(T))) { Huh, I thought I fixed this at some point. I guess that patch never landed. In any case, thanks for the spot-fix! ::: js/src/ion/Ion.cpp @@ +378,5 @@ > { > + // Cancel any active or pending off thread compilations. Note that the > + // MIR graph does not hold any nursery pointers, so there's no need to > + // do this for minor GCs. > + JS_ASSERT(!trc->runtime->isHeapMinorCollecting()); Nice!
Attachment #767796 -
Flags: review?(terrence) → review+
Assignee | ||
Comment 3•10 years ago
|
||
https://hg.mozilla.org/integration/mozilla-inbound/rev/1060593e6796
Comment 4•10 years ago
|
||
https://hg.mozilla.org/mozilla-central/rev/1060593e6796
Status: ASSIGNED → RESOLVED
Closed: 10 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla25
You need to log in
before you can comment on or make changes to this bug.
Description
•