7199923: NPG: tools/javac/T7093325.java timeout

Reviewed-by: stefank, coleenp, kvn
This commit is contained in:
Jon Masamitsu 2012-09-20 12:18:23 -07:00
parent e78edc79b7
commit f6cc90e927
3 changed files with 0 additions and 17 deletions

View File

@ -204,15 +204,6 @@ class ClassLoaderData : public CHeapObj<mtClass> {
void classes_do(KlassClosure* klass_closure);
bool has_defined(Klass* klass) {
for (Klass* k = _klasses; k != NULL; k = k->next_link()) {
if (klass == k) {
return true;
}
}
return false;
}
JNIMethodBlock* jmethod_ids() const { return _jmethod_ids; }
void set_jmethod_ids(JNIMethodBlock* new_block) { _jmethod_ids = new_block; }

View File

@ -2392,8 +2392,6 @@ void PSParallelCompact::marking_phase(ParCompactionManager* cm,
void PSParallelCompact::follow_klass(ParCompactionManager* cm, Klass* klass) {
ClassLoaderData* cld = klass->class_loader_data();
assert(cld->has_defined(klass), "inconsistency!");
// The actual processing of the klass is done when we
// traverse the list of Klasses in the class loader data.
PSParallelCompact::follow_class_loader(cm, cld);
@ -2401,8 +2399,6 @@ void PSParallelCompact::follow_klass(ParCompactionManager* cm, Klass* klass) {
void PSParallelCompact::adjust_klass(ParCompactionManager* cm, Klass* klass) {
ClassLoaderData* cld = klass->class_loader_data();
assert(cld->has_defined(klass), "inconsistency!");
// The actual processing of the klass is done when we
// traverse the list of Klasses in the class loader data.
PSParallelCompact::adjust_class_loader(cm, cld);

View File

@ -84,8 +84,6 @@ void MarkSweep::AdjustKlassClosure::do_klass(Klass* klass) {
void MarkSweep::follow_klass(Klass* klass) {
ClassLoaderData* cld = klass->class_loader_data();
assert(cld->has_defined(klass), "inconsistency!");
// The actual processing of the klass is done when we
// traverse the list of Klasses in the class loader data.
MarkSweep::follow_class_loader(cld);
@ -93,8 +91,6 @@ void MarkSweep::follow_klass(Klass* klass) {
void MarkSweep::adjust_klass(Klass* klass) {
ClassLoaderData* cld = klass->class_loader_data();
assert(cld->has_defined(klass), "inconsistency!");
// The actual processing of the klass is done when we
// traverse the list of Klasses in the class loader data.
MarkSweep::adjust_class_loader(cld);