diff -r 3054503bad7d -r caa25ab47aca src/hotspot/share/jfr/recorder/checkpoint/jfrCheckpointWriter.hpp --- a/src/hotspot/share/jfr/recorder/checkpoint/jfrCheckpointWriter.hpp Fri Sep 13 16:03:31 2019 -0700 +++ b/src/hotspot/share/jfr/recorder/checkpoint/jfrCheckpointWriter.hpp Sat Sep 14 14:40:09 2019 +0200 @@ -25,8 +25,8 @@ #ifndef SHARE_JFR_RECORDER_CHECKPOINT_JFRCHECKPOINTWRITER_HPP #define SHARE_JFR_RECORDER_CHECKPOINT_JFRCHECKPOINTWRITER_HPP -#include "jfr/recorder/checkpoint/jfrCheckpointBlob.hpp" #include "jfr/recorder/storage/jfrBuffer.hpp" +#include "jfr/utilities/jfrBlob.hpp" #include "jfr/utilities/jfrTime.hpp" #include "jfr/utilities/jfrTypes.hpp" #include "jfr/writers/jfrEventWriterHost.inline.hpp" @@ -67,9 +67,8 @@ void increment(); void set_flushpoint(bool flushpoint); bool is_flushpoint() const; - const u1* session_data(size_t* size, const JfrCheckpointContext* ctx = NULL); + const u1* session_data(size_t* size, bool move = false, const JfrCheckpointContext* ctx = NULL); void release(); - public: JfrCheckpointWriter(bool flushpoint, bool header, Thread* thread); ~JfrCheckpointWriter(); @@ -80,9 +79,8 @@ const JfrCheckpointContext context() const; void set_context(const JfrCheckpointContext ctx); bool has_data() const; - JfrCheckpointBlobHandle checkpoint_blob(); - JfrCheckpointBlobHandle copy(const JfrCheckpointContext* ctx = NULL); - JfrCheckpointBlobHandle move(const JfrCheckpointContext* ctx = NULL); + JfrBlobHandle copy(const JfrCheckpointContext* ctx = NULL); + JfrBlobHandle move(const JfrCheckpointContext* ctx = NULL); }; #endif // SHARE_JFR_RECORDER_CHECKPOINT_JFRCHECKPOINTWRITER_HPP