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

Thread Names

Moderators: Vladimir Kondratyev, Anton Katilin

Thread Names

Postby feal » Sat Jun 27, 2009 4:44 pm

A simple question...why the 4.*.* version of YourKit .NET profiler does not recognize all thread names while in the older 3.*.* (i tested it some months ago, i don't remember the exact number) it worked without problems?

The test app is the same as before (no change at all, it is just an example app to evaluate the software).
feal
 
Posts: 10
Joined: Wed Jun 24, 2009 4:38 pm

Re: Thread Names

Postby Vladimir Kondratyev » Tue Jun 30, 2009 6:35 pm

Please send us example application (executable is enough, but source code is better) which reproduces the problem.
Vladimir Kondratyev
 
Posts: 1444
Joined: Tue Aug 10, 2004 7:52 pm
Location: Düsseldorf, Germany

Re: Thread Names

Postby feal » Wed Jul 01, 2009 1:30 pm

Just use this code with any kind of ThreadBug function, it will report the "thd" Thread as unnamed in the CPU profiling results AND in the stack trace.

Code: Select all
           
Thread.CurrentThread.Name = "Mah";

Thread thd = new Thread(new ThreadStart(ThreadBug));
thd.Name = "boh";
thd.Start();


while it work if I change the name from inside the ThreadBug function. (in YourKit Profiler 3.x.x it worked on ALL cases as i remember)
feal
 
Posts: 10
Joined: Wed Jun 24, 2009 4:38 pm

Re: Thread Names

Postby Anton Katilin » Thu Jul 02, 2009 12:22 pm

Hello,

Thank you for the detail.

The problem will be fixed in upcoming build 4.0.4.

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


Return to .NET Profiler

Who is online

Users browsing this forum: No registered users and 2 guests

cron