Stylistic and aesthetic changes.
Test: art/test.py
Change-Id: Ic41aa80430d16af748994c80f049c5b479fd9980
diff --git a/runtime/gc/heap.cc b/runtime/gc/heap.cc
index f22d025..d8d215b 100644
--- a/runtime/gc/heap.cc
+++ b/runtime/gc/heap.cc
@@ -1899,10 +1899,10 @@
MutexLock mu(self, *gc_complete_lock_);
// Ensure there is only one GC at a time.
WaitForGcToCompleteLocked(kGcCauseHomogeneousSpaceCompact, self);
- // Homogeneous space compaction is a copying transition, can't run it if the moving GC disable count
- // is non zero.
- // If the collector type changed to something which doesn't benefit from homogeneous space compaction,
- // exit.
+ // Homogeneous space compaction is a copying transition, can't run it if the moving GC disable
+ // count is non zero.
+ // If the collector type changed to something which doesn't benefit from homogeneous space
+ // compaction, exit.
if (disable_moving_gc_count_ != 0 || IsMovingGc(collector_type_) ||
!main_space_->CanMoveObjects()) {
return kErrorReject;
@@ -3445,8 +3445,8 @@
TraceHeapSize(bytes_allocated);
uint64_t target_size;
collector::GcType gc_type = collector_ran->GetGcType();
- const double multiplier = HeapGrowthMultiplier(); // Use the multiplier to grow more for
- // foreground.
+ // Use the multiplier to grow more for foreground.
+ const double multiplier = HeapGrowthMultiplier();
const uint64_t adjusted_min_free = static_cast<uint64_t>(min_free_ * multiplier);
const uint64_t adjusted_max_free = static_cast<uint64_t>(max_free_ * multiplier);
if (gc_type != collector::kGcTypeSticky) {