# HG changeset patch # User Tom Rodriguez # Date 1407434712 25200 # Node ID 4703a9442f3fcd291e9925688decfa8039faa274 # Parent 91e7d77cfb81ce94248fef98be7b05b9ff5f7ce0 Do normal crash reporting when encountering unexpected SEGV diff -r 91e7d77cfb81 -r 4703a9442f3f src/share/vm/runtime/sharedRuntime.cpp --- 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.