Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1000)

Unified Diff: test/cctest/test-heap.cc

Issue 22852024: Track JS allocations as they arrive with no affection on performance when tracking is switched off (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Code style fixes after review #2 Created 7 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: test/cctest/test-heap.cc
diff --git a/test/cctest/test-heap.cc b/test/cctest/test-heap.cc
index 2824d5b242465f2784656c386938750df435ac67..4f97662b44afe3225c553fb2de5ce0dc2bfac65e 100644
--- a/test/cctest/test-heap.cc
+++ b/test/cctest/test-heap.cc
@@ -3229,6 +3229,8 @@ TEST(Regress169928) {
Factory* factory = isolate->factory();
v8::HandleScope scope(CcTest::isolate());
+ HeapObjectsTracker tracker;
Hannes Payer (out of office) 2013/10/02 18:00:29 Why is that here?
Alexandra Mikhaylova 2013/10/03 16:27:55 I used HeapObjectsTracker here to find some untrac
+
// Some flags turn Scavenge collections into Mark-sweep collections
// and hence are incompatible with this test case.
if (FLAG_gc_global || FLAG_stress_compaction) return;

Powered by Google App Engine
This is Rietveld 408576698