Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Test and Performance Tools Platform (TPTP) » TPTP Profiling in Ganymede - only one option to profile?
TPTP Profiling in Ganymede - only one option to profile? [message #132334] Wed, 09 July 2008 04:38 Go to next message
Eclipse User
Originally posted by: gennady.backflipsoftware.com

Hello,

I am trying to start using TPTP profiler in Ganymede.
For some reason in Java Profiling configuration I am able to select only one
option whether:
Execution Time Analysis, Memory Analysis or Thread Analysis (but not
combination of them). In spite of there are checkboxes there, the behaviour
is of radio button.

Do I miss something?

Thanks,
Gennady
Re: TPTP Profiling in Ganymede - only one option to profile? [message #132374 is a reply to message #132334] Wed, 09 July 2008 10:38 Go to previous messageGo to next message
Eugene Chan is currently offline Eugene Chan
Messages: 287
Registered: July 2009
Senior Member
Hi Gennady,

JVMTI profiler shipped in Ganymede release allows only one selection of
Analysis Type per profiling session. This is different from the JVMPI
profiler in previous release that supports multiple selection of Analysis
Type. If you would like to use JVMPI profiler for multiple selection of
Analysis Type. You can configure the IAC (under Windows > Preference >
Integrated Agent Controller) to a JVM 1.4 in order to enable the JVMPI. The
default is JVM 1.5 and JVMTI profiler. If you do not want to change the JVM
setting of your workbench, you can try setup a standalone Agent Controller
with JVM 1.4 and profile with the standalone agent controller instead.

Eugene

"Gennady Shumakher" <gennady@backflipsoftware.com> wrote in message
news:g51tev$a23$1@build.eclipse.org...
> Hello,
>
> I am trying to start using TPTP profiler in Ganymede.
> For some reason in Java Profiling configuration I am able to select only
> one option whether:
> Execution Time Analysis, Memory Analysis or Thread Analysis (but not
> combination of them). In spite of there are checkboxes there, the
> behaviour is of radio button.
>
> Do I miss something?
>
> Thanks,
> Gennady
>
>
>
>
Re: TPTP Profiling in Ganymede - only one option to profile? [message #132477 is a reply to message #132374] Thu, 10 July 2008 15:22 Go to previous messageGo to next message
Eclipse User
Originally posted by: gennady.backflipsoftware.com

Eugene,
thank you for clarification.

Our product is supposed to run with jvm 1.6, so I assume we have to profile
with JVMTI.
I did some general reading and it looks as JVMTI is a superset of JVMPI.
I wonder whether there are essential issues with providing an ability for
multiple Analysis Types in one profiling session (since it is definitely
more convenient)?

Gennady

"Eugene Chan" <ewchan@ca.ibm.com> wrote in message
news:g52iif$fcl$1@build.eclipse.org...
> Hi Gennady,
>
> JVMTI profiler shipped in Ganymede release allows only one selection of
> Analysis Type per profiling session. This is different from the JVMPI
> profiler in previous release that supports multiple selection of Analysis
> Type. If you would like to use JVMPI profiler for multiple selection of
> Analysis Type. You can configure the IAC (under Windows > Preference >
> Integrated Agent Controller) to a JVM 1.4 in order to enable the JVMPI.
> The default is JVM 1.5 and JVMTI profiler. If you do not want to change
> the JVM setting of your workbench, you can try setup a standalone Agent
> Controller with JVM 1.4 and profile with the standalone agent controller
> instead.
>
> Eugene
>
> "Gennady Shumakher" <gennady@backflipsoftware.com> wrote in message
> news:g51tev$a23$1@build.eclipse.org...
>> Hello,
>>
>> I am trying to start using TPTP profiler in Ganymede.
>> For some reason in Java Profiling configuration I am able to select only
>> one option whether:
>> Execution Time Analysis, Memory Analysis or Thread Analysis (but not
>> combination of them). In spite of there are checkboxes there, the
>> behaviour is of radio button.
>>
>> Do I miss something?
>>
>> Thanks,
>> Gennady
>>
>>
>>
>>
>
>
Re: TPTP Profiling in Ganymede - only one option to profile? [message #132546 is a reply to message #132477] Fri, 11 July 2008 10:26 Go to previous messageGo to next message
Eugene Chan is currently offline Eugene Chan
Messages: 287
Registered: July 2009
Senior Member
Hi Gennady,

There is a enhancement 167355 opened for supporting multiple analysis types.
Please feel free to add yourself to the bugzilla entry to monitor the
feature and provide feedback.

Eugene


"Gennady Shumakher" <gennady@backflipsoftware.com> wrote in message
news:g55nvb$895$1@build.eclipse.org...
> Eugene,
> thank you for clarification.
>
> Our product is supposed to run with jvm 1.6, so I assume we have to
> profile with JVMTI.
> I did some general reading and it looks as JVMTI is a superset of JVMPI.
> I wonder whether there are essential issues with providing an ability for
> multiple Analysis Types in one profiling session (since it is definitely
> more convenient)?
>
> Gennady
>
> "Eugene Chan" <ewchan@ca.ibm.com> wrote in message
> news:g52iif$fcl$1@build.eclipse.org...
>> Hi Gennady,
>>
>> JVMTI profiler shipped in Ganymede release allows only one selection of
>> Analysis Type per profiling session. This is different from the JVMPI
>> profiler in previous release that supports multiple selection of Analysis
>> Type. If you would like to use JVMPI profiler for multiple selection of
>> Analysis Type. You can configure the IAC (under Windows > Preference >
>> Integrated Agent Controller) to a JVM 1.4 in order to enable the JVMPI.
>> The default is JVM 1.5 and JVMTI profiler. If you do not want to change
>> the JVM setting of your workbench, you can try setup a standalone Agent
>> Controller with JVM 1.4 and profile with the standalone agent controller
>> instead.
>>
>> Eugene
>>
>> "Gennady Shumakher" <gennady@backflipsoftware.com> wrote in message
>> news:g51tev$a23$1@build.eclipse.org...
>>> Hello,
>>>
>>> I am trying to start using TPTP profiler in Ganymede.
>>> For some reason in Java Profiling configuration I am able to select only
>>> one option whether:
>>> Execution Time Analysis, Memory Analysis or Thread Analysis (but not
>>> combination of them). In spite of there are checkboxes there, the
>>> behaviour is of radio button.
>>>
>>> Do I miss something?
>>>
>>> Thanks,
>>> Gennady
>>>
>>>
>>>
>>>
>>
>>
Re: TPTP Profiling in Ganymede - only one option to profile? [message #132624 is a reply to message #132477] Mon, 14 July 2008 03:33 Go to previous message
Asaf Yaffe is currently offline Asaf Yaffe
Messages: 333
Registered: July 2009
Senior Member
Gennady Shumakher wrote:
> Eugene,
> thank you for clarification.
>
> Our product is supposed to run with jvm 1.6, so I assume we have to
> profile with JVMTI.
> I did some general reading and it looks as JVMTI is a superset of JVMPI.
> I wonder whether there are essential issues with providing an ability
> for multiple Analysis Types in one profiling session (since it is
> definitely more convenient)?
>
> Gennady
>

JVMTI is not a superset of JVMPI, but a completely different interface.
JVMTI was designed to merge the "experimental" JVMPI and
debugger-specific JVMDI into a single unified interface for tool writers
(profilers and debuggers). JVMPI support was indeed dropped in Java 1.6,
so users of this platform has no option other than using JVMTI.

Providing multiple analysis types in JVMTI is possible but is more
complicated and requires some extra work and resources.

Regards,
Asaf

--
Asaf Yaffe
Eclipse TPTP Committer, JVMTI Profiler
Previous Topic:Porting the current head to zos.
Next Topic:profile only parts of application
Goto Forum:
  


Current Time: Fri Aug 29 04:05:40 EDT 2014

Powered by FUDForum. Page generated in 0.01644 seconds