Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8183573

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.

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

              Created:
              Updated:
              Resolved: