Closed
Bug 975125
Opened 10 years ago
Closed 10 years ago
GenerationalGC: Baseline IC post barriers should check the value is in the nursery
Categories
(Core :: JavaScript Engine, defect)
Core
JavaScript Engine
Tracking
()
RESOLVED
FIXED
mozilla30
People
(Reporter: jandem, Assigned: jandem)
References
(Blocks 1 open bug)
Details
Attachments
(1 file)
6.42 KB,
patch
|
terrence
:
review+
|
Details | Diff | Splinter Review |
A GGC build is at least 10% slower on Octane-TypeScript. We spend about 10% of the time in jit::PostWriteBarrier, compacting the store buffer over and over again. Most of these store buffer entries are coming from Baseline ICs, because the barriers there only check whether the object is tenured and the value is an object. We should also check the value is in the nursery. TypeScript spends more time in Baseline than most other benchmarks, because it has some huge functions and we are Ion-compiling a ton of code in the background. Should be pretty easy to fix and should close at least half the gap with non-GGC builds.
Assignee | ||
Comment 1•10 years ago
|
||
Assignee | ||
Comment 2•10 years ago
|
||
GGC build is green on Try: https://tbpl.mozilla.org/?tree=Try&rev=81deee4c30af (I used a 32-bit GGC build locally and it also passes jit-tests.)
Comment 3•10 years ago
|
||
Comment on attachment 8379728 [details] [diff] [review] Patch Review of attachment 8379728 [details] [diff] [review]: ----------------------------------------------------------------- Great find! It's also nice in general to bring this barrier closer in line with what Ion does. r=me
Attachment #8379728 -
Flags: review?(terrence) → review+
Assignee | ||
Comment 4•10 years ago
|
||
https://hg.mozilla.org/integration/mozilla-inbound/rev/ef89c710498d
Comment 5•10 years ago
|
||
https://hg.mozilla.org/mozilla-central/rev/ef89c710498d
Status: ASSIGNED → RESOLVED
Closed: 10 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla30
You need to log in
before you can comment on or make changes to this bug.
Description
•