From 714b05023e54d5eb71d232de259f885edd4992cf Mon Sep 17 00:00:00 2001 From: Erik Gahlin Date: Fri, 7 Dec 2018 18:00:41 +0100 Subject: [PATCH] 8213421: Line number information for execution samples always 0 Reviewed-by: mgronlun --- .../share/jfr/recorder/stacktrace/jfrStackTraceRepository.hpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/hotspot/share/jfr/recorder/stacktrace/jfrStackTraceRepository.hpp b/src/hotspot/share/jfr/recorder/stacktrace/jfrStackTraceRepository.hpp index e9272296278..a763548413e 100644 --- a/src/hotspot/share/jfr/recorder/stacktrace/jfrStackTraceRepository.hpp +++ b/src/hotspot/share/jfr/recorder/stacktrace/jfrStackTraceRepository.hpp @@ -30,7 +30,6 @@ class frame; class JavaThread; -class JfrCheckpointSystem; class JfrCheckpointWriter; class JfrChunkWriter; class Method; @@ -55,7 +54,7 @@ class JfrStackFrame { 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;