RFR: 8042778: Getting all visible methods in ReferenceTypeImpl is slow
Jaroslav Bachorik
jaroslav.bachorik at oracle.com
Fri Jul 11 10:11:56 UTC 2014
Hi Jeremy,
On 05/08/2014 08:56 PM, Jeremy Manson wrote:
> I'm testing out my newly acquired OpenJDK authorship with something
> simple. If I did this wrong, I apologize.
>
> Basically, the debugger becomes very slow if there are a lot of methods
> in a class. This can happen (O(thousands)) if you are using a code
> generation tool.
>
> http://cr.openjdk.java.net/~jmanson/8042778/webrev.00/
Have you considered using streams to avoid creation of an additional
HashSet?
-JB-
>
> Reviews from reviewers and committing from committers would be
> appreciated. Thanks!
>
> Jeremy
More information about the serviceability-dev
mailing list