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

G1: Mutex::_name dangling in HeapRegionRemSet references after JDK-8264146

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: P4
    • Resolution: Fixed
    • Affects Version/s: 17
    • Fix Version/s: 17
    • Component/s: hotspot
    • Labels:
      None
    • Subcomponent:
    • Resolved In Build:
      b20

      Description

      In JDK-8264146 the _name member of Mutex of HeapRegionRemSet has been made a reference to the passed string (description) instead of a copy.

      The code in the HeapRegionRemSet constructor has not been adapted, so that passed reference is now a dangling reference pointing somewhere into the stack.

      Fix this.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              coleenp Coleen Phillimore
              Reporter:
              tschatzl Thomas Schatzl
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: