src/share/vm/oops/objArrayKlass.hpp

changeset 4280
80e866b1d053
parent 4278
070d523b96a7
child 4542
db9981fd3124
equal deleted inserted replaced
4269:6b6ddf8c4329 4280:80e866b1d053
72 72
73 // Copying 73 // Copying
74 void copy_array(arrayOop s, int src_pos, arrayOop d, int dst_pos, int length, TRAPS); 74 void copy_array(arrayOop s, int src_pos, arrayOop d, int dst_pos, int length, TRAPS);
75 75
76 // Compute protection domain 76 // Compute protection domain
77 oop protection_domain() { return Klass::cast(bottom_klass())->protection_domain(); } 77 oop protection_domain() { return bottom_klass()->protection_domain(); }
78 78
79 private: 79 private:
80 // Either oop or narrowOop depending on UseCompressedOops. 80 // Either oop or narrowOop depending on UseCompressedOops.
81 // must be called from within ObjArrayKlass.cpp 81 // must be called from within ObjArrayKlass.cpp
82 template <class T> void do_copy(arrayOop s, T* src, arrayOop d, 82 template <class T> void do_copy(arrayOop s, T* src, arrayOop d,

mercurial