Mercurial > hg > truffle
comparison src/share/vm/oops/typeArrayKlass.cpp @ 2273:2ab52cda08e5
Merge with OpenJDK.
author | Thomas Wuerthinger <thomas.wuerthinger@gmail.com> |
---|---|
date | Thu, 03 Mar 2011 19:25:53 +0100 |
parents | e5383553fd4e |
children | c9ca3f51cf41 |
comparison
equal
deleted
inserted
replaced
2219:0a14ff0a8cc4 | 2273:2ab52cda08e5 |
---|---|
248 int | 248 int |
249 typeArrayKlass::oop_update_pointers(ParCompactionManager* cm, oop obj) { | 249 typeArrayKlass::oop_update_pointers(ParCompactionManager* cm, oop obj) { |
250 assert(obj->is_typeArray(),"must be a type array"); | 250 assert(obj->is_typeArray(),"must be a type array"); |
251 return typeArrayOop(obj)->object_size(); | 251 return typeArrayOop(obj)->object_size(); |
252 } | 252 } |
253 | |
254 int | |
255 typeArrayKlass::oop_update_pointers(ParCompactionManager* cm, oop obj, | |
256 HeapWord* beg_addr, HeapWord* end_addr) { | |
257 assert(obj->is_typeArray(),"must be a type array"); | |
258 return typeArrayOop(obj)->object_size(); | |
259 } | |
260 #endif // SERIALGC | 253 #endif // SERIALGC |
261 | 254 |
262 void typeArrayKlass::initialize(TRAPS) { | 255 void typeArrayKlass::initialize(TRAPS) { |
263 // Nothing to do. Having this function is handy since objArrayKlasses can be | 256 // Nothing to do. Having this function is handy since objArrayKlasses can be |
264 // initialized by calling initialize on their bottom_klass, see objArrayKlass::initialize | 257 // initialized by calling initialize on their bottom_klass, see objArrayKlass::initialize |