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

Unified Diff: vm/handles_test.cc

Issue 11879005: Added code to trace zone and handles creation/deletion under flags (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/runtime/
Patch Set: Created 7 years, 11 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 | « vm/handles_impl.h ('k') | vm/zone.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: vm/handles_test.cc
===================================================================
--- vm/handles_test.cc (revision 16932)
+++ vm/handles_test.cc (working copy)
@@ -12,13 +12,13 @@
namespace dart {
-DECLARE_DEBUG_FLAG(bool, trace_handles_count);
+DECLARE_DEBUG_FLAG(bool, trace_handles);
// Unit test for Zone handle allocation.
TEST_CASE(AllocateZoneHandle) {
#if defined(DEBUG)
- FLAG_trace_handles_count = true;
+ FLAG_trace_handles = true;
#endif
// The previously run stub code generation may have created zone handles.
int initial_count = VMHandles::ZoneHandleCount();
@@ -43,7 +43,7 @@
// Unit test for Scope handle allocation.
TEST_CASE(AllocateScopeHandle) {
#if defined(DEBUG)
- FLAG_trace_handles_count = true;
+ FLAG_trace_handles = true;
#endif
int32_t handle_count = VMHandles::ScopedHandleCount();
static const int kNumHandles = 65;
« no previous file with comments | « vm/handles_impl.h ('k') | vm/zone.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698