Skip to content

Commit

Permalink
Enable verbose:gc only when 'leak' profile is disabled
Browse files Browse the repository at this point in the history
The leak profile generates a lot of garbage which makes the verbose:gc
output too large.
  • Loading branch information
trustin committed Jun 27, 2014
1 parent 2c0ecd9 commit 520479d
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -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>
Expand Down

0 comments on commit 520479d

Please sign in to comment.