This week's book giveaway is in the Jobs Discussion forum.
We're giving away four copies of Customer Requirements for Developers and have Marcho Behler on-line!
See this thread for details.
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 Customer Requirements for Developers this week in the Jobs Discussion forum!
JavaRanch » Java Forums » Java » Java in General
Bookmark "jvisualvm + dynamic proxy/reflection" Watch "jvisualvm + dynamic proxy/reflection" New topic

jvisualvm + dynamic proxy/reflection

Jari Timonen
Ranch Hand

Joined: Jan 16, 2004
Posts: 232

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.
subject: jvisualvm + dynamic proxy/reflection
jQuery in Action, 3rd edition