changeset 50222:911b913022ef

8203635: JFR sampler thread does not record stack info Summary: Added call to record_stack_base_and_size() from sampler thread Reviewed-by: shade, coleenp, stuefe
author zgu
date Tue, 22 May 2018 14:49:39 -0400
parents 28f2e09a0ae0
children 28a33a0dbf04
files src/hotspot/share/jfr/periodic/sampling/jfrThreadSampler.cpp
diffstat 1 files changed, 3 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/src/hotspot/share/jfr/periodic/sampling/jfrThreadSampler.cpp	Tue May 22 11:04:36 2018 -0700
+++ b/src/hotspot/share/jfr/periodic/sampling/jfrThreadSampler.cpp	Tue May 22 14:49:39 2018 -0400
@@ -453,6 +453,9 @@
 
 void JfrThreadSampler::run() {
   assert(_sampler_thread == NULL, "invariant");
+
+  record_stack_base_and_size();
+
   _sampler_thread = this;
 
   jlong last_java_ms = get_monotonic_ms();