diff -r 703065c670fa -r 15bbd3f505c0 src/share/vm/runtime/vframe_hp.cpp --- a/src/share/vm/runtime/vframe_hp.cpp Wed Aug 05 18:54:12 2009 -0700 +++ b/src/share/vm/runtime/vframe_hp.cpp Thu Aug 06 09:37:26 2009 -0700 @@ -276,6 +276,15 @@ return scope()->bci(); } +bool compiledVFrame::should_reexecute() const { + if (scope() == NULL) { + // native nmethods have no scope the method/bci is implied + nmethod* nm = code(); + assert(nm->is_native_method(), "must be native"); + return false; + } + return scope()->should_reexecute(); +} vframe* compiledVFrame::sender() const { const frame f = fr();