| Summary: | Optimize VMTraps::maybeNeedHandling(). | ||||||
|---|---|---|---|---|---|---|---|
| Product: | WebKit | Reporter: | Mark Lam <mark.lam> | ||||
| Component: | JavaScriptCore | Assignee: | Mark Lam <mark.lam> | ||||
| Status: | RESOLVED FIXED | ||||||
| Severity: | Normal | CC: | ews-watchlist, keith_miller, msaboff, saam, tzagallo, webkit-bug-importer | ||||
| Priority: | P2 | Keywords: | InRadar | ||||
| Version: | WebKit Nightly Build | ||||||
| Hardware: | Unspecified | ||||||
| OS: | Unspecified | ||||||
| Attachments: |
|
||||||
|
Description
Mark Lam
2022-03-05 11:22:27 PST
Created attachment 453916 [details]
proposed patch.
Comment on attachment 453916 [details]
proposed patch.
Going back to r?. They’re non zero when we defer, which may happen frequently?
(In reply to Saam Barati from comment #2) > Comment on attachment 453916 [details] > proposed patch. > > Going back to r?. They’re non zero when we defer, which may happen > frequently? Maybe not frequently enough though. Might be worth just giving a bit of thought to defer% to non-defer% (In reply to Saam Barati from comment #3) > (In reply to Saam Barati from comment #2) > > Comment on attachment 453916 [details] > > proposed patch. > > > > Going back to r?. They’re non zero when we defer, which may happen > > frequently? > > Maybe not frequently enough though. Might be worth just giving a bit of > thought to defer% to non-defer% I think that would be rare in a few sites only. We shouldn't be penalizing all exception check sites to favor just a few defer sites. Plus if bots show a regression, we can just roll this back. Comment on attachment 453916 [details]
proposed patch.
r=me
Comment on attachment 453916 [details]
proposed patch.
Thanks for the review.
Committed r290871 (248102@main): <https://commits.webkit.org/248102@main> All reviewed patches have been landed. Closing bug and clearing flags on attachment 453916 [details]. |