Mercurial > hg > truffle
comparison src/share/vm/runtime/deoptimization.cpp @ 16401:347915b8cea8
Move name from HotSpotNmethod to InstalledCode to have a name again for truffle nmethods.
author | Gilles Duboscq <duboscq@ssw.jku.at> |
---|---|
date | Wed, 02 Jul 2014 18:23:56 +0200 |
parents | 5c70a97bc5cc |
children | ada0a7729b6f |
comparison
equal
deleted
inserted
replaced
16400:fca7699bacd8 | 16401:347915b8cea8 |
---|---|
1485 nm->method()->print_short_name(tty); | 1485 nm->method()->print_short_name(tty); |
1486 #ifdef GRAAL | 1486 #ifdef GRAAL |
1487 oop installedCode = nm->graal_installed_code(); | 1487 oop installedCode = nm->graal_installed_code(); |
1488 if (installedCode != NULL) { | 1488 if (installedCode != NULL) { |
1489 oop installedCodeName = NULL; | 1489 oop installedCodeName = NULL; |
1490 if (installedCode->is_a(HotSpotNmethod::klass())) { | 1490 if (installedCode->is_a(InstalledCode::klass())) { |
1491 installedCodeName = HotSpotNmethod::name(installedCode); | 1491 installedCodeName = InstalledCode::name(installedCode); |
1492 } | 1492 } |
1493 if (installedCodeName != NULL) { | 1493 if (installedCodeName != NULL) { |
1494 tty->print(" (Graal: installedCodeName=%s) ", java_lang_String::as_utf8_string(installedCodeName)); | 1494 tty->print(" (Graal: installedCodeName=%s) ", java_lang_String::as_utf8_string(installedCodeName)); |
1495 } else { | 1495 } else { |
1496 tty->print(" (Graal: installed code has no name) "); | 1496 tty->print(" (Graal: installed code has no name) "); |