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

EventStream::close doesn't abort streaming thread

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P3 P3
    • 14
    • 14
    • hotspot
    • jfr
    • b26

      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.

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

              Created:
              Updated:
              Resolved: