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

Unified Diff: src/isolate.h

Issue 1415383004: Fixing --verify-predictable mode. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Fixed shared build Created 5 years, 1 month 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/heap/mark-compact.cc ('k') | src/isolate.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/isolate.h
diff --git a/src/isolate.h b/src/isolate.h
index 79988f8f27a9a0c45f7d66fd4c2df9b46c4b81f0..5abbc75df9f882e7b6af299c9bacbb6aa1c6ea0c 100644
--- a/src/isolate.h
+++ b/src/isolate.h
@@ -939,7 +939,7 @@ class Isolate {
bool initialized_from_snapshot() { return initialized_from_snapshot_; }
double time_millis_since_init() {
- return base::OS::TimeCurrentMillis() - time_millis_at_init_;
+ return heap_.MonotonicallyIncreasingTimeInMs() - time_millis_at_init_;
}
DateCache* date_cache() {
« no previous file with comments | « src/heap/mark-compact.cc ('k') | src/isolate.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698