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

Cleanup relocInfo constructors

    XMLWordPrintable

Details

    • Enhancement
    • Status: Resolved
    • P4
    • Resolution: Fixed
    • 16
    • 16
    • hotspot
    • b17

    Description

      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.

      Attachments

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved: