changeset 16718:4703a9442f3f

Do normal crash reporting when encountering unexpected SEGV
author Tom Rodriguez <tom.rodriguez@oracle.com>
date Thu, 07 Aug 2014 11:05:12 -0700
parents 91e7d77cfb81
children b1911c1e44c8
files src/share/vm/runtime/sharedRuntime.cpp
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/src/share/vm/runtime/sharedRuntime.cpp	Thu Aug 07 08:04:23 2014 +0200
+++ b/src/share/vm/runtime/sharedRuntime.cpp	Thu Aug 07 11:05:12 2014 -0700
@@ -853,8 +853,8 @@
           if (!cb->is_nmethod()) {
             bool is_in_blob = cb->is_adapter_blob() || cb->is_method_handles_adapter_blob();
             if (!is_in_blob) {
-              cb->print();
-              fatal(err_msg("exception happened outside interpreter, nmethods and vtable stubs at pc " INTPTR_FORMAT, pc));
+              // Allow normal crash reporting to handle this
+              return NULL;
             }
             Events::log_exception(thread, "NullPointerException in code blob at " INTPTR_FORMAT, pc);
             // There is no handler here, so we will simply unwind.