--- a/src/hotspot/share/jfr/recorder/checkpoint/jfrCheckpointWriter.hpp Fri Feb 22 19:58:22 2019 +0530
+++ b/src/hotspot/share/jfr/recorder/checkpoint/jfrCheckpointWriter.hpp Fri Feb 22 17:30:07 2019 +0300
@@ -49,21 +49,21 @@
typedef EventWriterHost<BigEndianEncoder, CompressedIntegerEncoder, JfrTransactionalCheckpointWriter> 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);