8158033: Notify_tracing() misplaced for intended purpose

Reviewed-by: egahlin, dholmes
This commit is contained in:
Markus Grönlund 2016-06-13 11:48:11 +02:00
parent 9eeb285818
commit de7ab979ec
5 changed files with 13 additions and 21 deletions

View file

@ -39,6 +39,7 @@
#include "runtime/vmThread.hpp"
#include "runtime/vm_operations.hpp"
#include "services/memTracker.hpp"
#include "trace/traceMacros.hpp"
#include "utilities/debug.hpp"
#include "utilities/decoder.hpp"
#include "utilities/defaultStream.hpp"
@ -1165,6 +1166,8 @@ void VMError::report_and_die(int id, const char* message, const char* detail_fmt
// are handled properly.
reset_signal_handlers();
TRACE_VM_ERROR();
} else {
// If UseOsErrorReporting we call this for each level of the call stack
// while searching for the exception handler. Only the first level needs