8224750: Display thread once in Internal exceptions event log lines

Reviewed-by: mdoerr
This commit is contained in:
Matthias Baesken 2019-05-24 14:32:17 +02:00
parent 4e38fb3c5f
commit c8d5c2961e

View File

@ -127,7 +127,7 @@ void ExceptionsEventLog::log(Thread* thread, Handle h_exception, const char* mes
st.print("Exception <");
h_exception->print_value_on(&st);
st.print("%s%s> (" INTPTR_FORMAT ") \n"
"thrown [%s, line %d]\nfor thread " INTPTR_FORMAT,
"thrown [%s, line %d]",
message ? ": " : "", message ? message : "",
p2i(h_exception()), file, line, p2i(thread));
p2i(h_exception()), file, line);
}