< prev index next >

src/share/vm/services/nmtCommon.hpp

Print this page

        

*** 24,33 **** --- 24,34 ---- #ifndef SHARE_VM_SERVICES_NMT_COMMON_HPP #define SHARE_VM_SERVICES_NMT_COMMON_HPP #include "memory/allocation.hpp" + #include "utilities/align.hpp" #include "utilities/globalDefinitions.hpp" #define CALC_OBJ_SIZE_IN_TYPE(obj, type) (align_up_(sizeof(obj), sizeof(type))/sizeof(type)) // Native memory tracking level
< prev index next >