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

Unified Diff: src/spaces.h

Issue 6824078: Move most of the incremental marking write barrier to generated code. (Closed) Base URL: http://v8.googlecode.com/svn/branches/experimental/gc/
Patch Set: '' Created 9 years, 8 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 | « src/serialize.cc ('k') | src/spaces.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/spaces.h
===================================================================
--- src/spaces.h (revision 7737)
+++ src/spaces.h (working copy)
@@ -340,7 +340,8 @@
}
bool scan_on_scavenge() { return scan_on_scavenge_; }
- void set_scan_on_scavenge(bool scan) { scan_on_scavenge_ = scan; }
+ void initialize_scan_on_scavenge(bool scan) { scan_on_scavenge_ = scan; }
+ inline void set_scan_on_scavenge(bool scan);
int store_buffer_counter() { return store_buffer_counter_; }
void set_store_buffer_counter(int counter) {
@@ -446,6 +447,9 @@
inline Heap* heap() { return heap_; }
+ static const int kFlagsOffset = kPointerSize * 3;
+ static const int kScanOnScavengeOffset = kPointerSize * 6;
+
protected:
MemoryChunk* next_chunk_;
MemoryChunk* prev_chunk_;
« no previous file with comments | « src/serialize.cc ('k') | src/spaces.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698