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

The return values of the os::write in jfrStreamWriterHost.inline.hpp:StreamWriterHost<Adapter, AP>::write_bytes(), should be handled more robustly.

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Unresolved
    • Icon: P4 P4
    • tbd
    • None
    • hotspot
    • None
    • jfr

      Only the No Space available error is checked and handled by jfr_abort(). The rest of other possible errors/failures are handled in guarantee( ).
      After 8303942, the os::write returns 0 on success, -1 on failure. The errno holds the reason of the failure.

            Unassigned Unassigned
            azafari Afshin Zafari
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated: