< prev index next >

src/hotspot/share/jfr/periodic/sampling/jfrCallTrace.cpp

Print this page

        

*** 48,58 **** if (candidate.is_interpreted_frame()) { JavaThreadState state = _thread->thread_state(); const bool known_valid = (state == _thread_in_native || state == _thread_in_vm || state == _thread_blocked); if (known_valid || candidate.is_interpreted_frame_valid(_thread)) { Method* im = candidate.interpreter_frame_method(); ! if (known_valid && !im->is_valid_method()) { return false; } *method = im; first_frame = candidate; return true; --- 48,58 ---- if (candidate.is_interpreted_frame()) { JavaThreadState state = _thread->thread_state(); const bool known_valid = (state == _thread_in_native || state == _thread_in_vm || state == _thread_blocked); if (known_valid || candidate.is_interpreted_frame_valid(_thread)) { Method* im = candidate.interpreter_frame_method(); ! if (known_valid && !Method::is_valid_method(im)) { return false; } *method = im; first_frame = candidate; return true;
< prev index next >