You probably use JDK Introspection for performance? Beyond possible
CFE
problems, this is probably also a big permgen memory consumption issue,
especially with deployments with big third-party dependencies, no?
Yes.
I currently use what the Reflect is using,
so you don't do double work, but I guess that might not be the best thing.
Wasn't somebody working on an optimized javassist-like approach?
We can switch Scanning to use different ReflectProvider:
*
http://anonsvn.jboss.org/repos/jbossas/projects/scanning/trunk/scanning-i...
if that turns to be an issue.
This is where you switch it:
*
http://anonsvn.jboss.org/repos/jbossas/trunk/server/src/main/java/org/jbo...
I have this Javassist based RP impled:
*
http://anonsvn.jboss.org/repos/jbossas/projects/scanning/trunk/scanning-i...