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

XMLWordPrintable

    • Type: Enhancement
    • Resolution: Unresolved
    • Priority: P4
    • tbd
    • Affects Version/s: None
    • Component/s: 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.

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

              Created:
              Updated: