--- old/agent/src/share/classes/sun/jvm/hotspot/oops/Array.java	2008-07-12 17:46:55.000000000 -0700
+++ new/agent/src/share/classes/sun/jvm/hotspot/oops/Array.java	2008-07-12 17:46:55.000000000 -0700
@@ -99,7 +99,7 @@
     // We have to fetch the length of the array, shift (multiply) it
     // appropriately, up to wordSize, add the header, and align to
     // object size.
-    long s = getLength() << klass.getLog2ElementSize();
+    long s = getLength() * klass.getElementSize();
     s += klass.getArrayHeaderInBytes();
     s = Oop.alignObjectSize(s);
     return s;
