[jboss-dev] Improving scanning performance

Ales Justin ales.justin at gmail.com
Sun Jun 14 16:21:41 EDT 2009


> Is there any way that we could persistently cache the results of 
> scanning for annotations?  

Why would you want to cache something like this in the first place?
You actually never explained this. ;-)

> Putting aside the issue of how to invalidate 
> the cache (lets discuss that after), where would the caching logic need 
> to go (maybe near the code dealing with jboss-scanning.xml?)

Dunno, as I'm still not convinced this is something we should do.

Instead of any caching, I could see some easy-to-do predetermined 
annotation info (X).
That would be far more efficient and easy to do, than "proper" caching.

> Are there currently any plans to do persistent caching in the MC (or 
> some form of pre-compiling)?

No.

Pre-compiling?
I guess we could hack some tool that would know how to do (X).
Tattletale looks perfect for such things. ;-)




More information about the jboss-development mailing list