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

C2: Enable call devirtualization during post-parse phase

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Fixed
    • Icon: P3 P3
    • 16
    • 16
    • hotspot
    • b28

      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.

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

              Created:
              Updated:
              Resolved: