--- old/src/share/vm/interpreter/interpreterRuntime.cpp 2015-06-05 16:15:25.801989758 -0400 +++ new/src/share/vm/interpreter/interpreterRuntime.cpp 2015-06-05 16:15:25.014512737 -0400 @@ -309,6 +309,8 @@ Handle exception = get_preinitialized_exception( SystemDictionary::StackOverflowError_klass(), CHECK); + // Increment counter for hs_err file reporting + Atomic::inc(&Exceptions::_stack_overflow_errors); THROW_HANDLE(exception); IRT_END