8203635: JFR sampler thread does not record stack info
authorzgu
Tue, 22 May 2018 14:49:39 -0400
changeset 50222 911b913022ef
parent 50221 28f2e09a0ae0
child 50223 28a33a0dbf04
child 56592 b1902b22005e
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
src/hotspot/share/jfr/periodic/sampling/jfrThreadSampler.cpp
--- 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();