< prev index next >

src/hotspot/share/oops/weakHandle.cpp

Print this page

        

*** 27,37 **** #include "classfile/stringTable.hpp" #include "gc/shared/oopStorage.hpp" #include "oops/access.inline.hpp" #include "oops/oop.hpp" #include "oops/weakHandle.inline.hpp" - #include "prims/resolvedMethodTable.hpp" #include "utilities/debug.hpp" #include "utilities/ostream.hpp" template <> OopStorage* WeakHandle<vm_class_loader_data>::get_storage() { return SystemDictionary::vm_weak_oop_storage(); --- 27,36 ----
*** 39,52 **** template <> OopStorage* WeakHandle<vm_string_table_data>::get_storage() { return StringTable::weak_storage(); } - template <> OopStorage* WeakHandle<vm_resolved_method_table_data>::get_storage() { - return ResolvedMethodTable::weak_storage(); - } - template <WeakHandleType T> WeakHandle<T> WeakHandle<T>::create(Handle obj) { assert(obj() != NULL, "no need to create weak null oop"); oop* oop_addr = get_storage()->allocate(); if (oop_addr == NULL) { --- 38,47 ----
*** 77,82 **** } // Provide instantiation. template class WeakHandle<vm_class_loader_data>; template class WeakHandle<vm_string_table_data>; ! template class WeakHandle<vm_resolved_method_table_data>; --- 72,77 ---- } // Provide instantiation. template class WeakHandle<vm_class_loader_data>; template class WeakHandle<vm_string_table_data>; !
< prev index next >