diff options
author | Mathieu Chartier <mathieuc@google.com> | 2014-03-31 16:11:41 -0700 |
---|---|---|
committer | Mathieu Chartier <mathieuc@google.com> | 2014-03-31 16:28:09 -0700 |
commit | 05a48b1f8e62564abb7c2fe674e3234d5861647f (patch) | |
tree | 6ffa24272e2d9efdf1dca8b30774925041e43c8a /runtime/gc | |
parent | cfd5acf281b0c509f86b13d73c6a8dfa3ea9922c (diff) | |
download | art-05a48b1f8e62564abb7c2fe674e3234d5861647f.zip art-05a48b1f8e62564abb7c2fe674e3234d5861647f.tar.gz art-05a48b1f8e62564abb7c2fe674e3234d5861647f.tar.bz2 |
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
Diffstat (limited to 'runtime/gc')
-rw-r--r-- | runtime/gc/collector/garbage_collector.h | 2 |
1 files changed, 1 insertions, 1 deletions
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. |