Mercurial > hg > graal-compiler
diff 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 |
line wrap: on
line diff
--- a/src/share/vm/runtime/deoptimization.cpp Wed Jul 02 16:54:45 2014 +0200 +++ b/src/share/vm/runtime/deoptimization.cpp Wed Jul 02 18:23:56 2014 +0200 @@ -1487,8 +1487,8 @@ oop installedCode = nm->graal_installed_code(); if (installedCode != NULL) { oop installedCodeName = NULL; - if (installedCode->is_a(HotSpotNmethod::klass())) { - installedCodeName = HotSpotNmethod::name(installedCode); + if (installedCode->is_a(InstalledCode::klass())) { + installedCodeName = InstalledCode::name(installedCode); } if (installedCodeName != NULL) { tty->print(" (Graal: installedCodeName=%s) ", java_lang_String::as_utf8_string(installedCodeName));