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.

[EAP #514] Cosmetics: Running more than one instance of YJP

Moderators: Vladimir Kondratyev, Anton Katilin

[EAP #514] Cosmetics: Running more than one instance of YJP

Postby RangerRob » Wed Jan 26, 2005 10:21 am

In IDEA 4.5 when you click on the "Launch YourKit Java Profile UI" option on my icons bar I would only expect it to ever open up one instance of YourKit unless I specifically said otherwise. Here's how I see the functionality should be:

1. User clicks on "Launch YourKit Java Profile UI" icon.
2. Background task checks to see if YouKit UI is already running.
3. If UI is already running it asks the user if they are meaning to load another instance (if not it will simply start YourKit UI as is does now).
4. If the user selects "No" then instead of loading a new instance of YourKit UI it will simply transfer focus to the existing running instance.

I think this would make the whole integration of YourKit more in-keeping with IDEA and more user friendly overall.
Posts: 64
Joined: Wed Oct 06, 2004 7:56 am
Location: United States

Postby Vladimir Kondratyev » Fri Jan 28, 2005 2:48 pm

Thank you for suggestion. It's exactly we want to implement in the next version. I see that almost all Java developers earlier or later solve task to make singleton Java application. And there are plenty of tricks how to determine that the application is already running (embedded RMI server, lock file, "taking" some file, use shared port, etc).

I wish to have such feature be a part of JDK :)
Vladimir Kondratyev
Posts: 1519
Joined: Tue Aug 10, 2004 7:52 pm
Location: Düsseldorf, Germany

Postby RangerRob » Sat Jan 29, 2005 12:51 am

No problem. To be honest I'm also a little befuddled as to why singleton Java apps aren't already standard within the JRE, I guess it has to do with priorities etc but it's such a common user requirement it would make sense for it to form part of the core runtime.
Posts: 64
Joined: Wed Oct 06, 2004 7:56 am
Location: United States

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.