8203635: JFR sampler thread does not record stack info

Added call to record_stack_base_and_size() from sampler thread

Reviewed-by: shade, coleenp, stuefe
This commit is contained in:
Zhengyu Gu 2018-05-22 14:49:39 -04:00
parent 7a9392740c
commit 7a898e3e81

@ -453,6 +453,9 @@ static jlong get_monotonic_ms() {
void JfrThreadSampler::run() {
assert(_sampler_thread == NULL, "invariant");
record_stack_base_and_size();
_sampler_thread = this;
jlong last_java_ms = get_monotonic_ms();