hotspot/src/share/vm/oops/arrayOop.hpp
changeset 5694 1e0532a6abff
parent 2105 347008ce7984
child 5702 201c5cde25bb
--- a/hotspot/src/share/vm/oops/arrayOop.hpp	Thu May 27 09:54:07 2010 -0700
+++ b/hotspot/src/share/vm/oops/arrayOop.hpp	Thu May 27 18:01:56 2010 -0700
@@ -92,7 +92,7 @@
   static int header_size(BasicType type) {
     size_t typesize_in_bytes = header_size_in_bytes();
     return (int)(Universe::element_type_should_be_aligned(type)
-      ? align_object_size(typesize_in_bytes/HeapWordSize)
+      ? align_object_offset(typesize_in_bytes/HeapWordSize)
       : typesize_in_bytes/HeapWordSize);
   }