Reviewers: Vyacheslav Egorov,

Description:
NewGC: Clear scan-on-scavenge flag from pages that
don't need it any more.

Please review this at http://codereview.chromium.org/7247003/

SVN Base: http://v8.googlecode.com/svn/branches/experimental/gc/

Affected files:
  M     src/store-buffer.cc


Index: src/store-buffer.cc
===================================================================
--- src/store-buffer.cc (revision 8396)
+++ src/store-buffer.cc (working copy)
@@ -608,6 +608,7 @@
     MemoryChunk* chunk;
     while ((chunk = it.next()) != NULL) {
       if (chunk->scan_on_scavenge()) {
+        chunk->set_scan_on_scavenge(false);
         if (callback_ != NULL) {
           (*callback_)(heap_, chunk, kStoreBufferScanningPageEvent);
         }


--
v8-dev mailing list
[email protected]
http://groups.google.com/group/v8-dev

Reply via email to