diff src/share/vm/graal/graalCodeInstaller.hpp @ 7000:bf2ea3ed3bce

Fixed nmethod not being unloaded after their classloader has been unloaded by initializing _graal_installed_code in an nmethod's constructor
author Gilles Duboscq <duboscq@ssw.jku.at>
date Wed, 21 Nov 2012 23:33:43 +0100
parents e522a00b91aa
children af30115c9d0e
line wrap: on
line diff
--- a/src/share/vm/graal/graalCodeInstaller.hpp	Wed Nov 21 19:23:43 2012 +0100
+++ b/src/share/vm/graal/graalCodeInstaller.hpp	Wed Nov 21 23:33:43 2012 +0100
@@ -85,7 +85,7 @@
 public:
 
   // constructor used to create a method
-  CodeInstaller(Handle& comp_result, methodHandle method, nmethod*& nm, bool bind_to_method);
+  CodeInstaller(Handle& comp_result, methodHandle method, nmethod*& nm, Handle installed_code);
 
   // constructor used to create a stub
   CodeInstaller(Handle& target_method, BufferBlob*& blob, jlong& id);