51 NUM_FRAME_TYPES |
51 NUM_FRAME_TYPES |
52 }; |
52 }; |
53 |
53 |
54 JfrStackFrame(const traceid& id, int bci, int type, const Method* method) : |
54 JfrStackFrame(const traceid& id, int bci, int type, const Method* method) : |
55 _method(method), _methodid(id), _line(0), _bci(bci), _type(type) {} |
55 _method(method), _methodid(id), _line(0), _bci(bci), _type(type) {} |
56 JfrStackFrame(const traceid& id, int bci, int type, int lineno) : |
56 JfrStackFrame(const Method* method, const traceid& id, int bci, int type, int lineno) : |
57 _method(NULL), _methodid(id), _line(lineno), _bci(bci), _type(type) {} |
57 _method(method), _methodid(id), _line(lineno), _bci(bci), _type(type) {} |
58 bool equals(const JfrStackFrame& rhs) const; |
58 bool equals(const JfrStackFrame& rhs) const; |
59 void write(JfrChunkWriter& cw) const; |
59 void write(JfrChunkWriter& cw) const; |
60 void write(JfrCheckpointWriter& cpw) const; |
60 void write(JfrCheckpointWriter& cpw) const; |
61 void resolve_lineno(); |
61 void resolve_lineno(); |
62 }; |
62 }; |