From 05a48b1f8e62564abb7c2fe674e3234d5861647f Mon Sep 17 00:00:00 2001 From: Mathieu Chartier Date: Mon, 31 Mar 2014 16:11:41 -0700 Subject: Fix stack overflow slow path error. The frame size without spill was being passed into the slow path instead of the spill size. This was incorrect since only the spills will have been pushed at the point of the overflow check. Also addressed an other comment. Change-Id: Ic6e455122473a8f796b291d71f945bcf72788662 --- runtime/gc/collector/garbage_collector.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'runtime/gc') diff --git a/runtime/gc/collector/garbage_collector.h b/runtime/gc/collector/garbage_collector.h index ccfa9cf..5b7b8a2 100644 --- a/runtime/gc/collector/garbage_collector.h +++ b/runtime/gc/collector/garbage_collector.h @@ -128,7 +128,7 @@ class GarbageCollector { // Mark all reachable objects, done concurrently. virtual void MarkingPhase() = 0; - // Only called for concurrent GCs. + // Phase of the GC which is run with mutator lock exclusively held. virtual void PausePhase(); // Called with mutators running. -- cgit v1.1