src/share/vm/services/heapDumper.cpp

changeset 464
d5fc211aea19
parent 435
a61af66fc99e
child 548
ba764ed4b6f2
     1.1 --- a/src/share/vm/services/heapDumper.cpp	Fri Feb 22 17:55:13 2008 -0800
     1.2 +++ b/src/share/vm/services/heapDumper.cpp	Mon Feb 25 15:05:44 2008 -0800
     1.3 @@ -997,7 +997,7 @@
     1.4    }
     1.5  
     1.6    // If the byte ordering is big endian then we can copy most types directly
     1.7 -  int length_in_bytes = array->length() * type2aelembytes[type];
     1.8 +  int length_in_bytes = array->length() * type2aelembytes(type);
     1.9    assert(length_in_bytes > 0, "nothing to copy");
    1.10  
    1.11    switch (type) {

mercurial