[jboss-dev-forums] [Design of Messaging on JBoss (Messaging/JBoss)] - Re: ClassLoader behaviour on remote clustering tests

flavia.rainone@jboss.com do-not-reply at jboss.com
Sun Apr 13 22:58:01 EDT 2008


Clebert,

I am seeing 348 calls to the joinpoint class generation code during the execution of your tests. The weird is that there are only 28 entry points (method wrappers) that call this code. 

8 of those 28 entry points are called thousands times each. The other 20 are called only a few times each, and if we sum up all the times they are called, we will get to 339 calls.

Thanks to the cache of generated classes, only 205 of the 348 calls to the generation of classes actually result in a class generation. The other calls just retrieve classes from the cache.

Anyway, I don't see why would the class generation ocurr so many times if you told me that those tests don't perform any dynamic addition/removal of aspects. My initial thought is that we should see one class generation call for each one of those 28 methods, and this should occur the first time those methods are called.

Probably I'm missing something here... I'll continue looking for what is causing this.



View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4143758#4143758

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4143758



More information about the jboss-dev-forums mailing list