Cleanup relocInfo constructors

XMLWordPrintable

    • Type: Enhancement
    • Resolution: Fixed
    • Priority: P4
    • 16
    • Affects Version/s: 16
    • Component/s: 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.

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

              Created:
              Updated:
              Resolved: