[jboss-dev] Further profling: Where should I focus?

Bill Burke bburke at redhat.com
Tue Jan 5 11:37:38 EST 2010



Ales Justin wrote:
>> The question is though, does the VFS get bypassed if this is put in? 
> 
> No.
> 
>> Because scanning for packages isn't slow once the VFS context is 
>> initialized.  The time is all within initializing the VFS context for 
>> the jar.
>>
>> Or, is VFS still used for every deployed jar because of subdeployments?
> 
> Yes.
> 
> The mechanism you're referring to is jboss-structure.xml.
> * http://www.jboss.org/community/docs/DOC-13178
> Even if you use this mechanism, we still need to read into the jar, its 
> META-INF.
> 

But, I thought you said resources aren't discovered through VFS? :)

> Actually, in MC/AS you never use anything else than VFS to navigate/read 
> some stuff in file system.

Finding a resource should never require scanning and creating metadata 
for the entire jar/filesystem.

> If you do, it's bad/wrong usage. Since that's why we wrote VFS. ;-)

Really, like I don't know WTF VFS was invented...Please...



-- 
Bill Burke
JBoss, a division of Red Hat
http://bill.burkecentral.com



More information about the jboss-development mailing list