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

C2: Enable call devirtualization during post-parse phase

    XMLWordPrintable

Details

    • Enhancement
    • Status: Resolved
    • P3
    • Resolution: Fixed
    • 16
    • 16
    • hotspot
    • 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

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

              Dates

                Created:
                Updated:
                Resolved: