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

Replace OopStorage dup_name with os::strdup

    XMLWordPrintable

    Details

    • Type: Enhancement
    • Status: Resolved
    • Priority: P4
    • Resolution: Fixed
    • Affects Version/s: 14
    • Fix Version/s: 14
    • Component/s: hotspot
    • Labels:
      None
    • Subcomponent:
      gc
    • Resolved In Build:
      b05

      Description

      The OopStorage constructor makes a copy of the storage name, using a nearby defined dup_name function. That function should be file-scoped, but is missing the static qualifier. But really, it shouldn't exist at all, and os::strdup should be used instead.

        Attachments

          Activity

            People

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

              Dates

              Created:
              Updated:
              Resolved: