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

Cleanup relocInfo constructors

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Fixed
    • Icon: P4 P4
    • 16
    • 16
    • hotspot
    • b17

      The public relocInfo constructor uses assignment of (*this) from a new relocInfo created by one of the private constructors. This appears to be a clumsy mimicking of constructor delegation But with C++11 we now have real constructor delegation and can avoid contortions while not requiring code duplication or introducing a shared "initialization" function for the parts common among the various constructors.

            kbarrett Kim Barrett
            kbarrett Kim Barrett
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: