Mercurial > hg > truffle
diff src/share/vm/code/nmethod.cpp @ 12411:738023c641c2
Fix in G1 GC after latest HotSpot merge
author | Christos Kotselidis <christos.kotselidis@oracle.com> |
---|---|
date | Mon, 14 Oct 2013 23:36:11 +0200 |
parents | 359f7e70ae7f |
children | 98031e66de15 |
line wrap: on
line diff
--- a/src/share/vm/code/nmethod.cpp Mon Oct 14 23:35:49 2013 +0200 +++ b/src/share/vm/code/nmethod.cpp Mon Oct 14 23:36:11 2013 +0200 @@ -1405,13 +1405,6 @@ // cache call. if (!is_osr_method() && !is_not_entrant()) { address stub = SharedRuntime::get_handle_wrong_method_stub(); -#ifdef GRAAL - if (_graal_installed_code != NULL) { - // Break the link between nmethod and HotSpotInstalledCode such that the nmethod can subsequently be flushed safely. - HotSpotInstalledCode::set_codeBlob(_graal_installed_code, 0); - _graal_installed_code = NULL; - } -#endif NativeJump::patch_verified_entry(entry_point(), verified_entry_point(), stub); }