Fri, 07 Dec 2018 18:00:41 +0100
8213421: Line number information for execution samples always 0
Reviewed-by: mgronlun
src/share/vm/jfr/recorder/stacktrace/jfrStackTraceRepository.hpp | file | annotate | diff | comparison | revisions |
1.1 --- a/src/share/vm/jfr/recorder/stacktrace/jfrStackTraceRepository.hpp Fri Nov 23 16:36:07 2018 +0900 1.2 +++ b/src/share/vm/jfr/recorder/stacktrace/jfrStackTraceRepository.hpp Fri Dec 07 18:00:41 2018 +0100 1.3 @@ -30,7 +30,6 @@ 1.4 1.5 class frame; 1.6 class JavaThread; 1.7 -class JfrCheckpointSystem; 1.8 class JfrCheckpointWriter; 1.9 class JfrChunkWriter; 1.10 class Method; 1.11 @@ -55,7 +54,7 @@ 1.12 JfrStackFrame(const traceid& id, int bci, int type, const Method* method) : 1.13 _method(method), _methodid(id), _line(0), _bci(bci), _type(type) {} 1.14 JfrStackFrame(const traceid& id, int bci, int type, int lineno) : 1.15 - _method(NULL), _methodid(id), _line(0), _bci(bci), _type(type) {} 1.16 + _method(NULL), _methodid(id), _line(lineno), _bci(bci), _type(type) {} 1.17 bool equals(const JfrStackFrame& rhs) const; 1.18 void write(JfrChunkWriter& cw) const; 1.19 void write(JfrCheckpointWriter& cpw) const;