Revision: 20026
Author: [email protected]
Date: Tue Mar 18 12:21:07 2014 UTC
Log: Fix race between VisitSmiRoots and SetStackLimit.
[email protected]
Review URL: https://codereview.chromium.org/198833006
http://code.google.com/p/v8/source/detail?r=20026
Modified:
/branches/bleeding_edge/src/heap.cc
=======================================
--- /branches/bleeding_edge/src/heap.cc Mon Mar 17 13:42:37 2014 UTC
+++ /branches/bleeding_edge/src/heap.cc Tue Mar 18 12:21:07 2014 UTC
@@ -6161,6 +6161,8 @@
void Heap::IterateSmiRoots(ObjectVisitor* v) {
+ // Acquire execution access since we are going to read stack limit
values.
+ ExecutionAccess access(isolate());
v->VisitPointers(&roots_[kSmiRootsStart], &roots_[kRootListLength]);
v->Synchronize(VisitorSynchronization::kSmiRootList);
}
--
--
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.