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

JVMTI error err=112(JVMTI_ERROR_WRONG_PHASE) in Sampling.cpp

Moderators: Vladimir Kondratyev, Anton Katilin

JVMTI error err=112(JVMTI_ERROR_WRONG_PHASE) in Sampling.cpp

Postby dimitri » Mon Mar 21, 2005 8:18 pm

Hello, thank you for the tool.

I use the YourKit Java with eclipse under SUN JRE 1.5.0_01,
OS Windows ME

The profiling is activated by the program start
(startup with CPU sampling),

the snapshot has to be saved after the end of the program execution
(Capture CPU snapshot on exit).

I get an error message in the eclipse console window.
What could it mean? Should I simply ignore it?

------------- Error Message--------

[YourKit Java Profiler 4.0.1] CPU snapshot is saved to C:\Dimitri\JavaPro\Profiling\shutdown.cpu
ERROR: JVMTI error err=112(JVMTI_ERROR_WRONG_PHASE) in Sampling.cpp:38
Picked up JAVA_TOOL_OPTIONS: -agentlib:yjpagent=sampling,onexit=cpu,dir=YJPQUOTED433a5c44696d697472695c4a61766150726f5c50726f66696c696e67,sessionname=YJPQUOTED467265654d696e645f696e746567726174696f6e20286c61756e636865642066726f6d2045636c6970736529

----------End Error Message--------
Posts: 5
Joined: Mon Mar 21, 2005 8:09 pm

Postby Vladimir Kondratyev » Tue Mar 22, 2005 8:03 pm

Is this crash reproducible in your environment? It would be really helpful if you provide us small Java sample which allow to isolate the problem.

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

Postby Anton Katilin » Wed Mar 23, 2005 5:07 pm

Thanks again for the report.

The bug is fixed. Please download the latest available build at http://www.yourkit.com/download (YourKit Java Profiler 4.0.3)

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

Return to Java Profiler

Who is online

Users browsing this forum: No registered users and 1 guest

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.