< prev index next >

src/share/vm/oops/constantPool.hpp

Print this page

        

@@ -754,11 +754,11 @@
     return 0 <= index && index < length();
   }
 
   // Sizing (in words)
   static int header_size()             {
-    return align_size_up((int)sizeof(ConstantPool), wordSize) / wordSize;
+    return align_up((int)sizeof(ConstantPool), wordSize) / wordSize;
   }
   static int size(int length)          { return align_metadata_size(header_size() + length); }
   int size() const                     { return size(length()); }
 #if INCLUDE_SERVICES
   void collect_statistics(KlassSizeStats *sz) const;
< prev index next >