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, |