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

Unified Diff: runtime/vm/isolate.cc

Issue 2998473002: [vm] Revert changes related to triggering the 1st GC (Closed)
Patch Set: Address review comments Created 3 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 | « runtime/vm/isolate.h ('k') | runtime/vm/pages.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/vm/isolate.cc
diff --git a/runtime/vm/isolate.cc b/runtime/vm/isolate.cc
index 8589373d6fda2de551c70ceb77942a4a4ae4c2b7..6c3fa50322b6ed43d2e7a8c7b3a81b17a484ccac 100644
--- a/runtime/vm/isolate.cc
+++ b/runtime/vm/isolate.cc
@@ -759,7 +759,6 @@ Isolate::Isolate(const Dart_IsolateFlags& api_flags)
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),
@@ -779,6 +778,7 @@ Isolate::Isolate(const Dart_IsolateFlags& api_flags)
last_reload_timestamp_(OS::GetCurrentTimeMillis()),
object_id_ring_(NULL),
#endif // !defined(PRODUCT)
+ start_time_micros_(OS::GetCurrentMonotonicMicros()),
thread_registry_(new ThreadRegistry()),
safepoint_handler_(new SafepointHandler(this)),
message_notify_callback_(NULL),
@@ -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)
« no previous file with comments | « runtime/vm/isolate.h ('k') | runtime/vm/pages.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698