Lines Matching refs:candidate
270 frame candidate = *fr;
284 if (!candidate.safe_for_sender(thread)) return false;
285 candidate = candidate.sender(&map);
286 if (candidate.cb() != NULL) break;
288 if (candidate.cb() == NULL) return false;
299 if (candidate.is_first_frame()) {
305 if (candidate.is_interpreted_frame()) {
306 if (is_decipherable_interpreted_frame(thread, &candidate, method_p, bci_p)) {
307 *initial_frame_p = candidate;
315 if (candidate.cb()->is_nmethod()) {
317 nmethod* nm = (nmethod*) candidate.cb();
327 *initial_frame_p = candidate;
337 if (!is_decipherable_compiled_frame(thread, &candidate, nm)) {
341 // is_decipherable_compiled_frame may modify candidate's pc
342 *initial_frame_p = candidate;
344 assert(nm->pc_desc_at(candidate.pc()) != NULL, "if it's decipherable then pc must be valid");
351 if (!candidate.safe_for_sender(thread)) return false;
352 candidate = candidate.sender(&map);
358 if (candidate.cb() == NULL) return false;