Enable verbose:gc only when 'leak' profile is disabled

The leak profile generates a lot of garbage which makes the verbose:gc
output too large.
This commit is contained in:
Trustin Lee 2014-06-27 17:09:18 +09:00
parent 7b2d2e22ba
commit 4f82b6e393

View File

@ -324,11 +324,10 @@
-XX:+UseFastAccessorMethods
-XX:+OptimizeStringConcat
-XX:+HeapDumpOnOutOfMemoryError
-verbose:gc
</argLine.common>
<argLine.bootcp>-Xbootclasspath/p:${jetty.npn.path}</argLine.bootcp>
<argLine.leak>-D_</argLine.leak> <!-- Set when 'leak' profile is active -->
<argLine.coverage>-D_</argLine.coverage> <!-- Set when 'coverage' profile is active -->
<argLine.leak>-verbose:gc</argLine.leak> <!-- Overridden when 'leak' profile is active -->
<argLine.coverage>-D_</argLine.coverage> <!-- Overridden when 'coverage' profile is active -->
</properties>
<modules>