8042778: Getting all visible methods in ReferenceTypeImpl is slow
Reviewed-by: egahlin, dholmes
This commit is contained in:
parent
47692bbf7e
commit
26689adbd2
@ -529,7 +529,7 @@ implements ReferenceType {
|
|||||||
* to filter that ordered collection.
|
* to filter that ordered collection.
|
||||||
*/
|
*/
|
||||||
List<Method> list = allMethods();
|
List<Method> list = allMethods();
|
||||||
list.retainAll(map.values());
|
list.retainAll(new HashSet<Method>(map.values()));
|
||||||
return list;
|
return list;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user