commit | 97441948d054d0172df94027e85de725022eaf7d | [log] [tgz] |
---|---|---|
author | Shih-wei Liao <sliao@google.com> | Tue Apr 17 17:28:36 2012 -0700 |
committer | Shih-wei Liao <sliao@google.com> | Tue Apr 17 17:28:36 2012 -0700 |
tree | a6456a171f9d020a1883b4e9bbb4f0876059e39b | |
parent | 4ac8659ddaccb78a0a0a58d1e8595dd813f995c6 [diff] |
Fix materialization threshold too-large problem, assuming no long calls. Change-Id: I6a7a99c366f336655c26bb39665a5d26e573374f
diff --git a/src/compiler_llvm/compilation_unit.h b/src/compiler_llvm/compilation_unit.h index 18ecfa0..953f4f4 100644 --- a/src/compiler_llvm/compilation_unit.h +++ b/src/compiler_llvm/compilation_unit.h
@@ -95,7 +95,7 @@ } bool IsMaterializeThresholdReached() const { - return (mem_usage_ > 300000000u); // (threshold: 300 MB) + return (mem_usage_ > 100000000u); // (threshold: 100 MB) } void AddMemUsageApproximation(size_t usage) {