This discussion is archived
4 Replies Latest reply: Jan 24, 2010 4:14 PM by 807557 RSS

Profiling RTJ

807557 Newbie
Currently Being Moderated
Hi,
I'm trying to do some performance analysis on a simple application which is running on the Sun RTJ platform.
Could you tell me what tools i should use and how should i configure them.
I've tried using the jconsole , but it fails(dose't connect to the vm).
I've got some thing working using visualvm and the profiler form netbeans.
I'm running these on Solaris 10 win RTJ 2.1
Thanks
  • 1. Re: Profiling RTJ
    807557 Newbie
    Currently Being Moderated
    Hi,

    First, note that jconsole should work. Since JavaRTS is based on a 1.5 version of the JVM, you have to specify a few command line options when you start the JVM (mainly to specify the port and the security protocol). Please check the jconsole documentations.

    As for the tools, it depends on what you want to do. It looks like you are looking for profiling tools. Since you are running on Solaris, you should look at TSV, the Thread Scheduling Visualizer, which can be downloaded with JavaRTS. This is a specific tool we developed for analysis of real-time applications and which does not disrupt the real-timeness of the application. Other profiling approaches are too disruptive and are not supported in JavaRTS.

    TSV is based on DTrace instrumentation. We have added and documented a few Dtrace probes in JavaRTS. They are used by TSV but you can also develop your own DTrace script if you want to profile/instrument exactly what you want in a very efficient way.

    Regards,

    Bertrand DELSART

    Edited by: Bertrand.Delsart on Jan 20, 2010 5:37 AM
  • 2. Re: Profiling RTJ
    807557 Newbie
    Currently Being Moderated
    Also make sure you check out our "T3" guide:

    http://java.sun.com/javase/technologies/realtime/reference/doc_2.1/release/JavaRTS-T3.html

    David Holmes
  • 3. Re: Profiling RTJ
    807557 Newbie
    Currently Being Moderated
    Where could one dowload the TSV ? or is it integrated with the RTJ package ?
  • 4. Re: Profiling RTJ
    807557 Newbie
    Currently Being Moderated
    My bad, didn't read carefully the docs; it's available at the download page , only for the solaris distribution