Revision: 5652
Author: [email protected]
Date: Mon Oct 18 10:01:30 2010
Log: Fix TestInternalWeakLists test
Releasing context handle is not enough to release context, it might be
indirectly reachable through compilation cache.
[email protected]
Review URL: http://codereview.chromium.org/3750017
http://code.google.com/p/v8/source/detail?r=5652
Modified:
/branches/bleeding_edge/test/cctest/test-heap.cc
=======================================
--- /branches/bleeding_edge/test/cctest/test-heap.cc Mon Oct 18 07:59:03
2010
+++ /branches/bleeding_edge/test/cctest/test-heap.cc Mon Oct 18 10:01:30
2010
@@ -1028,6 +1028,9 @@
ctx[i]->Enter();
ctx[i]->Exit();
}
+
+ // Force compilation cache cleanup.
+ Heap::CollectAllGarbage(true);
// Dispose the global contexts one by one.
for (int i = 0; i < kNumTestContexts; i++) {
--
v8-dev mailing list
[email protected]
http://groups.google.com/group/v8-dev