|Re: STACK_INFORMATION option info needed [message #108625 is a reply to message #107611]
||Sun, 12 August 2007 13:41
| Asaf Yaffe
Registered: July 2009
> 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 22.214.171.124 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:
> 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.
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
Eclipse TPTP Committer, JVMTI Profiler
Powered by FUDForum
. Page generated in 0.01804 seconds