Mercurial > hg > truffle
diff src/share/vm/code/nmethod.cpp @ 9668:fe9a18fbb15e
added subclasses for HotSpotInstalledCode: HotSpotNmethod and HotSpotRuntimeStub
author | Doug Simon <doug.simon@oracle.com> |
---|---|
date | Mon, 13 May 2013 18:19:43 +0200 |
parents | c6a1ffc707ff |
children | cf0e31151830 |
line wrap: on
line diff
--- a/src/share/vm/code/nmethod.cpp Mon May 13 16:09:49 2013 +0200 +++ b/src/share/vm/code/nmethod.cpp Mon May 13 18:19:43 2013 +0200 @@ -1401,7 +1401,7 @@ if (!is_osr_method() && !is_not_entrant()) { address stub = SharedRuntime::get_handle_wrong_method_stub(); #ifdef GRAAL - if (_graal_installed_code != NULL && !HotSpotInstalledCode::isDefault(_graal_installed_code)) { + if (_graal_installed_code != NULL && !HotSpotNmethod::isDefault(_graal_installed_code)) { // This was manually installed machine code. Patch entry with stub that throws an exception. stub = SharedRuntime::get_deoptimized_installed_code_stub(); } @@ -1698,7 +1698,7 @@ #ifdef GRAAL // Follow Graal method if (_graal_installed_code != NULL) { - if (HotSpotInstalledCode::isDefault(_graal_installed_code)) { + if (HotSpotNmethod::isDefault(_graal_installed_code)) { if (!is_alive->do_object_b(_graal_installed_code)) { _graal_installed_code = NULL; }