Mercurial > hg > graal-compiler
comparison src/share/vm/runtime/deoptimization.cpp @ 19961:71040f48cc34
TraceDeoptimization: print compiler and compile_id
author | Gilles Duboscq <gilles.m.duboscq@oracle.com> |
---|---|
date | Thu, 19 Mar 2015 19:27:25 +0100 |
parents | 1f95f91dd1d6 |
children | 7848fc12602b |
comparison
equal
deleted
inserted
replaced
19960:999430bcc941 | 19961:71040f48cc34 |
---|---|
1545 xtty->end_head(); | 1545 xtty->end_head(); |
1546 } | 1546 } |
1547 if (TraceDeoptimization) { // make noise on the tty | 1547 if (TraceDeoptimization) { // make noise on the tty |
1548 tty->print("Uncommon trap occurred in"); | 1548 tty->print("Uncommon trap occurred in"); |
1549 nm->method()->print_short_name(tty); | 1549 nm->method()->print_short_name(tty); |
1550 tty->print(" compiler=%s compile_id=%d", nm->compiler() == NULL ? "" : nm->compiler()->name(), nm->compile_id()); | |
1550 #ifdef GRAAL | 1551 #ifdef GRAAL |
1551 oop installedCode = nm->graal_installed_code(); | 1552 oop installedCode = nm->graal_installed_code(); |
1552 if (installedCode != NULL) { | 1553 if (installedCode != NULL) { |
1553 oop installedCodeName = NULL; | 1554 oop installedCodeName = NULL; |
1554 if (installedCode->is_a(InstalledCode::klass())) { | 1555 if (installedCode->is_a(InstalledCode::klass())) { |