Mercurial > hg > truffle
comparison src/cpu/x86/vm/c1_MacroAssembler_x86.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 | a61af66fc99e |
children | d1605aabd0a1 |
comparison
equal
deleted
inserted
replaced
110:a49a647afe9a | 113:ba764ed4b6f2 |
---|---|
216 } | 216 } |
217 | 217 |
218 void C1_MacroAssembler::initialize_object(Register obj, Register klass, Register var_size_in_bytes, int con_size_in_bytes, Register t1, Register t2) { | 218 void C1_MacroAssembler::initialize_object(Register obj, Register klass, Register var_size_in_bytes, int con_size_in_bytes, Register t1, Register t2) { |
219 assert((con_size_in_bytes & MinObjAlignmentInBytesMask) == 0, | 219 assert((con_size_in_bytes & MinObjAlignmentInBytesMask) == 0, |
220 "con_size_in_bytes is not multiple of alignment"); | 220 "con_size_in_bytes is not multiple of alignment"); |
221 const int hdr_size_in_bytes = oopDesc::header_size_in_bytes(); | 221 const int hdr_size_in_bytes = instanceOopDesc::base_offset_in_bytes(); |
222 | 222 |
223 initialize_header(obj, klass, noreg, t1, t2); | 223 initialize_header(obj, klass, noreg, t1, t2); |
224 | 224 |
225 // clear rest of allocated space | 225 // clear rest of allocated space |
226 const Register t1_zero = t1; | 226 const Register t1_zero = t1; |