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
--- 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();