equal
deleted
inserted
replaced
265 // sub/superklass links |
265 // sub/superklass links |
266 InstanceKlass* superklass() const; |
266 InstanceKlass* superklass() const; |
267 Klass* subklass() const; |
267 Klass* subklass() const; |
268 Klass* next_sibling() const; |
268 Klass* next_sibling() const; |
269 void append_to_sibling_list(); // add newly created receiver to superklass' subklass list |
269 void append_to_sibling_list(); // add newly created receiver to superklass' subklass list |
270 void remove_from_sibling_list(); // remove receiver from sibling list |
|
271 |
270 |
272 void set_next_link(Klass* k) { _next_link = k; } |
271 void set_next_link(Klass* k) { _next_link = k; } |
273 Klass* next_link() const { return _next_link; } // The next klass defined by the class loader. |
272 Klass* next_link() const { return _next_link; } // The next klass defined by the class loader. |
274 |
273 |
275 // class loader data |
274 // class loader data |
579 TRACE_DEFINE_KLASS_METHODS; |
578 TRACE_DEFINE_KLASS_METHODS; |
580 |
579 |
581 // garbage collection support |
580 // garbage collection support |
582 virtual void oops_do(OopClosure* cl); |
581 virtual void oops_do(OopClosure* cl); |
583 |
582 |
584 // Checks if the class loader is alive. |
583 // Iff the class loader (or mirror for anonymous classes) is alive the |
585 // Iff the class loader is alive the Klass is considered alive. |
584 // Klass is considered alive. |
586 // The is_alive closure passed in depends on the Garbage Collector used. |
585 // The is_alive closure passed in depends on the Garbage Collector used. |
587 bool is_loader_alive(BoolObjectClosure* is_alive); |
586 bool is_loader_alive(BoolObjectClosure* is_alive); |
588 |
587 |
589 static void clean_weak_klass_links(BoolObjectClosure* is_alive); |
588 static void clean_weak_klass_links(BoolObjectClosure* is_alive); |
590 |
589 |