src/share/vm/jfr/recorder/stacktrace/jfrStackTraceRepository.hpp

changeset 9871
896c71e8d387
parent 9858
b985cbb00e68
child 9885
8e875c964f41
equal deleted inserted replaced
9870:830105382dbd 9871:896c71e8d387
28 #include "jfr/utilities/jfrAllocation.hpp" 28 #include "jfr/utilities/jfrAllocation.hpp"
29 #include "jfr/utilities/jfrTypes.hpp" 29 #include "jfr/utilities/jfrTypes.hpp"
30 30
31 class frame; 31 class frame;
32 class JavaThread; 32 class JavaThread;
33 class JfrCheckpointSystem;
34 class JfrCheckpointWriter; 33 class JfrCheckpointWriter;
35 class JfrChunkWriter; 34 class JfrChunkWriter;
36 class Method; 35 class Method;
37 36
38 class JfrStackFrame { 37 class JfrStackFrame {
53 }; 52 };
54 53
55 JfrStackFrame(const traceid& id, int bci, int type, const Method* method) : 54 JfrStackFrame(const traceid& id, int bci, int type, const Method* method) :
56 _method(method), _methodid(id), _line(0), _bci(bci), _type(type) {} 55 _method(method), _methodid(id), _line(0), _bci(bci), _type(type) {}
57 JfrStackFrame(const traceid& id, int bci, int type, int lineno) : 56 JfrStackFrame(const traceid& id, int bci, int type, int lineno) :
58 _method(NULL), _methodid(id), _line(0), _bci(bci), _type(type) {} 57 _method(NULL), _methodid(id), _line(lineno), _bci(bci), _type(type) {}
59 bool equals(const JfrStackFrame& rhs) const; 58 bool equals(const JfrStackFrame& rhs) const;
60 void write(JfrChunkWriter& cw) const; 59 void write(JfrChunkWriter& cw) const;
61 void write(JfrCheckpointWriter& cpw) const; 60 void write(JfrCheckpointWriter& cpw) const;
62 void resolve_lineno(); 61 void resolve_lineno();
63 }; 62 };

mercurial