hotspot/src/share/vm/oops/constMethod.hpp
changeset 44524 b0d3e8ba6f27
parent 42608 14af45789042
child 46618 d503911aa948
equal deleted inserted replaced
44523:4c7c8239720c 44524:b0d3e8ba6f27
   357     u2* addr = generic_signature_index_addr();
   357     u2* addr = generic_signature_index_addr();
   358     *addr = index;
   358     *addr = index;
   359   }
   359   }
   360 
   360 
   361   // Sizing
   361   // Sizing
   362   static int header_size() { return sizeof(ConstMethod)/wordSize; }
   362   static int header_size() {
       
   363     return align_size_up(sizeof(ConstMethod), wordSize) / wordSize;
       
   364   }
   363 
   365 
   364   // Size needed
   366   // Size needed
   365   static int size(int code_size, InlineTableSizes* sizes);
   367   static int size(int code_size, InlineTableSizes* sizes);
   366 
   368 
   367   int size() const                    { return _constMethod_size;}
   369   int size() const                    { return _constMethod_size;}