[jboss-dev-forums] [Design the new POJO MicroContainer] - Re: Alternative vfs jar implementation
mstruk
do-not-reply at jboss.com
Mon May 26 14:17:06 EDT 2008
jboss-vfs-alter branch now passes all the unit tests.
In AbstractVFSContextTest and FileVFSUnitTestCase I changed assertions that test URL equality. When ZipEntryContext is used URL schema changes, and those tests fail - I changed them so that only URL path part is compared.
In UnpackTestCase I changed some assertions since the previous ones test some implementation details that are different when it comes to ZipEntryContext. Ales, have a look, maybe we can put some more sensible tests there.
I also commited an optimization of the way file handles are released. I mentioned that it was too aggressive and causing a slight performance penalty. The slow down was not big, but was still noticable so I added an automatic asynchronous mechanism that releases files when they haven't been used for a few seconds. Currently this period is 5 seconds - hardcoded at the moment - can be made configurable. This fixes maybe about 80% of performance degradation which now looks to be ~1-2% jboss startup time relative to current vfs trunk.
I'm starting working on noCopy support now :)
Cheers,
- marko
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4153428#4153428
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4153428
More information about the jboss-dev-forums
mailing list