Revision: 11395
Author:   [email protected]
Date:     Fri Apr 20 02:37:06 2012
Log:      Flush PC-to-code cache before doing verification.

Review URL: https://chromiumcodereview.appspot.com/10144002
http://code.google.com/p/v8/source/detail?r=11395

Modified:
 /branches/bleeding_edge/src/mark-compact.cc

=======================================
--- /branches/bleeding_edge/src/mark-compact.cc Thu Apr 19 03:32:38 2012
+++ /branches/bleeding_edge/src/mark-compact.cc Fri Apr 20 02:37:06 2012
@@ -296,8 +296,6 @@

   if (!collect_maps_) ReattachInitialMaps();

-  heap_->isolate()->inner_pointer_to_code_cache()->Flush();
-
   Finish();

   tracer_ = NULL;
@@ -3423,6 +3421,8 @@
   // under it.
   ProcessInvalidatedCode(&updating_visitor);

+  heap_->isolate()->inner_pointer_to_code_cache()->Flush();
+
 #ifdef DEBUG
   if (FLAG_verify_heap) {
     VerifyEvacuation(heap_);

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

Reply via email to