hotspot/src/share/vm/classfile/systemDictionary.cpp
changeset 29584 5b3cb9f0e39d
parent 29576 c223b0a9872e
parent 29580 a67a581cfe11
child 30764 fec48bf5a827
equal deleted inserted replaced
29579:9ff6780f640a 29584:5b3cb9f0e39d
  1366 void SystemDictionary::define_instance_class(instanceKlassHandle k, TRAPS) {
  1366 void SystemDictionary::define_instance_class(instanceKlassHandle k, TRAPS) {
  1367 
  1367 
  1368   ClassLoaderData* loader_data = k->class_loader_data();
  1368   ClassLoaderData* loader_data = k->class_loader_data();
  1369   Handle class_loader_h(THREAD, loader_data->class_loader());
  1369   Handle class_loader_h(THREAD, loader_data->class_loader());
  1370 
  1370 
  1371   for (uintx it = 0; it < GCExpandToAllocateDelayMillis; it++){}
       
  1372 
       
  1373  // for bootstrap and other parallel classloaders don't acquire lock,
  1371  // for bootstrap and other parallel classloaders don't acquire lock,
  1374  // use placeholder token
  1372  // use placeholder token
  1375  // If a parallelCapable class loader calls define_instance_class instead of
  1373  // If a parallelCapable class loader calls define_instance_class instead of
  1376  // find_or_define_instance_class to get here, we have a timing
  1374  // find_or_define_instance_class to get here, we have a timing
  1377  // hole with systemDictionary updates and check_constraints
  1375  // hole with systemDictionary updates and check_constraints