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

Unified Diff: runtime/vm/heap.h

Issue 2980033002: Moves the top_ and end_ words of the Scavenger into mutator thread. (Closed)
Patch Set: Created 3 years, 5 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/dart.cc ('k') | runtime/vm/heap.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/vm/heap.h
diff --git a/runtime/vm/heap.h b/runtime/vm/heap.h
index 4fff18f22d4b8f90dbecb415e62fe8a324d40f98..2acc2b188b602ca2a5f7e4760ff937d4beae3e5d 100644
--- a/runtime/vm/heap.h
+++ b/runtime/vm/heap.h
@@ -135,10 +135,6 @@ class Heap {
old_space_.WriteProtectCode(read_only);
}
- // Accessors for inlined allocation in generated code.
- static intptr_t TopOffset(Space space);
- static intptr_t EndOffset(Space space);
-
// Initialize the heap and register it with the isolate.
static void Init(Isolate* isolate,
intptr_t max_new_gen_words,
@@ -342,7 +338,7 @@ class Heap {
Isolate* isolate_;
// The different spaces used for allocation.
- ALIGN8 Scavenger new_space_;
+ Scavenger new_space_;
PageSpace old_space_;
WeakTable* new_weak_tables_[kNumWeakSelectors];
« no previous file with comments | « runtime/vm/dart.cc ('k') | runtime/vm/heap.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698