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

Refactor CodeHeap and AOTCodeHeap to devirtualize hot methods

    XMLWordPrintable

    Details

    • Subcomponent:
    • Resolved In Build:
      b21

      Description

      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.

        Attachments

          Issue Links

            Activity

              People

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

                Dates

                Created:
                Updated:
                Resolved: