equal
deleted
inserted
replaced
48 if (candidate.is_interpreted_frame()) { |
48 if (candidate.is_interpreted_frame()) { |
49 JavaThreadState state = _thread->thread_state(); |
49 JavaThreadState state = _thread->thread_state(); |
50 const bool known_valid = (state == _thread_in_native || state == _thread_in_vm || state == _thread_blocked); |
50 const bool known_valid = (state == _thread_in_native || state == _thread_in_vm || state == _thread_blocked); |
51 if (known_valid || candidate.is_interpreted_frame_valid(_thread)) { |
51 if (known_valid || candidate.is_interpreted_frame_valid(_thread)) { |
52 Method* im = candidate.interpreter_frame_method(); |
52 Method* im = candidate.interpreter_frame_method(); |
53 if (known_valid && !im->is_valid_method()) { |
53 if (known_valid && !Method::is_valid_method(im)) { |
54 return false; |
54 return false; |
55 } |
55 } |
56 *method = im; |
56 *method = im; |
57 first_frame = candidate; |
57 first_frame = candidate; |
58 return true; |
58 return true; |