[jboss-jira] [JBoss JIRA] Commented: (JBAS-7248) Make classloader leak test Hudson job use JBoss Profiler JVMTI
Brian Stansberry (JIRA)
jira-events at lists.jboss.org
Tue Oct 20 11:56:05 EDT 2009
[ https://jira.jboss.org/jira/browse/JBAS-7248?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12490564#action_12490564 ]
Brian Stansberry commented on JBAS-7248:
----------------------------------------
I've added a simple hook to testsuite/imports/server-config.xml to make it easier to run the tests with JBoss Profiler from hudson (or the command line anywhere). Basically the value of property jboss.profiler.cmdline gets passed as a jvm argument to server classloader-leak and, for the clustered tests, classloader-leak-0. So:
./build.sh -Djboss.profiler.cmdline="-agentlib:jbossAgent" tests-all-classloader-leak
or, perhaps, on a 64-bit jvm:
./build.sh -Djboss.profiler.cmdline="-agentlib:jbossAgent -d64" tests-all-classloader-leak
The default value of the property is "".
This just deals with passing the necessary command arguments to java for the servers. The other aspects of using JBP discussed at http://www.jboss.org/community/docs/DOC-9294 still need to be handled.
> Make classloader leak test Hudson job use JBoss Profiler JVMTI
> --------------------------------------------------------------
>
> Key: JBAS-7248
> URL: https://jira.jboss.org/jira/browse/JBAS-7248
> Project: JBoss Application Server
> Issue Type: Sub-task
> Security Level: Public(Everyone can see)
> Components: Test Suite
> Reporter: Brian Stansberry
> Assignee: Shelly McGowan
> Fix For: JBossAS-6.0.0.Alpha1
>
>
> After parent task is done, a subsequent improvement will be to pin the Hudson job to a particular server that has the native libraries needed for JBoss Profiler/JVMTI. Then run the jobs with JBoss Profiler. This will make the runs much more predicable, stable and useful.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the jboss-jira
mailing list