< prev index next >

src/hotspot/share/services/memoryManager.hpp

erik_version

roman_version

*** 25,34 **** --- 25,35 ---- #ifndef SHARE_VM_SERVICES_MEMORYMANAGER_HPP #define SHARE_VM_SERVICES_MEMORYMANAGER_HPP #include "gc/shared/gcCause.hpp" #include "memory/allocation.hpp" + #include "oops/oop.hpp" #include "oops/oopsHierarchy.hpp" #include "runtime/handles.hpp" #include "runtime/timer.hpp" #include "services/memoryUsage.hpp" ***************
*** 66,76 **** return _pools[index]; } void add_pool(MemoryPool* pool); ! bool is_manager(instanceHandle mh) { return mh() == _memory_mgr_obj; } virtual instanceOop get_memory_manager_instance(TRAPS); virtual bool is_gc_memory_manager() { return false; } const char* name() const { return _name; } --- 67,77 ---- return _pools[index]; } void add_pool(MemoryPool* pool); ! bool is_manager(instanceHandle mh) { return oopDesc::equals(mh(), _memory_mgr_obj); } virtual instanceOop get_memory_manager_instance(TRAPS); virtual bool is_gc_memory_manager() { return false; } const char* name() const { return _name; }
< prev index next >