comparison src/share/vm/oops/objArrayKlass.hpp @ 6983:070d523b96a7

8001471: Klass::cast() does nothing Summary: Remove function Klass::cast() and calls to it. Reviewed-by: dholmes, coleenp
author hseigel
date Mon, 12 Nov 2012 16:15:05 -0500
parents d8ce2825b193
children db9981fd3124
comparison
equal deleted inserted replaced
6981:8c413497f434 6983:070d523b96a7
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,