187 // super |
187 // super |
188 Klass* super() const { return _super; } |
188 Klass* super() const { return _super; } |
189 void set_super(Klass* k) { _super = k; } |
189 void set_super(Klass* k) { _super = k; } |
190 |
190 |
191 // initializes _super link, _primary_supers & _secondary_supers arrays |
191 // initializes _super link, _primary_supers & _secondary_supers arrays |
192 void initialize_supers(Klass* k, TRAPS); |
192 void initialize_supers(Klass* k, Array<Klass*>* transitive_interfaces, TRAPS); |
193 void initialize_supers_impl1(Klass* k); |
193 void initialize_supers_impl1(Klass* k); |
194 void initialize_supers_impl2(Klass* k); |
194 void initialize_supers_impl2(Klass* k); |
195 |
195 |
196 // klass-specific helper for initializing _secondary_supers |
196 // klass-specific helper for initializing _secondary_supers |
197 virtual GrowableArray<Klass*>* compute_secondary_supers(int num_extra_slots); |
197 virtual GrowableArray<Klass*>* compute_secondary_supers(int num_extra_slots, |
|
198 Array<Klass*>* transitive_interfaces); |
198 |
199 |
199 // java_super is the Java-level super type as specified by Class.getSuperClass. |
200 // java_super is the Java-level super type as specified by Class.getSuperClass. |
200 virtual Klass* java_super() const { return NULL; } |
201 virtual Klass* java_super() const { return NULL; } |
201 |
202 |
202 juint super_check_offset() const { return _super_check_offset; } |
203 juint super_check_offset() const { return _super_check_offset; } |