Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Test and Performance Tools Platform (TPTP) » STACK_INFORMATION option info needed
STACK_INFORMATION option info needed [message #107611] Tue, 07 August 2007 00:44 Go to next message
roman is currently offline roman
Messages: 7
Registered: July 2009
Junior Member
All,
I have been running in circles on this problem. I needed to profile my
server in the standalone mode and I only need to record profiling data in
between particular method calls. So I thought I would specify
STACK_INFORMATION=contiguous in my profile and that would do it.
Unfortunately when i start my server it says that this option is not
valid. Documentation states that this is the valid option but i cant
specify anything except "none" and "normal". Are the other options
supported? Is there another way to accomplish what I want to accomplish in
the standalone mode?
I have Agent Controller 4.4.0.1 installed.
Here is the command line that I am using:
-agentlib:JPIBootLoader=JPIAgent:server=standalone,filters=f ilters.txt,file=trace.trcxml,profile=options.pro;HeapProf:al locsites=true

I just add this line to my options.pro:
STACK_INFORMATION=contiguous

I even looked in Options.cpp in JPIAgent library and it seems like it
doesnt support any other option besides "none" and "normal"

I really could use any help.. I bet I am missing something obvious.

Thanks,
Roman
Re: STACK_INFORMATION option info needed [message #108625 is a reply to message #107611] Sun, 12 August 2007 13:41 Go to previous message
Asaf Yaffe is currently offline Asaf Yaffe
Messages: 333
Registered: July 2009
Senior Member
Roman wrote:
> All, I have been running in circles on this problem. I needed to profile
> my server in the standalone mode and I only need to record profiling
> data in between particular method calls. So I thought I would specify
> STACK_INFORMATION=contiguous in my profile and that would do it.
> Unfortunately when i start my server it says that this option is not
> valid. Documentation states that this is the valid option but i cant
> specify anything except "none" and "normal". Are the other options
> supported? Is there another way to accomplish what I want to accomplish
> in the standalone mode?
> I have Agent Controller 4.4.0.1 installed. Here is the command line that
> I am using:
> -agentlib:JPIBootLoader=JPIAgent:server=standalone,filters=f ilters.txt,file=trace.trcxml,profile=options.pro;HeapProf:al locsites=true
>
>
> I just add this line to my options.pro:
> STACK_INFORMATION=contiguous
>
> I even looked in Options.cpp in JPIAgent library and it seems like it
> doesnt support any other option besides "none" and "normal"
>
> I really could use any help.. I bet I am missing something obvious.
>
> Thanks,
> Roman
>

The profiling scenario you describe (recording profiling data in between
particular method calls) is not supported by the new Java 1.5+ profiler.
The STACK_INFORMATION option is also not supported (by-the-way, it
serves a different purpose).

If you have a Java 1.4.x or 1.5 JVM, you can use the "old" Java 1.5-
profiler to profile your application. The old profiler is launched with
a different command line: -XrunpiAgent:....

Please refer to the on line documentation for the exact command line
arguments.

HTH,
Asaf

--
Asaf Yaffe
Eclipse TPTP Committer, JVMTI Profiler
Previous Topic:TPTP 4.4 failure
Next Topic:Process Memory size grows fast even when profiler is in the pause mode
Goto Forum:
  


Current Time: Mon Sep 15 04:17:56 GMT 2014

Powered by FUDForum. Page generated in 0.02520 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software