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

AArch64: Devirtualize class RelocActions

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Unresolved
    • Icon: P4 P4
    • tbd
    • 26
    • hotspot
    • None

      RelocActions is instantiated every time we need to apply a reloc. There's really no need for this, and the use of virtual member functions and function pointers obfuscates the code.

      While C++ compilers can devirtualize much of this, they don't always devirtualize all of it. Let's make RelocActions all static.

            aph Andrew Haley
            aph Andrew Haley
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated: