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

JFR: RemoteRecordingStream::start() blocks close()

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P3 P3
    • 18
    • None
    • hotspot
    • None
    • jfr
    • b16

      The method jdk.management.jfr.RemoteRecordingStream::start() takas a lock that is needed to close the stream. This means the stream can't be shutdown from another thread. This doesn't happen with startAsync() as the method returns after the stream has started,

      This is a regression introduced with "8263332: JFR: Dump recording from a recording stream" and should be backported to JDK 17. Technically it doesn't break the specification, but it's expected behavior, and should work like JDK 16.

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

              Created:
              Updated:
              Resolved: