hotspot/src/share/vm/services/nmtCommon.hpp
changeset 46625 edefffab74e2
parent 46619 a3919f5e8d2b
equal deleted inserted replaced
46622:910fc72c03e8 46625:edefffab74e2
    24 
    24 
    25 #ifndef SHARE_VM_SERVICES_NMT_COMMON_HPP
    25 #ifndef SHARE_VM_SERVICES_NMT_COMMON_HPP
    26 #define SHARE_VM_SERVICES_NMT_COMMON_HPP
    26 #define SHARE_VM_SERVICES_NMT_COMMON_HPP
    27 
    27 
    28 #include "memory/allocation.hpp"
    28 #include "memory/allocation.hpp"
       
    29 #include "utilities/align.hpp"
    29 #include "utilities/globalDefinitions.hpp"
    30 #include "utilities/globalDefinitions.hpp"
    30 
    31 
    31 #define CALC_OBJ_SIZE_IN_TYPE(obj, type) (align_up_(sizeof(obj), sizeof(type))/sizeof(type))
    32 #define CALC_OBJ_SIZE_IN_TYPE(obj, type) (align_up_(sizeof(obj), sizeof(type))/sizeof(type))
    32 
    33 
    33 // Native memory tracking level
    34 // Native memory tracking level