equal
deleted
inserted
replaced
338 MonitorLockerEx ml(this_oop->lock()); |
338 MonitorLockerEx ml(this_oop->lock()); |
339 // Only updated constant pool - if it is resolved. |
339 // Only updated constant pool - if it is resolved. |
340 do_resolve = this_oop->tag_at(which).is_unresolved_klass(); |
340 do_resolve = this_oop->tag_at(which).is_unresolved_klass(); |
341 if (do_resolve) { |
341 if (do_resolve) { |
342 ClassLoaderData* this_key = this_oop->pool_holder()->class_loader_data(); |
342 ClassLoaderData* this_key = this_oop->pool_holder()->class_loader_data(); |
343 if (!this_key->is_the_null_class_loader_data()) { |
343 this_key->record_dependency(k(), CHECK_NULL); // Can throw OOM |
344 this_key->record_dependency(k(), CHECK_NULL); // Can throw OOM |
|
345 } |
|
346 this_oop->klass_at_put(which, k()); |
344 this_oop->klass_at_put(which, k()); |
347 } |
345 } |
348 } |
346 } |
349 } |
347 } |
350 |
348 |