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.

3.2 and 4.0 compatibility?

Moderators: Vladimir Kondratyev, Anton Katilin

3.2 and 4.0 compatibility?

Postby smartin » Thu Jan 27, 2005 8:09 pm

A snapshot was created running Linux in a VM on windows laptop using yourkit 3.2. I tried to load it using 4.0 build 516 on a powerbook OS X 10.3.7. The gui error I got was "not a valid snapshot file" Are 3.2 and 4.0 compatible? Any ideas about this problem?

% ./yjp.sh
----------
assertion failed
java.lang.Throwable
at com.yourkit.g.c.a(a:96)
at com.yourkit.c.b.a.a.<init>(a:6)
at com.yourkit.c.r.a(a:59)
at com.yourkit.c.r.char(a:55)
at com.yourkit.c.b.a.e.<init>(a:26)
at com.yourkit.c.b.a.f.try(a:750)
at com.yourkit.c.b.a.f.<init>(a:780)
at com.yourkit.c.b.c.<init>(a:142)
at com.yourkit.c.n.a(a:194)
at com.yourkit.e.y$1.a(a:7)
at com.yourkit.ui.d$b.run(a:17)
----------
smartin
 
Posts: 1
Joined: Thu Jan 27, 2005 7:27 pm

Postby Anton Katilin » Fri Jan 28, 2005 1:55 pm

Snapshots from versions 3.2 and 4.0 are not compatible. To be able to support new features such as Java 5.0 JVMTI support or wall and thread times in CPU snapshots, we have dramatically changed format of snapshot files.

The message you found in console is an internal debug message, not an error, and normally should be printed to log only. It will be corrected in the next build.
Anton Katilin
 
Posts: 5966
Joined: Wed Aug 11, 2004 8:37 am

Postby Anton Katilin » Fri Jan 28, 2005 2:54 pm

... And the message will clearly say that snapshot is of an old unsupported format, instead of saying that it is invalid.
Anton Katilin
 
Posts: 5966
Joined: Wed Aug 11, 2004 8:37 am


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.