Refactor CodeHeap and AOTCodeHeap to devirtualize hot methods

XMLWordPrintable

    • b21

      In CodeCache::find_blob methods, we're doing virtual calls to each CodeHeap, resulting in up to 4 virtual calls (when AOT is enabled).

      By refactoring so that more code is shared between AOTCodeHeap and CodeHeap, we can reduce the number of virtual calls per find_blob call, effectively speeding up stack walking.

            Assignee:
            Claes Redestad
            Reporter:
            Claes Redestad
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: