hotspot/src/share/vm/runtime/sharedRuntime.cpp
changeset 31335 60081f497e75
parent 30764 fec48bf5a827
child 31389 e0688be912e5
--- a/hotspot/src/share/vm/runtime/sharedRuntime.cpp	Mon Jun 08 15:40:28 2015 +0200
+++ b/hotspot/src/share/vm/runtime/sharedRuntime.cpp	Tue Jun 09 10:26:25 2015 -0400
@@ -732,6 +732,8 @@
   if (StackTraceInThrowable) {
     java_lang_Throwable::fill_in_stack_trace(exception);
   }
+  // Increment counter for hs_err file reporting
+  Atomic::inc(&Exceptions::_stack_overflow_errors);
   throw_and_post_jvmti_exception(thread, exception);
 JRT_END