diff -r 2e7898927798 -r 979ebd346ecf hotspot/src/share/vm/prims/jvm.cpp --- a/hotspot/src/share/vm/prims/jvm.cpp Tue Feb 14 20:00:28 2017 -0800 +++ b/hotspot/src/share/vm/prims/jvm.cpp Wed Feb 15 22:59:57 2017 -0500 @@ -549,9 +549,9 @@ THROW_MSG_(vmSymbols::java_lang_IllegalArgumentException(), "not enough space in buffers", NULL); } - Handle result = StackWalk::walk(stackStream_h, mode, skip_frames, frame_count, - start_index, frames_array_h, CHECK_NULL); - return JNIHandles::make_local(env, result()); + oop result = StackWalk::walk(stackStream_h, mode, skip_frames, frame_count, + start_index, frames_array_h, CHECK_NULL); + return JNIHandles::make_local(env, result); JVM_END @@ -684,7 +684,7 @@ // This can safepoint and redefine method, so need both new_obj and method // in a handle, for two different reasons. new_obj can move, method can be // deleted if nothing is using it on the stack. - m->method_holder()->add_member_name(new_obj()); + m->method_holder()->add_member_name(new_obj); } }