Mercurial > hg > truffle
diff src/share/vm/ci/ciObject.hpp @ 3668:46f211fe010c
Removed global handle usage in ci interface.
author | Thomas Wuerthinger <thomas.wuerthinger@oracle.com> |
---|---|
date | Fri, 18 Nov 2011 13:30:47 +0100 |
parents | be4ca325525a |
children | 957c266d8bc5 |
line wrap: on
line diff
--- a/src/share/vm/ci/ciObject.hpp Fri Nov 18 13:07:25 2011 +0100 +++ b/src/share/vm/ci/ciObject.hpp Fri Nov 18 13:30:47 2011 +0100 @@ -58,7 +58,6 @@ jobject _handle; ciKlass* _klass; uint _ident; - bool _temp_global; enum { FLAG_BITS = 2 }; enum { @@ -72,11 +71,6 @@ ciObject(ciKlass* klass); public: - virtual void cleanup() { - if (_temp_global && _handle != NULL && JNIHandles::is_global_handle(_handle)) { - JNIHandles::destroy_global(_handle); - } - } jobject handle() const { return _handle; } // Get the VM oop that this object holds. oop get_oop() const {