Closed
Bug 1381461
Opened 7 years ago
Closed 7 years ago
Fix some problems with PropertyReadNeedsTypeBarrier heuristics
Categories
(Core :: JavaScript Engine: JIT, enhancement)
Core
JavaScript Engine: JIT
Tracking
()
RESOLVED
FIXED
mozilla56
Tracking | Status | |
---|---|---|
firefox56 | --- | fixed |
People
(Reporter: jandem, Assigned: jandem)
Details
Attachments
(2 files, 1 obsolete file)
2.93 KB,
patch
|
bhackett1024
:
review+
|
Details | Diff | Splinter Review |
3.38 KB,
patch
|
bhackett1024
:
review+
|
Details | Diff | Splinter Review |
No description provided.
Assignee | ||
Comment 1•7 years ago
|
||
The updateObserved code skipped the receiver object and so we could get bogus type information when a property exists both on the receiver and on some prototype object. I also added breaks for a few other cases, it seems best to be conservative with these optimizations.
Attachment #8887019 -
Flags: review?(bhackett1024)
Assignee | ||
Comment 2•7 years ago
|
||
Attachment #8887019 -
Attachment is obsolete: true
Attachment #8887019 -
Flags: review?(bhackett1024)
Attachment #8887020 -
Flags: review?(bhackett1024)
Assignee | ||
Comment 3•7 years ago
|
||
Brian, you removed this code as part of a larger patch (bug 1198861 part 2), but that patch got backed out for regressing Octane. I don't see any regressions with this patch on any of the shell benchmarks and I don't trust this heuristic to not backfire on the polymorphic mess that's modern web frameworks, so I think we should try this again.
Attachment #8887025 -
Flags: review?(bhackett1024)
Updated•7 years ago
|
Attachment #8887020 -
Flags: review?(bhackett1024) → review+
Updated•7 years ago
|
Attachment #8887025 -
Flags: review?(bhackett1024) → review+
Pushed by jandemooij@gmail.com: https://hg.mozilla.org/integration/mozilla-inbound/rev/9f89cff48991 part 1 - Don't skip the receiver object in PropertyReadNeedsTypeBarrier. r=bhackett
Assignee | ||
Comment 5•7 years ago
|
||
Landing these separately to make perf regressions easier to track down.
Keywords: leave-open
Pushed by jandemooij@gmail.com: https://hg.mozilla.org/integration/mozilla-inbound/rev/922f398557af part 2 - Remove the similar-objects heuristic in PropertyReadNeedsTypeBarrier. r=bhackett
Assignee | ||
Updated•7 years ago
|
Keywords: leave-open
Comment 7•7 years ago
|
||
bugherder |
https://hg.mozilla.org/mozilla-central/rev/9f89cff48991
Status: ASSIGNED → RESOLVED
Closed: 7 years ago
status-firefox56:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → mozilla56
Comment 8•7 years ago
|
||
bugherder |
https://hg.mozilla.org/mozilla-central/rev/922f398557af
You need to log in
before you can comment on or make changes to this bug.
Description
•