[jdk13u-dev] RFR: 8280684: JfrRecorderService failes with guarantee(num_written > 0) when no space left on device.

Ekaterina Vergizova evergizova at openjdk.org
Tue Aug 2 11:39:28 UTC 2022


I'd like to backport JDK-8280684 to 13u for parity with 11u.
The patch doesn't apply cleanly due to copyright years and context difference in jfrJavaSupport.cpp, jfrJavaSupport.hpp and jfrStreamWriterHost.inline.hpp (JDK-8252685 and JDK-8183227 are not in 13u).
Additionally, similar to 11u backport, the original condition `error_msg != NULL` is left without replacing NULL with nullptr, because C++14 Language Features was enabled since jdk16 (JDK-8208089).

Tested with jdk/jfr and tier1.

-------------

Commit messages:
 - Backport 9471f24ca191832669a13e5a1ea73f7097a25927

Changes: https://git.openjdk.org/jdk13u-dev/pull/386/files
 Webrev: https://webrevs.openjdk.org/?repo=jdk13u-dev&pr=386&range=00
  Issue: https://bugs.openjdk.org/browse/JDK-8280684
  Stats: 14 lines in 3 files changed: 8 ins; 1 del; 5 mod
  Patch: https://git.openjdk.org/jdk13u-dev/pull/386.diff
  Fetch: git fetch https://git.openjdk.org/jdk13u-dev pull/386/head:pull/386

PR: https://git.openjdk.org/jdk13u-dev/pull/386


More information about the jdk-updates-dev mailing list