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

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

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P4 P4
    • 17
    • 17
    • hotspot
    • None
    • b20

      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.

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

              Created:
              Updated:
              Resolved: