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.

UnsatisfiedLinkError on using API from javabuilder.jar

Moderators: Vladimir Kondratyev, Anton Katilin

UnsatisfiedLinkError on using API from javabuilder.jar

Postby vallabh.anwikar » Mon Apr 18, 2016 12:27 pm

Hi All,

I am trying to use YourKit for profiling my code which uses data structures form javabuilder.jar which is given by Matlab. Its used for java and matlab integration. I am getting following error during profiling error. How can we specify such libraries ?
Can we bypass such code which can't be handled by Profiler treat it like black box ? meaning not instrumenting such code at all and just measure timing properties of such functions ?

java.lang.UnsatisfiedLinkError: while attempting to locate symbol Java_com_mathworks_toolbox_javabuilder_internal_MWMCR_$$YJP$$mclAddCanonicalPathMacro: /usr/local/MATLAB/MATLAB_Compiler_Runtime/v717/bin/glnxa64/libnativemcl.so: undefined symbol: Java_com_mathworks_toolbox_javabuilder_internal_MWMCR_$$YJP$$mclAddCanonicalPathMacro
com.mathworks.toolbox.javabuilder.internal.DynamicLibraryUtils.$$YJP$$dlsym(Native Method)

Thanks and Regards,
Posts: 1
Joined: Mon Apr 18, 2016 12:01 pm

Re: UnsatisfiedLinkError on using API from javabuilder.jar

Postby Anton Katilin » Tue Apr 19, 2016 8:01 am

Hi Vallabh

Perhaps Matlab uses a class loader that does not correctly work with instrumented native methods.

Please specify the agent startup option "disablenatives".
How to do this: https://www.yourkit.com/docs/java/help/ ... ptions.jsp

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

Return to Java Profiler

Who is online

Users browsing this forum: Google [Bot] 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.