Mercurial > hg > graal-compiler
diff src/share/vm/opto/parse3.cpp @ 113:ba764ed4b6f2
6420645: Create a vm that uses compressed oops for up to 32gb heapsizes
Summary: Compressed oops in instances, arrays, and headers. Code contributors are coleenp, phh, never, swamyv
Reviewed-by: jmasa, kamg, acorn, tbell, kvn, rasbold
author | coleenp |
---|---|
date | Sun, 13 Apr 2008 17:43:42 -0400 |
parents | c9314fa4f757 |
children | d1605aabd0a1 |
line wrap: on
line diff
--- a/src/share/vm/opto/parse3.cpp Fri Apr 11 09:56:35 2008 -0400 +++ b/src/share/vm/opto/parse3.cpp Sun Apr 13 17:43:42 2008 -0400 @@ -365,7 +365,7 @@ const intptr_t header = arrayOopDesc::base_offset_in_bytes(T_OBJECT); for (jint i = 0; i < length_con; i++) { Node* elem = expand_multianewarray(array_klass_1, &lengths[1], ndimensions-1); - intptr_t offset = header + ((intptr_t)i << LogBytesPerWord); + intptr_t offset = header + ((intptr_t)i << LogBytesPerHeapOop); Node* eaddr = basic_plus_adr(array, offset); store_oop_to_array(control(), array, eaddr, adr_type, elem, elemtype, T_OBJECT); }