src/share/vm/oops/constantPool.cpp

changeset 9550
270570f695e0
parent 9507
7e72702243a4
parent 9530
9fce84e6f51a
child 9572
624a0741915c
child 9966
baf9f57c9b46
equal deleted inserted replaced
9520:0cd448a4edaf 9550:270570f695e0
337 } else { 337 } else {
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();
343 this_key->record_dependency(k(), CHECK_NULL); // Can throw OOM
344 this_oop->klass_at_put(which, k()); 342 this_oop->klass_at_put(which, k());
345 } 343 }
346 } 344 }
347 } 345 }
348 346

mercurial