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

Unified Diff: runtime/vm/heap.cc

Issue 2951333002: Moves the top_ and end_ words of the Scavenger into mutator thread. (Closed)
Patch Set: 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
Index: runtime/vm/heap.cc
diff --git a/runtime/vm/heap.cc b/runtime/vm/heap.cc
index 4998b881cfdc1c4876e1cbf79b991a4853aaa9c1..303ae756abb392c2df67f3f6a5a9b70ea7c04580 100644
--- a/runtime/vm/heap.cc
+++ b/runtime/vm/heap.cc
@@ -499,16 +499,6 @@ intptr_t Heap::TopOffset(Heap::Space space) {
}
-intptr_t Heap::EndOffset(Heap::Space space) {
- if (space == kNew) {
- return OFFSET_OF(Heap, new_space_) + Scavenger::end_offset();
- } else {
- ASSERT(space == kOld);
- return OFFSET_OF(Heap, old_space_) + PageSpace::end_offset();
- }
-}
-
-
void Heap::Init(Isolate* isolate,
intptr_t max_new_gen_words,
intptr_t max_old_gen_words,

Powered by Google App Engine
This is Rietveld 408576698