jQuery in Action, 2nd edition*
The moose likes Java in General and the fly likes jvisualvm + dynamic proxy/reflection Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Spring in Action this week in the Spring forum!
JavaRanch » Java Forums » Java » Java in General
Bookmark "jvisualvm + dynamic proxy/reflection" Watch "jvisualvm + dynamic proxy/reflection" New topic
Author

jvisualvm + dynamic proxy/reflection

Jari Timonen
Ranch Hand

Joined: Jan 16, 2004
Posts: 232
Hello.

I was profiling today with jvisualvm application that heavily uses lambdaj. I did not see any performance problems with it. We studied more and saw, that it is reaaaallly slooooow. (we have tens of thousands of elements in lists).

How come jvisualvm did not show me real execution times of lambdaj? After making start/stop timers to the code we saw the problem. Something to do with dynamic proxy/reflection?
Or was i just blind as a bat.

www-application: Wicket 1.4 (lot's of ajax) + LamdaJ + Guice


SCJP 5.0, SCJD URLyBird 1.3.3, OCMJEA 5 (SCEA) Factory Homes
Jari Timonen
Ranch Hand

Joined: Jan 16, 2004
Posts: 232
Resolved: net.sf is the library to blame.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: jvisualvm + dynamic proxy/reflection