comparison 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
comparison
equal deleted inserted replaced
6999:679e6584c177 7000:bf2ea3ed3bce
83 ImplicitExceptionTable _implicit_exception_table; 83 ImplicitExceptionTable _implicit_exception_table;
84 84
85 public: 85 public:
86 86
87 // constructor used to create a method 87 // constructor used to create a method
88 CodeInstaller(Handle& comp_result, methodHandle method, nmethod*& nm, bool bind_to_method); 88 CodeInstaller(Handle& comp_result, methodHandle method, nmethod*& nm, Handle installed_code);
89 89
90 // constructor used to create a stub 90 // constructor used to create a stub
91 CodeInstaller(Handle& target_method, BufferBlob*& blob, jlong& id); 91 CodeInstaller(Handle& target_method, BufferBlob*& blob, jlong& id);
92 92
93 static address runtime_call_target_address(oop runtime_call); 93 static address runtime_call_target_address(oop runtime_call);