Mercurial > hg > truffle
diff src/share/vm/opto/library_call.cpp @ 895:94b6d06fd759
6860920: serialize.cpp shouldn't use objArrayOopDesc::base_offset_in_bytes(T_BYTE)
Summary: serialize.cpp currently uses objArrayOopDesc::base_offset_in_bytes(T_BYTE), which seems to be wrong.
Reviewed-by: coleenp, kvn
author | twisti |
---|---|
date | Mon, 20 Jul 2009 08:20:00 -0700 |
parents | fc4be448891f |
children | 1cef5ec3ca56 |
line wrap: on
line diff
--- a/src/share/vm/opto/library_call.cpp Fri Jul 17 00:50:55 2009 -0700 +++ b/src/share/vm/opto/library_call.cpp Mon Jul 20 08:20:00 2009 -0700 @@ -2074,7 +2074,7 @@ // See if it is a narrow oop array. if (adr_type->isa_aryptr()) { - if (adr_type->offset() >= objArrayOopDesc::base_offset_in_bytes(type)) { + if (adr_type->offset() >= objArrayOopDesc::base_offset_in_bytes()) { const TypeOopPtr *elem_type = adr_type->is_aryptr()->elem()->isa_oopptr(); if (elem_type != NULL) { sharpened_klass = elem_type->klass();