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 2c0ecd9d44
commit 520479d43b
1 changed files with 2 additions and 3 deletions

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>