equal
deleted
inserted
replaced
1363 if (klass == NULL) { |
1363 if (klass == NULL) { |
1364 continue; // ignore things like evol_method |
1364 continue; // ignore things like evol_method |
1365 } |
1365 } |
1366 // During GC the is_alive closure is non-NULL, and is used to |
1366 // During GC the is_alive closure is non-NULL, and is used to |
1367 // determine liveness of dependees that need to be updated. |
1367 // determine liveness of dependees that need to be updated. |
1368 if (is_alive == NULL || klass->is_loader_alive(is_alive)) { |
1368 if (is_alive == NULL || klass->is_loader_alive()) { |
1369 // The GC defers deletion of this entry, since there might be multiple threads |
1369 // The GC defers deletion of this entry, since there might be multiple threads |
1370 // iterating over the _dependencies graph. Other call paths are single-threaded |
1370 // iterating over the _dependencies graph. Other call paths are single-threaded |
1371 // and may delete it immediately. |
1371 // and may delete it immediately. |
1372 bool delete_immediately = is_alive == NULL; |
1372 bool delete_immediately = is_alive == NULL; |
1373 InstanceKlass::cast(klass)->remove_dependent_nmethod(this, delete_immediately); |
1373 InstanceKlass::cast(klass)->remove_dependent_nmethod(this, delete_immediately); |