diff src/share/vm/code/nmethod.cpp @ 10560:0b1b5356b566

Fixed issues around execute compiled code stub. Made TraceDeoptimization a product flag.
author Thomas Wuerthinger <thomas.wuerthinger@oracle.com>
date Thu, 27 Jun 2013 21:20:07 +0200
parents 3489047ffea2
children 4acf032748b9
line wrap: on
line diff
--- a/src/share/vm/code/nmethod.cpp	Thu Jun 27 15:14:29 2013 +0200
+++ b/src/share/vm/code/nmethod.cpp	Thu Jun 27 21:20:07 2013 +0200
@@ -1307,6 +1307,7 @@
   // Java wrapper is no longer alive. Here we need to clear out this weak
   // reference to the dead object.
   if (_graal_installed_code != NULL) {
+    HotSpotInstalledCode::set_codeBlob(_graal_installed_code, 0);
     _graal_installed_code = NULL;
   }
 #endif