diff -r 103d1261f1f4 -r db357034b763 src/share/vm/jfr/recorder/checkpoint/jfrCheckpointWriter.hpp --- a/src/share/vm/jfr/recorder/checkpoint/jfrCheckpointWriter.hpp Fri Dec 06 12:42:29 2019 +0100 +++ b/src/share/vm/jfr/recorder/checkpoint/jfrCheckpointWriter.hpp Tue Jun 16 11:03:04 2020 +0800 @@ -49,21 +49,21 @@ typedef EventWriterHost JfrCheckpointWriterBase; struct JfrCheckpointContext { - jlong offset; - juint count; + int64_t offset; + u4 count; }; class JfrCheckpointWriter : public JfrCheckpointWriterBase { friend class JfrSerializerRegistration; private: JfrTicks _time; - jlong _offset; - juint _count; + int64_t _offset; + u4 _count; bool _flushpoint; bool _header; - juint count() const; - void set_count(juint count); + u4 count() const; + void set_count(u4 count); void increment(); void set_flushpoint(bool flushpoint); bool is_flushpoint() const; @@ -75,7 +75,7 @@ ~JfrCheckpointWriter(); void write_type(JfrTypeId type_id); void write_count(u4 nof_entries); - void write_count(u4 nof_entries, jlong offset); + void write_count(u4 nof_entries, int64_t offset); void write_key(u8 key); const JfrCheckpointContext context() const; void set_context(const JfrCheckpointContext ctx);