Fully featured low overhead profiler for Java EE and Java SE platforms.
Performance monitoring and profiling of Jenkins, TeamCity, Gradle, Maven, Ant, JUnit and TestNG.
Easy to use performance and memory profiler for .NET framework.

Compatibility of yourkit 3.2 with JDK 1.3

Moderators: Vladimir Kondratyev, Anton Katilin

Compatibility of yourkit 3.2 with JDK 1.3

Postby nirchattop » Wed Feb 02, 2005 10:30 pm

I am currently evaluating yourkit 3.2. I was trying to run my profiled application on jdk1.3.1_09 and came across following error:

YourKit Java Profiler 3.2 #451 cannot start: JVM does not support JVMPI_VERSION_1_1
unable to initialize JVM helper library yjpagent
Could not create the Java virtual machine.


Does your product support JDK 1.3.1_09?

If so, please let me know if I need to use any specific configuration or JVM or agent controller option to make it run.



Thanks.
nirchattop
 
Posts: 5
Joined: Wed Feb 02, 2005 9:56 pm
Location: Stamford

Postby RangerRob » Thu Feb 03, 2005 12:56 am

Hi nirchattop. Please see my reply to your question in the other thread you posted to the Features forum:

http://forums.yourkit.com/viewtopic.php?t=167
RangerRob
 
Posts: 64
Joined: Wed Oct 06, 2004 7:56 am
Location: United States

Postby Vladimir Kondratyev » Thu Feb 03, 2005 10:49 am

Hi nirchattop,

profiler should work with JDK 1.3.1. It shouldn't with JDK 1.2.x. Are you sure that you are using 1.3.1_09?

BTW, what is the output of "java -version"?
Vladimir Kondratyev
 
Posts: 1519
Joined: Tue Aug 10, 2004 7:52 pm
Location: Düsseldorf, Germany

Postby nirchattop » Thu Feb 03, 2005 4:27 pm

I am using Sun JDK and here is the output for java -version.

java version "1.3.1_09"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.3.1_09-b03)
Java HotSpot(TM) Client VM (build 1.3.1_09-b03, mixed mode)

I would also like to point to some other problems that I am having in trying to run our profiled application with JDK 1.4 with the following profiler option for object allocation recording.
-Xrunyjpagent:tracing,alloc,port=10001,onexit=both,dir=C:/nctemp/serverprofilesnapshots

For some reason the server crashed right before starting. I work in a bank and currently our group is using a very large risk management system developed aorund weblogic (with Sun 1.3x JVM).

Thanks,
Nirmalya
nirchattop
 
Posts: 5
Joined: Wed Feb 02, 2005 9:56 pm
Location: Stamford

Postby Anton Katilin » Fri Feb 04, 2005 5:57 am

Hi,

I would also like to point to some other problems that I am having in trying to run our profiled application with JDK 1.4 with the following profiler option for object allocation recording.
-Xrunyjpagent:tracing,alloc,port=10001,onexit=both,dir=C:/nctemp/serverprofilesnapshot


Please let me note that if you need allocation recording only and do not make performance (CPU) profiling at the same moment, there's no need in 'tracing' parameter of '-Xrunyjpagent'. Removing it, you will decrease profiling overhead.

For some reason the server crashed right before starting.


Could you please provide more detail on how your server crashes. Are there any error messages e.g. in the console? Do you mean the message "YourKit Java Profiler 3.2 #451 cannot start: JVM does not support JVMPI_VERSION_1_1 " or you mean another "crash"?

Best regards,
Anton
Anton Katilin
 
Posts: 5966
Joined: Wed Aug 11, 2004 8:37 am

Postby nirchattop » Fri Feb 04, 2005 4:42 pm

I am sorry for the confusion. I think I mixed up two issues. Just to restate everything, I can start profiled application in Sun JDK 1.4 (ofcourse you are right that I had to take out the options for alloc and tracing etc.) and was able to produce CPU and memory snapshots by connecting and capturing from yourkit UI as well as some external process. So don't bother about the crash problem.

However, I would like to request you to help me out with running the profiled application in the JDK version I indicated.

The error I get is:

Profile parameters: -Xrunyjpagent:port=10001
YourKit Java Profiler 3.2 #451 cannot start: JVM does not support JVMPI_VERSION_1_1
unable to initialize JVM helper library yjpagent
Could not create the Java virtual machine.

My Sun JDK Version is: jdk1.3.1_09

The output from java -version is:

java version "1.3.1_09"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.3.1_09-b03)
Java HotSpot(TM) Client VM (build 1.3.1_09-b03, mixed mode)

Thanks,
Nirmalya :(
nirchattop
 
Posts: 5
Joined: Wed Feb 02, 2005 9:56 pm
Location: Stamford

Postby Vladimir Kondratyev » Fri Feb 04, 2005 6:00 pm

Hi Nirmalya,

definitely something wrong with your Java installation. I've just check that profiler work perfectly even with JDK 1.3.0_x. Please try to reinstall Java VM (perhaps current installation lacks some DDLs).

java version "1.3.0_05"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.3.0_05)
Java HotSpot(TM) Client VM (build 1.3.0_05, mixed mode)

Regards,
Vladimir
Vladimir Kondratyev
 
Posts: 1519
Joined: Tue Aug 10, 2004 7:52 pm
Location: Düsseldorf, Germany

Postby Vladimir Kondratyev » Fri Feb 04, 2005 6:04 pm

I've read an article http://java.sun.com/j2se/1.4.2/docs/gui ... jvmpi.html

Do you use "-classic" JVM parameter? Please remove it and everything should be fine! :D
Vladimir Kondratyev
 
Posts: 1519
Joined: Tue Aug 10, 2004 7:52 pm
Location: Düsseldorf, Germany


Return to Java Profiler

Who is online

Users browsing this forum: Google [Bot] and 1 guest

cron

YourKit uses cookies and other tracking technologies to improve your browsing experience on our website, to show you personalized content and targeted ads, to analyze our website traffic, and to understand where our visitors are coming from.

By browsing our website, you consent to our use of cookies and other tracking technologies in accordance with the Privacy Policy.