--- old/src/share/vm/runtime/vframe_hp.cpp Mon Jul 6 17:13:59 2009 +++ new/src/share/vm/runtime/vframe_hp.cpp Mon Jul 6 17:13:59 2009 @@ -276,6 +276,15 @@ return scope()->bci(); } +bool compiledVFrame::is_restart() 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()->is_restart(); +} vframe* compiledVFrame::sender() const { const frame f = fr();