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

C2: Devirtualize PhaseIterGVN-specific methods

    XMLWordPrintable

Details

    • Enhancement
    • Resolution: Fixed
    • P5
    • 16
    • 16
    • hotspot
    • b26

    Description

      PhaseValues define the virtual method is_IterGVN, which is trivially returning 0(!) for all types except those derived from PhaseIterGVN. Similarly there's igvn_rehash_node_delayed which is virtual and a no-op in base types, but implemented to call rehash_node_delayed in PhaseIterGVN.

      By devirtualizing we allow for more aggressive inlining and slightly better code generation in a few places.

      Attachments

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved: