[Webkit-unassigned] [Bug 180778] New: ICs should be able to adapt the priority of structures over time.

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed Dec 13 16:02:23 PST 2017


https://bugs.webkit.org/show_bug.cgi?id=180778

            Bug ID: 180778
           Summary: ICs should be able to adapt the priority of structures
                    over time.
           Product: WebKit
           Version: WebKit Nightly Build
          Hardware: Unspecified
                OS: Unspecified
            Status: NEW
          Keywords: NeedsRadar
          Severity: Normal
          Priority: P2
         Component: JavaScriptCore
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: keith_miller at apple.com

Currently, if our ICs see only a few (or even just one) structure 95% of the time but have cases for many different structures. We may end up creating a Binary switch that branches many times before selecting the common case. Instead we should have some heuristic to change the ordering/priority over time. 

Here are a couple of possible ideas to experiment with:

- Thread nukes the IC jump. This could be making the out of line jump target point to the slow path or some other method of forcing an out of line jump.
- Execution count trigger causes a read of the profiles. This could be on the main thread or on another thread.
- Use GC to try to find correlations in allocations/collections and access rates. 
- Take slow patch based on some per IC counter.
- Counter per access case.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20171214/c33e7dde/attachment.html>


More information about the webkit-unassigned mailing list