[jboss-as7-dev] JVM settings

Brian Stansberry brian.stansberry at redhat.com
Tue Jun 14 22:03:57 EDT 2011


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/resources/schema/jboss_7_0.xsd#L1435

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 at c2b2.co.uk <mailto:smillidge at c2b2.co.uk>
>
> Twitter: @mbrasier, at 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 at lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/jboss-as7-dev


-- 
Brian Stansberry
Principal Software Engineer
JBoss by Red Hat


More information about the jboss-as7-dev mailing list