Mercurial > hg > graal-compiler
diff src/share/vm/graal/graalCodeInstaller.hpp @ 17335:508e88b5f1d3
Don't hang onto code install references after install finished
author | Tom Rodriguez <tom.rodriguez@oracle.com> |
---|---|
date | Thu, 02 Oct 2014 10:59:03 -0700 |
parents | 6fcb6691fe5f |
children | 8c079b8d0446 |
line wrap: on
line diff
--- a/src/share/vm/graal/graalCodeInstaller.hpp Thu Oct 02 10:57:03 2014 -0700 +++ b/src/share/vm/graal/graalCodeInstaller.hpp Thu Oct 02 10:59:03 2014 -0700 @@ -29,7 +29,7 @@ /* * This class handles the conversion from a InstalledCode to a CodeBlob or an nmethod. */ -class CodeInstaller { +class CodeInstaller : public StackObj { friend class VMStructs; private: enum MarkId { @@ -96,7 +96,7 @@ public: - CodeInstaller() {}; + CodeInstaller() {} GraalEnv::CodeInstallResult install(Handle& compiled_code, CodeBlob*& cb, Handle installed_code, Handle speculation_log); static address runtime_call_target_address(oop runtime_call);