mirror of
https://github.com/openjdk/jdk.git
synced 2025-08-28 07:14:30 +02:00
8261280: Remove THREAD argument from compute_loader_lock_object
Reviewed-by: dcubed
This commit is contained in:
parent
74d40ab72f
commit
2c3a86f96e
3 changed files with 9 additions and 12 deletions
|
@ -1036,7 +1036,7 @@ InstanceKlass* SystemDictionaryShared::find_or_load_shared_class(
|
|||
// Note: currently, find_or_load_shared_class is called only from
|
||||
// JVM_FindLoadedClass and used for PlatformClassLoader and AppClassLoader,
|
||||
// which are parallel-capable loaders, so a lock here is NOT taken.
|
||||
assert(is_parallelCapable(class_loader), "ObjectLocker not required");
|
||||
assert(compute_loader_lock_object(class_loader) == NULL, "ObjectLocker not required");
|
||||
{
|
||||
MutexLocker mu(THREAD, SystemDictionary_lock);
|
||||
InstanceKlass* check = dictionary->find_class(d_hash, name);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue