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

C2: Enable call devirtualization during post-parse phase

    XMLWordPrintable

    Details

    • Type: Enhancement
    • Status: Resolved
    • Priority: P3
    • Resolution: Fixed
    • Affects Version/s: 16
    • Fix Version/s: 16
    • Component/s: hotspot
    • Labels:
    • Subcomponent:
    • Resolved In Build:
      b28

      Description

      Call devirtualization happens only during parsing.
      If devirtualization fails, virtual call is issued and it stays the same irrespective of receiver type changes (later optimization passes can improve the type so devirtualization becomes possible).
      With the introduction of post-parse inlining, it becomes possible to inline through virtual calls as well if there's enough type information available.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              vlivanov Vladimir Ivanov
              Reporter:
              vlivanov Vladimir Ivanov
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: