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

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

    XMLWordPrintable

Details

    • Bug
    • Status: Resolved
    • P4
    • Resolution: Fixed
    • 17
    • 17
    • hotspot
    • None
    • 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

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

              Dates

                Created:
                Updated:
                Resolved: