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

Unified Diff: vm/zone_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/zone.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: vm/zone_test.cc
===================================================================
--- vm/zone_test.cc (revision 16932)
+++ vm/zone_test.cc (working copy)
@@ -10,11 +10,11 @@
namespace dart {
-DECLARE_DEBUG_FLAG(bool, trace_zone_sizes);
+DECLARE_DEBUG_FLAG(bool, trace_zones);
UNIT_TEST_CASE(AllocateZone) {
#if defined(DEBUG)
- FLAG_trace_zone_sizes = true;
+ FLAG_trace_zones = true;
#endif
Isolate* isolate = Isolate::Init(NULL);
EXPECT(Isolate::Current() == isolate);
@@ -76,7 +76,7 @@
UNIT_TEST_CASE(AllocGeneric_Success) {
#if defined(DEBUG)
- FLAG_trace_zone_sizes = true;
+ FLAG_trace_zones = true;
#endif
Isolate* isolate = Isolate::Init(NULL);
EXPECT(Isolate::Current() == isolate);
@@ -100,7 +100,7 @@
// This test is expected to crash.
UNIT_TEST_CASE(AllocGeneric_Overflow) {
#if defined(DEBUG)
- FLAG_trace_zone_sizes = true;
+ FLAG_trace_zones = true;
#endif
Isolate* isolate = Isolate::Init(NULL);
EXPECT(Isolate::Current() == isolate);
@@ -119,7 +119,7 @@
UNIT_TEST_CASE(ZoneAllocated) {
#if defined(DEBUG)
- FLAG_trace_zone_sizes = true;
+ FLAG_trace_zones = true;
#endif
Isolate* isolate = Isolate::Init(NULL);
EXPECT(Isolate::Current() == isolate);
« no previous file with comments | « vm/zone.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698