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

EventStream::close doesn't abort streaming thread

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: P3
    • Resolution: Fixed
    • Affects Version/s: 14
    • Fix Version/s: 14
    • Component/s: hotspot
    • Labels:
    • Subcomponent:
      jfr
    • Resolved In Build:
      b26

      Description

      If an Eventstream is started by a call to startAsync() and then closed(), the thread that parses events on disk doesn't terminate unless there is at least one more event that can be read. Eventually the thread will die when the current chunk ends, but it can take days for that to happen if there are no events emitted.

        Attachments

          Activity

            People

            Assignee:
            egahlin Erik Gahlin
            Reporter:
            egahlin Erik Gahlin
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: