--- a/hotspot/src/share/vm/utilities/exceptions.cpp Wed Oct 21 13:46:25 2015 +0000
+++ b/hotspot/src/share/vm/utilities/exceptions.cpp Fri Oct 23 16:48:38 2015 -0400
@@ -222,7 +222,7 @@
}
-void Exceptions::throw_stack_overflow_exception(Thread* THREAD, const char* file, int line, methodHandle method) {
+void Exceptions::throw_stack_overflow_exception(Thread* THREAD, const char* file, int line, const methodHandle& method) {
Handle exception;
if (!THREAD->has_pending_exception()) {
Klass* k = SystemDictionary::StackOverflowError_klass();