Revision: 8398
Author:   [email protected]
Date:     Thu Jun 23 05:31:49 2011
Log:      NewGC: Clear scan-on-scavenge flag from pages that
don't need it any more.
Review URL: http://codereview.chromium.org/7247003
http://code.google.com/p/v8/source/detail?r=8398

Modified:
 /branches/experimental/gc/src/store-buffer.cc

=======================================
--- /branches/experimental/gc/src/store-buffer.cc       Tue Jun 21 08:27:34 2011
+++ /branches/experimental/gc/src/store-buffer.cc       Thu Jun 23 05:31:49 2011
@@ -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