diff -r 2c3cc4b01880 -r c16ac7a2eba4 src/hotspot/share/jfr/writers/jfrWriterHost.inline.hpp --- a/src/hotspot/share/jfr/writers/jfrWriterHost.inline.hpp Wed Oct 30 16:14:56 2019 +0100 +++ b/src/hotspot/share/jfr/writers/jfrWriterHost.inline.hpp Wed Oct 30 19:43:52 2019 +0100 @@ -114,10 +114,7 @@ template template inline void WriterHost::be_write(T value) { - u1* const pos = ensure_size(sizeof(T)); - if (pos) { - this->set_current_pos(BE::be_write(&value, 1, pos)); - } + be_write(&value, 1); } template