diff options
Diffstat (limited to 'runtime/gc/heap.h')
| -rw-r--r-- | runtime/gc/heap.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/runtime/gc/heap.h b/runtime/gc/heap.h index bb0d11a1d7..be8ed40e89 100644 --- a/runtime/gc/heap.h +++ b/runtime/gc/heap.h @@ -132,7 +132,8 @@ class Heap { static constexpr double kDefaultTargetUtilization = 0.5; static constexpr double kDefaultHeapGrowthMultiplier = 2.0; // Primitive arrays larger than this size are put in the large object space. - static constexpr size_t kDefaultLargeObjectThreshold = 3 * kPageSize; + static constexpr size_t kMinLargeObjectThreshold = 3 * kPageSize; + static constexpr size_t kDefaultLargeObjectThreshold = kMinLargeObjectThreshold; // Whether or not parallel GC is enabled. If not, then we never create the thread pool. static constexpr bool kDefaultEnableParallelGC = false; |