Thursday, August 2, 2012

Re: nullMethod and performances

GWT preserves the JAVA semantics of statics i.e. they are initialized on first access. This is achieved by calls to $clinit_.. methods that do the initialization. Within the body of these $clinit  functions, once initialization is complete,  they assign the nullMethod function to themselves. So the next time the $clinit method is called, the do nothing function is called.

So if this is a significant problem, avoid using statics.



On Thursday, August 2, 2012 3:40:04 AM UTC-4, Harold wrote:
Hi all,

I have noticed that with firefox almost 8% of the runtime time is in nullMethod function.

What does mean this nullMethod and what does generate calls to it ?

Thanks for your attention.

Regards,
Harold

--
You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group.
To view this discussion on the web visit https://groups.google.com/d/msg/google-web-toolkit/-/aN0GeISqs5kJ.
To post to this group, send email to google-web-toolkit@googlegroups.com.
To unsubscribe from this group, send email to google-web-toolkit+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.

No comments:

Post a Comment