-
What I want to do is run the profiler for a series of repeated tests.
Between each iteration of the test the profiler should stop, set a unique file name and generate the output file using .shutdown().
for ( .....){
Profile.clear();
Profile.start();
testBody();
Profile.stop();
Profile.setFileName("logs/testIteration-"+i+".xml");...
2009-11-25 09:14:20 UTC by whitingjr
-
JAVA_OPTS is an environment which can set in your .bashrc file, from the command line or in Tomcat's startup.sh. The basic format for this is:
export JAVA_OPTS=foo
Andrew.
2009-07-21 08:11:45 UTC by andrewbwilcox
-
Per the instructions for setting JAVA_OPTS -- do you know which file you do this in for Tomcat running on a Unix box? /provide more detailed instructions on how to do this?
Thanks.
2009-07-20 23:21:31 UTC by myronschabe
-
Hi,
I'm sorry for not posting sooner. For some reason, SourceForge didn't sent me a notification that a forum post had been made.
Make sure that the profile.jar file is NOT in any classpath (i.e., application classpath, extensions classpath or bootstrap classpath). The JVM will load the profile.jar directly based on the -javavagent JVM parameter.
If, for example, profile.jar is in the...
2009-07-17 15:29:38 UTC by andrewbwilcox
-
Hi,
I am using Jrun. I have enabled the debug flag in the properties file and I can see that certain classes are being instrumented (see attached output). I have attached a debugger and I can see that Controller._instrumentCount is not 0. But I am still getting the message that no classes are instrumented.
Can you please help me to identify the problem. Thanks.
INST <classname>...
2009-07-13 23:01:45 UTC by roubik