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

Unified Diff: test/cctest/cctest.h

Issue 1283033003: Remove inline header includes from non-inline headers (1). (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Fix GCC for realz. Created 5 years, 4 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
« no previous file with comments | « src/x87/regexp-macro-assembler-x87.h ('k') | test/cctest/test-heap-profiler.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: test/cctest/cctest.h
diff --git a/test/cctest/cctest.h b/test/cctest/cctest.h
index ceb9f58157ad9bb471729ee302513c46988572bc..c712286b31ffc1d9284c4deffe3d5b3b289a16f0 100644
--- a/test/cctest/cctest.h
+++ b/test/cctest/cctest.h
@@ -602,28 +602,6 @@ static inline void EmptyMessageQueues(v8::Isolate* isolate) {
}
-// Helper class for new allocations tracking and checking.
-// To use checking of JS allocations tracking in a test,
-// just create an instance of this class.
-class HeapObjectsTracker {
- public:
- HeapObjectsTracker() {
- heap_profiler_ = i::Isolate::Current()->heap_profiler();
- CHECK_NOT_NULL(heap_profiler_);
- heap_profiler_->StartHeapObjectsTracking(true);
- }
-
- ~HeapObjectsTracker() {
- i::Isolate::Current()->heap()->CollectAllAvailableGarbage();
- CHECK_EQ(0, heap_profiler_->heap_object_map()->FindUntrackedObjects());
- heap_profiler_->StopHeapObjectsTracking();
- }
-
- private:
- i::HeapProfiler* heap_profiler_;
-};
-
-
class InitializedHandleScope {
public:
InitializedHandleScope()
« no previous file with comments | « src/x87/regexp-macro-assembler-x87.h ('k') | test/cctest/test-heap-profiler.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698