src/hotspot/share/jfr/recorder/stacktrace/jfrStackTraceRepository.hpp
branchJEP-349-branch
changeset 57360 5d043a159d5c
parent 53244 9807daeb47c4
child 57870 00860d9caf4d
equal deleted inserted replaced
57359:4cab5edc2950 57360:5d043a159d5c
    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 };