Mercurial > hg > truffle
comparison src/cpu/sparc/vm/c1_MacroAssembler_sparc.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 |
---|---|
234 Register var_size_in_bytes, // object size in bytes if unknown at compile time; invalid otherwise | 234 Register var_size_in_bytes, // object size in bytes if unknown at compile time; invalid otherwise |
235 int con_size_in_bytes, // object size in bytes if known at compile time | 235 int con_size_in_bytes, // object size in bytes if known at compile time |
236 Register t1, // temp register | 236 Register t1, // temp register |
237 Register t2 // temp register | 237 Register t2 // temp register |
238 ) { | 238 ) { |
239 const int hdr_size_in_bytes = oopDesc::header_size_in_bytes(); | 239 const int hdr_size_in_bytes = instanceOopDesc::base_offset_in_bytes(); |
240 | 240 |
241 initialize_header(obj, klass, noreg, t1, t2); | 241 initialize_header(obj, klass, noreg, t1, t2); |
242 | 242 |
243 #ifdef ASSERT | 243 #ifdef ASSERT |
244 { | 244 { |