Mercurial > hg > truffle
comparison src/cpu/sparc/vm/c1_MacroAssembler_sparc.cpp @ 6848:8e47bac5643a
7054512: Compress class pointers after perm gen removal
Summary: support of compress class pointers in the compilers.
Reviewed-by: kvn, twisti
author | roland |
---|---|
date | Tue, 09 Oct 2012 10:11:38 +0200 |
parents | da91efe96a93 |
children | 46c544b8fbfc |
comparison
equal
deleted
inserted
replaced
6847:65d07d9ee446 | 6848:8e47bac5643a |
---|---|
187 } | 187 } |
188 st_ptr(t1, obj, oopDesc::mark_offset_in_bytes()); | 188 st_ptr(t1, obj, oopDesc::mark_offset_in_bytes()); |
189 if (UseCompressedKlassPointers) { | 189 if (UseCompressedKlassPointers) { |
190 // Save klass | 190 // Save klass |
191 mov(klass, t1); | 191 mov(klass, t1); |
192 encode_heap_oop_not_null(t1); | 192 encode_klass_not_null(t1); |
193 stw(t1, obj, oopDesc::klass_offset_in_bytes()); | 193 stw(t1, obj, oopDesc::klass_offset_in_bytes()); |
194 } else { | 194 } else { |
195 st_ptr(klass, obj, oopDesc::klass_offset_in_bytes()); | 195 st_ptr(klass, obj, oopDesc::klass_offset_in_bytes()); |
196 } | 196 } |
197 if (len->is_valid()) { | 197 if (len->is_valid()) { |