changeset 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 1c4e9cb77ac6
children 3c11430f62d8
files src/share/vm/code/nmethod.cpp
diffstat 1 files changed, 0 insertions(+), 7 deletions(-) [+]
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);
     }