8067374: Use %f instead of %g for LogCompilation output

Changed format string from %g to %f.

Reviewed-by: kvn
This commit is contained in:
Zoltan Majo 2015-01-15 11:30:13 +01:00
parent 834ff91cc5
commit 9d6b3c1d71
3 changed files with 3 additions and 3 deletions

View file

@ -441,7 +441,7 @@ Parse::Parse(JVMState* caller, ciMethod* parse_method, float expected_uses)
CompileLog* log = C->log();
if (log != NULL) {
log->begin_head("parse method='%d' uses='%g'",
log->begin_head("parse method='%d' uses='%f'",
log->identify(parse_method), expected_uses);
if (depth() == 1 && C->is_osr_compilation()) {
log->print(" osr_bci='%d'", C->entry_bci());