equal
deleted
inserted
replaced
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 |