Revision: 22475
Author: [email protected]
Date: Fri Jul 18 12:00:11 2014 UTC
Log: Wait for sweeper threads when verifying the heap.
BUG=
[email protected]
Review URL: https://codereview.chromium.org/396793005
http://code.google.com/p/v8/source/detail?r=22475
Modified:
/branches/bleeding_edge/src/heap.cc
=======================================
--- /branches/bleeding_edge/src/heap.cc Fri Jul 18 11:04:20 2014 UTC
+++ /branches/bleeding_edge/src/heap.cc Fri Jul 18 12:00:11 2014 UTC
@@ -4524,6 +4524,11 @@
store_buffer()->Verify();
+ if (mark_compact_collector()->sweeping_in_progress()) {
+ // We have to wait here for the sweeper threads to have an iterable
heap.
+ mark_compact_collector()->EnsureSweepingCompleted();
+ }
+
VerifyPointersVisitor visitor;
IterateRoots(&visitor, VISIT_ONLY_STRONG);
--
--
v8-dev mailing list
[email protected]
http://groups.google.com/group/v8-dev
---
You received this message because you are subscribed to the Google Groups "v8-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/d/optout.