-
-
Notifications
You must be signed in to change notification settings - Fork 349
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Bug or performance issue on InvocationFilter #586
Comments
Hi, I confirm the performance issue. This is probably caused by the method When you want to get all invocations of a But when you want all invocations of a method declared in a superclass which isn't present in the source classpath, you need to use the reflection for each I have maybe a solution, I'll let you know. |
Hi
I make a Spoon model for HSQLDB 1.8.0.9 and try to find invocation for some
CtExecutable
s . It works well for most of the items and it finds invocation list in 3-4 seconds. However for 3 methods, it takes so long and the invocation list is empty. The methods are:public void org.hsqldb.util.DatabaseManagerSwing$StatementExecRunnable.run()
takes 868 spublic void org.hsqldb.persist.LockFile$HeartbeatRunner.run()
takes 111 svoid org.hsqldb.lib.HsqlTimer$Task.cancel()
takes 89 sThis is my code:
List<CtInvocation<?>> invocationList = rootPack.getElements(new InvocationFilter(ctexe.getReference()));
Is there any bug or performance issue?
The text was updated successfully, but these errors were encountered: