# HG changeset patch # User egahlin # Date 1544202041 -3600 # Node ID 535144bfa542faaa9e8b7c4fc9e9cf9e5eea327e # Parent e3398b2e1ab0a9d26358330ff1a753fe4d1c718a 8213421: Line number information for execution samples always 0 Reviewed-by: mgronlun diff -r e3398b2e1ab0 -r 535144bfa542 src/hotspot/share/jfr/recorder/stacktrace/jfrStackTraceRepository.hpp --- a/src/hotspot/share/jfr/recorder/stacktrace/jfrStackTraceRepository.hpp Fri Dec 07 11:51:17 2018 -0500 +++ b/src/hotspot/share/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;