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

Unified Diff: src/heap.h

Issue 358363002: Move platform abstraction to base library (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: updates Created 6 years, 6 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
« src/base/macros.h ('K') | « src/hashmap.h ('k') | src/heap.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/heap.h
diff --git a/src/heap.h b/src/heap.h
index 85af3c93adab9742de436f2fd338a2f5b2428f26..754b5588e05f89b11c8fffc7d77df82d5d29872a 100644
--- a/src/heap.h
+++ b/src/heap.h
@@ -2146,7 +2146,7 @@ class Heap {
MemoryChunk* chunks_queued_for_free_;
- Mutex relocation_mutex_;
+ base::Mutex relocation_mutex_;
int gc_callbacks_depth_;
@@ -2526,12 +2526,12 @@ class GCTracer BASE_EMBEDDED {
Scope(GCTracer* tracer, ScopeId scope)
: tracer_(tracer),
scope_(scope) {
- start_time_ = OS::TimeCurrentMillis();
+ start_time_ = base::OS::TimeCurrentMillis();
}
~Scope() {
ASSERT(scope_ < kNumberOfScopes); // scope_ is unsigned.
- tracer_->scopes_[scope_] += OS::TimeCurrentMillis() - start_time_;
+ tracer_->scopes_[scope_] += base::OS::TimeCurrentMillis() - start_time_;
}
private:
« src/base/macros.h ('K') | « src/hashmap.h ('k') | src/heap.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698