Mercurial > hg > truffle
comparison src/share/vm/oops/objArrayKlass.hpp @ 10343:6bd680e9ea35
8003421: NPG: Move oops out of InstanceKlass into mirror
Summary: Inject protection_domain, signers, init_lock into java_lang_Class
Reviewed-by: stefank, dholmes, sla
author | coleenp |
---|---|
date | Wed, 22 May 2013 14:37:49 -0400 |
parents | db9981fd3124 |
children | e0c9a1d29eb4 |
comparison
equal
deleted
inserted
replaced
10342:1a07e086ff28 | 10343:6bd680e9ea35 |
---|---|
73 | 73 |
74 // Copying | 74 // Copying |
75 void copy_array(arrayOop s, int src_pos, arrayOop d, int dst_pos, int length, TRAPS); | 75 void copy_array(arrayOop s, int src_pos, arrayOop d, int dst_pos, int length, TRAPS); |
76 | 76 |
77 // Compute protection domain | 77 // Compute protection domain |
78 oop protection_domain() { return bottom_klass()->protection_domain(); } | 78 oop protection_domain() const { return bottom_klass()->protection_domain(); } |
79 | 79 |
80 private: | 80 private: |
81 // Either oop or narrowOop depending on UseCompressedOops. | 81 // Either oop or narrowOop depending on UseCompressedOops. |
82 // must be called from within ObjArrayKlass.cpp | 82 // must be called from within ObjArrayKlass.cpp |
83 template <class T> void do_copy(arrayOop s, T* src, arrayOop d, | 83 template <class T> void do_copy(arrayOop s, T* src, arrayOop d, |