Merge "Change 099-vmdebug test to use File.createTempFile." into lmp-dev
diff --git a/runtime/gc/heap.h b/runtime/gc/heap.h
index d3d613f..7304887 100644
--- a/runtime/gc/heap.h
+++ b/runtime/gc/heap.h
@@ -129,8 +129,12 @@
   // If true, measure the total allocation time.
   static constexpr bool kMeasureAllocationTime = false;
   // Primitive arrays larger than this size are put in the large object space.
+#ifdef __LP64__
+  // Temporarily disable LOS on 64 bit until MAP_32BIT performance issues are fixed. b/17414549
+  static constexpr size_t kDefaultLargeObjectThreshold = 0xFFFFFFFFU;
+#else
   static constexpr size_t kDefaultLargeObjectThreshold = 3 * kPageSize;
-
+#endif
   static constexpr size_t kDefaultStartingSize = kPageSize;
   static constexpr size_t kDefaultInitialSize = 2 * MB;
   static constexpr size_t kDefaultMaximumSize = 256 * MB;