comparison src/share/vm/classfile/classLoaderData.hpp @ 6757:e861d44e0c9c

7199923: NPG: tools/javac/T7093325.java timeout Reviewed-by: stefank, coleenp, kvn
author jmasa
date Thu, 20 Sep 2012 12:18:23 -0700
parents da91efe96a93
children 90273fc0a981
comparison
equal deleted inserted replaced
6755:bc675e55b48c 6757:e861d44e0c9c
201 201
202 // Used when tracing from klasses. 202 // Used when tracing from klasses.
203 void oops_do(OopClosure* f, KlassClosure* klass_closure, bool must_claim); 203 void oops_do(OopClosure* f, KlassClosure* klass_closure, bool must_claim);
204 204
205 void classes_do(KlassClosure* klass_closure); 205 void classes_do(KlassClosure* klass_closure);
206
207 bool has_defined(Klass* klass) {
208 for (Klass* k = _klasses; k != NULL; k = k->next_link()) {
209 if (klass == k) {
210 return true;
211 }
212 }
213 return false;
214 }
215 206
216 JNIMethodBlock* jmethod_ids() const { return _jmethod_ids; } 207 JNIMethodBlock* jmethod_ids() const { return _jmethod_ids; }
217 void set_jmethod_ids(JNIMethodBlock* new_block) { _jmethod_ids = new_block; } 208 void set_jmethod_ids(JNIMethodBlock* new_block) { _jmethod_ids = new_block; }
218 209
219 void print_value() { print_value_on(tty); } 210 void print_value() { print_value_on(tty); }