Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(3332)

Unified Diff: runtime/vm/gc_sweeper.cc

Issue 2949803002: New growth strategy for growable arrays (Closed)
Patch Set: Branch-free grow size computation. Renamed function names to be clearer. Created 3 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « runtime/vm/exceptions.cc ('k') | runtime/vm/method_recognizer.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/vm/gc_sweeper.cc
diff --git a/runtime/vm/gc_sweeper.cc b/runtime/vm/gc_sweeper.cc
index 738e1b874ef60dde75cc2db6145a31158b222da0..2860292406e1481c093d37c17ecd086b1fc7d838 100644
--- a/runtime/vm/gc_sweeper.cc
+++ b/runtime/vm/gc_sweeper.cc
@@ -81,8 +81,8 @@ intptr_t GCSweeper::SweepLargePage(HeapPage* page) {
words_to_end = (raw_obj->Size() >> kWordSizeLog2);
}
#ifdef DEBUG
- // String::MakeExternal and Array::MakeArray create trailing filler objects,
- // but they are always unreachable. Verify that they are not marked.
+ // String::MakeExternal and Array::MakeFixedLength create trailing filler
+ // objects, but they are always unreachable. Verify that they are not marked.
uword current = RawObject::ToAddr(raw_obj) + raw_obj->Size();
uword end = page->object_end();
while (current < end) {
« no previous file with comments | « runtime/vm/exceptions.cc ('k') | runtime/vm/method_recognizer.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698