Mercurial > hg > truffle
comparison src/share/vm/runtime/deoptimization.cpp @ 15161:2c940b1a48d8
Convert InstalledCode from an interface into an abstract class.
author | Thomas Wuerthinger <thomas.wuerthinger@oracle.com> |
---|---|
date | Tue, 15 Apr 2014 15:01:40 +0200 |
parents | ed29f7ff71eb |
children | bb97b75d1d65 |
comparison
equal
deleted
inserted
replaced
15160:a47e68e146a2 | 15161:2c940b1a48d8 |
---|---|
1483 tty->print("Uncommon trap occurred in"); | 1483 tty->print("Uncommon trap occurred in"); |
1484 nm->method()->print_short_name(tty); | 1484 nm->method()->print_short_name(tty); |
1485 #ifdef GRAAL | 1485 #ifdef GRAAL |
1486 oop installedCode = nm->graal_installed_code(); | 1486 oop installedCode = nm->graal_installed_code(); |
1487 if (installedCode != NULL) { | 1487 if (installedCode != NULL) { |
1488 oop installedCodeName = HotSpotNmethod::name(installedCode); | 1488 oop installedCodeName = NULL; |
1489 if (installedCode->is_a(HotSpotNmethod::klass())) { | |
1490 installedCodeName = HotSpotNmethod::name(installedCode); | |
1491 } | |
1489 if (installedCodeName != NULL) { | 1492 if (installedCodeName != NULL) { |
1490 tty->print(" (Graal: installedCodeName=%s) ", java_lang_String::as_utf8_string(installedCodeName)); | 1493 tty->print(" (Graal: installedCodeName=%s) ", java_lang_String::as_utf8_string(installedCodeName)); |
1491 } else { | 1494 } else { |
1492 tty->print(" (Graal: installed code has no name) "); | 1495 tty->print(" (Graal: installed code has no name) "); |
1493 } | 1496 } |