8161598: Kitchensink fails: assert(nm->insts_contains(original_pc)) failed: original PC must be in nmethod/CompiledMethod

Skip unwalkable frames in

Reviewed-by: fparain, coleenp, aph
This commit is contained in:
Dean Long 2016-08-16 09:19:13 -07:00
parent 72dcc9193e
commit 6e820bb025
20 changed files with 77 additions and 76 deletions

View file

@ -62,10 +62,9 @@ public:
_last_Java_sp = src->_last_Java_sp;
}
// Always walkable
bool walkable(void) { return true; }
// Never any thing to do since we are always walkable and can find address of return addresses
void make_walkable(JavaThread* thread) { }
bool walkable(void) { return _last_Java_sp != NULL && _last_Java_pc != NULL; }
void make_walkable(JavaThread* thread);
void capture_last_Java_pc(void);
intptr_t* last_Java_sp(void) const { return _last_Java_sp; }