Mercurial > hg > openjdk > jdk8u > hotspot
changeset 9156:896c71e8d387
8213421: Line number information for execution samples always 0
Reviewed-by: mgronlun
author | egahlin |
---|---|
date | Fri, 07 Dec 2018 18:00:41 +0100 |
parents | 830105382dbd |
children | 8d15befeab20 |
files | src/share/vm/jfr/recorder/stacktrace/jfrStackTraceRepository.hpp |
diffstat | 1 files changed, 1 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/src/share/vm/jfr/recorder/stacktrace/jfrStackTraceRepository.hpp Fri Nov 23 16:36:07 2018 +0900 +++ b/src/share/vm/jfr/recorder/stacktrace/jfrStackTraceRepository.hpp Fri Dec 07 18:00:41 2018 +0100 @@ -30,7 +30,6 @@ class frame; class JavaThread; -class JfrCheckpointSystem; class JfrCheckpointWriter; class JfrChunkWriter; class Method; @@ -55,7 +54,7 @@ JfrStackFrame(const traceid& id, int bci, int type, const Method* method) : _method(method), _methodid(id), _line(0), _bci(bci), _type(type) {} JfrStackFrame(const traceid& id, int bci, int type, int lineno) : - _method(NULL), _methodid(id), _line(0), _bci(bci), _type(type) {} + _method(NULL), _methodid(id), _line(lineno), _bci(bci), _type(type) {} bool equals(const JfrStackFrame& rhs) const; void write(JfrChunkWriter& cw) const; void write(JfrCheckpointWriter& cpw) const;