mirror of
https://github.com/openjdk/jdk.git
synced 2025-08-28 15:24:43 +02:00
8146947
: Remove PrintOopAddress rather than converting to UL
Deprecated PrintOopAddress and made functionality default Reviewed-by: coleenp, stefank
This commit is contained in:
parent
cd3f80324f
commit
0f7f8e05ab
7 changed files with 14 additions and 28 deletions
|
@ -508,12 +508,13 @@ void Exceptions::log_exception(Handle exception, stringStream tempst) {
|
|||
ResourceMark rm;
|
||||
Symbol* message = java_lang_Throwable::detail_message(exception());
|
||||
if (message != NULL) {
|
||||
log_info(exceptions)("Exception <%s: %s> (" INTPTR_FORMAT ")\n thrown in %s",
|
||||
log_info(exceptions)("Exception <%s: %s>\n thrown in %s",
|
||||
exception->print_value_string(),
|
||||
message->as_C_string(), p2i(exception()), tempst.as_string());
|
||||
message->as_C_string(),
|
||||
tempst.as_string());
|
||||
} else {
|
||||
log_info(exceptions)("Exception <%s> (" INTPTR_FORMAT ")\n thrown in %s",
|
||||
log_info(exceptions)("Exception <%s>\n thrown in %s",
|
||||
exception->print_value_string(),
|
||||
p2i(exception()), tempst.as_string());
|
||||
tempst.as_string());
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue