equal
deleted
inserted
replaced
69 assert(super(), "super klass must be present"); |
69 assert(super(), "super klass must be present"); |
70 return super()->uncached_lookup_method(name, signature); |
70 return super()->uncached_lookup_method(name, signature); |
71 } |
71 } |
72 |
72 |
73 ArrayKlass::ArrayKlass(Symbol* name) { |
73 ArrayKlass::ArrayKlass(Symbol* name) { |
74 set_alloc_size(0); |
|
75 set_name(name); |
74 set_name(name); |
76 |
75 |
77 set_super(Universe::is_bootstrapping() ? (Klass*)NULL : SystemDictionary::Object_klass()); |
76 set_super(Universe::is_bootstrapping() ? (Klass*)NULL : SystemDictionary::Object_klass()); |
78 set_layout_helper(Klass::_lh_neutral_value); |
77 set_layout_helper(Klass::_lh_neutral_value); |
79 set_dimension(1); |
78 set_dimension(1); |
159 f(k); |
158 f(k); |
160 k = ArrayKlass::cast(k)->higher_dimension(); |
159 k = ArrayKlass::cast(k)->higher_dimension(); |
161 } |
160 } |
162 } |
161 } |
163 |
162 |
164 |
|
165 void ArrayKlass::with_array_klasses_do(void f(Klass* k)) { |
|
166 array_klasses_do(f); |
|
167 } |
|
168 |
|
169 |
|
170 // GC support |
163 // GC support |
171 |
164 |
172 void ArrayKlass::oops_do(OopClosure* cl) { |
165 void ArrayKlass::oops_do(OopClosure* cl) { |
173 Klass::oops_do(cl); |
166 Klass::oops_do(cl); |
174 |
167 |