Hi,
I am using Yourkit 5.0 with Java jdk1.5.0_05.
Application itself uses Hibernate 3.0 for persistence, which in turn uses runtime enhancement if I specify lazy="true" in class metadata and no runtime enhancement when I specify lazy="false".
I guess that problem is in fact that Yourkit uses runtime enhancment aswell to enable method invocation count tracing (one of features that is "must have" for me actualy). Because when I am runing application with agent loaded it hangs or worker thread exits at some point if I use lazy="true" and everything is ok if I use lazy="false".
Also If I am using Java 1.4 everything is ok regardless if I am setting lazy="true" or lazy="false", but then I can not use CPU profiling with method invocation counting, which is essential for me to trace application improvements or degradation as it changes...
Is there any solution for this?
Rihards
Can not profile applications that uses Hibernate lazy=true
-
- Posts: 2
- Joined: Wed Jul 13, 2005 3:06 pm
-
- Posts: 6172
- Joined: Wed Aug 11, 2004 8:37 am