< prev index next >

src/hotspot/share/runtime/jniHandles.hpp

Print this page
rev 49487 : imported patch accessorize

*** 26,50 **** #define SHARE_VM_RUNTIME_JNIHANDLES_HPP #include "memory/allocation.hpp" #include "runtime/handles.hpp" - class JNIHandleBlock; class OopStorage; - // Interface for creating and resolving local/global JNI handles class JNIHandles : AllStatic { friend class VMStructs; private: static OopStorage* _global_handles; static OopStorage* _weak_global_handles; inline static bool is_jweak(jobject handle); ! inline static oop& jobject_ref(jobject handle); // NOT jweak! ! inline static oop& jweak_ref(jobject handle); template<bool external_guard> inline static oop resolve_impl(jobject handle); static oop resolve_jweak(jweak handle); // This method is not inlined in order to avoid circular includes between --- 26,48 ---- #define SHARE_VM_RUNTIME_JNIHANDLES_HPP #include "memory/allocation.hpp" #include "runtime/handles.hpp" class OopStorage; // Interface for creating and resolving local/global JNI handles class JNIHandles : AllStatic { friend class VMStructs; private: static OopStorage* _global_handles; static OopStorage* _weak_global_handles; inline static bool is_jweak(jobject handle); ! inline static oop* jobject_ptr(jobject handle); // NOT jweak! ! inline static oop* jweak_ptr(jobject handle); template<bool external_guard> inline static oop resolve_impl(jobject handle); static oop resolve_jweak(jweak handle); // This method is not inlined in order to avoid circular includes between
< prev index next >