Back out autogc fix to be optionally enabled.

Workaround for #1329
This commit is contained in:
Josh Suereth 2014-05-13 13:14:39 -04:00
parent d84f729b39
commit 664d83ed0f
1 changed files with 1 additions and 1 deletions

View File

@ -89,7 +89,7 @@ final object EvaluateTaskConfig {
// Returns the default force garbage collection flag, // Returns the default force garbage collection flag,
// as specified by system properties. // as specified by system properties.
private[sbt] def defaultForceGarbageCollection: Boolean = private[sbt] def defaultForceGarbageCollection: Boolean =
sys.props.get("sbt.task.forcegc").map(java.lang.Boolean.parseBoolean).getOrElse(true) sys.props.get("sbt.task.forcegc").map(java.lang.Boolean.parseBoolean).getOrElse(false)
/** Pulls in the old configuration format. */ /** Pulls in the old configuration format. */
def apply(old: EvaluateConfig): EvaluateTaskConfig = { def apply(old: EvaluateConfig): EvaluateTaskConfig = {
object AdaptedTaskConfig extends EvaluateTaskConfig { object AdaptedTaskConfig extends EvaluateTaskConfig {