Mercurial > hg > truffle
diff src/share/vm/runtime/vmThread.cpp @ 1490:f03d0a26bf83
6888954: argument formatting for assert() and friends
Reviewed-by: kvn, twisti, apetrusenko, never, dcubed
author | jcoomes |
---|---|
date | Thu, 22 Apr 2010 13:23:15 -0700 |
parents | cff162798819 |
children | c18cbe5936b8 |
line wrap: on
line diff
--- a/src/share/vm/runtime/vmThread.cpp Sun Oct 11 16:19:25 2009 -0700 +++ b/src/share/vm/runtime/vmThread.cpp Thu Apr 22 13:23:15 2010 -0700 @@ -593,7 +593,8 @@ // Check the VM operation allows nested VM operation. This normally not the case, e.g., the compiler // does not allow nested scavenges or compiles. if (!prev_vm_operation->allow_nested_vm_operations()) { - fatal2("Nested VM operation %s requested by operation %s", op->name(), vm_operation()->name()); + fatal(err_msg("Nested VM operation %s requested by operation %s", + op->name(), vm_operation()->name())); } op->set_calling_thread(prev_vm_operation->calling_thread(), prev_vm_operation->priority()); }