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

Unified Diff: runtime/vm/heap.cc

Issue 1375343002: Remove obsolete timer list from VM (Closed) Base URL: https://github.com/dart-lang/sdk.git@master
Patch Set: Created 5 years, 3 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
Index: runtime/vm/heap.cc
diff --git a/runtime/vm/heap.cc b/runtime/vm/heap.cc
index f599742b8eb664c1bd9bebde83b78b84b4c73420..f69daa1a4d95cf50191448112278e9834473d0f8 100644
--- a/runtime/vm/heap.cc
+++ b/runtime/vm/heap.cc
@@ -334,7 +334,6 @@ void Heap::CollectGarbage(Space space,
switch (space) {
case kNew: {
RecordBeforeGC(kNew, reason);
- TimerScope timer(true, &(isolate()->timer_list().time_gc()), thread);
VMTagScope tagScope(thread, VMTag::kGCNewSpaceTagId);
TimelineDurationScope tds(thread,
isolate()->GetGCStream(),
@@ -354,7 +353,6 @@ void Heap::CollectGarbage(Space space,
case kOld:
case kCode: {
RecordBeforeGC(kOld, reason);
- TimerScope timer(true, &(isolate()->timer_list().time_gc()), thread);
VMTagScope tagScope(thread, VMTag::kGCOldSpaceTagId);
TimelineDurationScope tds(thread,
isolate()->GetGCStream(),
@@ -395,7 +393,6 @@ void Heap::CollectAllGarbage() {
Thread* thread = Thread::Current();
{
RecordBeforeGC(kNew, kFull);
- TimerScope timer(true, &(isolate()->timer_list().time_gc()), thread);
VMTagScope tagScope(thread, VMTag::kGCNewSpaceTagId);
TimelineDurationScope tds(thread,
isolate()->GetGCStream(),
@@ -409,7 +406,6 @@ void Heap::CollectAllGarbage() {
}
{
RecordBeforeGC(kOld, kFull);
- TimerScope timer(true, &(isolate()->timer_list().time_gc()), thread);
VMTagScope tagScope(thread, VMTag::kGCOldSpaceTagId);
TimelineDurationScope tds(thread,
isolate()->GetGCStream(),
« no previous file with comments | « runtime/vm/dart_api_impl.cc ('k') | runtime/vm/isolate.h » ('j') | runtime/vm/timer.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698