Closed Bug 886911 Opened 11 years ago Closed 11 years ago

GC: generational GC does not need to terminate off-main-thread compilation

Categories

(Core :: JavaScript Engine, defect)

defect
Not set
normal

Tracking

()

RESOLVED FIXED
mozilla25

People

(Reporter: terrence, Assigned: jandem)

References

(Blocks 1 open bug)

Details

Attachments

(1 file)

This should be a tremendous and easy perf win.
Attached patch Patch (deleted) — Splinter Review
As discussed on IRC.
Assignee: general → jdemooij
Status: NEW → ASSIGNED
Attachment #767796 - Flags: review?(terrence)
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+
Status: ASSIGNED → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla25
Blocks: 1507445
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: