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

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

    XMLWordPrintable

Details

    • Bug
    • Status: Resolved
    • P3
    • Resolution: Fixed
    • None
    • 18
    • hotspot
    • None
    • jfr
    • b16

    Description

      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.

      Attachments

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved: