Yes, in the jvm element you can add arbitrary options that will be
passed to the jvm.
<jvm name="default">
<heap size="64m" max-size="128m"/>
<jvm-options>
<jvm-option value="–XX:+UseCompressedOOPs"/>
</jvm-options>
</jvm>
See also
https://github.com/jbossas/jboss-as/blob/master/controller/src/main/resou...
On 6/14/11 8:23 AM, Matt Brasier wrote:
Is there a way to set arbritrary settings to be passed to the server
JVM
in domain mode?
For example –XX:+UseCompressedOOPs
Matt
Matt Brasier
Head of Consulting
C2B2
*Providing the foundations for Enterprise Scale Java.*
T: 08450 539457
M: 07920 100625
W:
www.c2b2.co.uk <
http://www.c2b2.co.uk/>
E: mbrasier(a)c2b2.co.uk <mailto:smillidge@c2b2.co.uk>
Twitter: @mbrasier,@c2b2consulting
C2B2 Consulting Limited
Unit 33, Malvern Hills Science Park
Geraldine Road
Malvern
Worcestershire
WR14 3SZ
Registered in England and Wales: 4563419
Registered Office: Ardendale, Old Hollow, Malvern, Worcestershire
_______________________________________________
jboss-as7-dev mailing list
jboss-as7-dev(a)lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-as7-dev
--
Brian Stansberry
Principal Software Engineer
JBoss by Red Hat