Index: runtime/vm/isolate.cc |
diff --git a/runtime/vm/isolate.cc b/runtime/vm/isolate.cc |
index 8589373d6fda2de551c70ceb77942a4a4ae4c2b7..69434d068e8559b67d09c52bcf460d3e069c7ff7 100644 |
--- a/runtime/vm/isolate.cc |
+++ b/runtime/vm/isolate.cc |
@@ -754,12 +754,12 @@ Isolate::Isolate(const Dart_IsolateFlags& api_flags) |
compilation_allowed_(true), |
all_classes_finalized_(false), |
remapping_cids_(false), |
+ start_time_micros_(OS::GetCurrentMonotonicMicros()), |
#if !defined(PRODUCT) |
resume_request_(false), |
has_attempted_reload_(false), |
should_pause_post_service_request_(false), |
debugger_name_(NULL), |
- start_time_micros_(OS::GetCurrentMonotonicMicros()), |
debugger_(NULL), |
last_resume_timestamp_(OS::GetCurrentTimeMillis()), |
last_allocationprofile_accumulator_reset_timestamp_(0), |
@@ -987,11 +987,11 @@ void Isolate::set_debugger_name(const char* name) { |
free(debugger_name_); |
debugger_name_ = strdup(name); |
} |
+#endif // !defined(PRODUCT) |
int64_t Isolate::UptimeMicros() const { |
return OS::GetCurrentMonotonicMicros() - start_time_micros_; |
} |
-#endif // !defined(PRODUCT) |
bool Isolate::IsPaused() const { |
#if defined(PRODUCT) |