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

Side by Side Diff: runtime/observatory/lib/src/service/object.dart

Issue 2809863002: Remove background finalization. (Closed)
Patch Set: . Created 3 years, 8 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 unified diff | Download patch
« no previous file with comments | « no previous file | runtime/vm/dart_api_state.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2014, the Dart project authors. Please see the AUTHORS file 1 // Copyright (c) 2014, the Dart project authors. Please see the AUTHORS file
2 // for details. All rights reserved. Use of this source code is governed by a 2 // for details. All rights reserved. Use of this source code is governed by a
3 // BSD-style license that can be found in the LICENSE file. 3 // BSD-style license that can be found in the LICENSE file.
4 4
5 part of service; 5 part of service;
6 6
7 // Some value smaller than the object ring, so requesting a large array 7 // Some value smaller than the object ring, so requesting a large array
8 // doesn't result in an expired ref because the elements lapped it in the 8 // doesn't result in an expired ref because the elements lapped it in the
9 // object ring. 9 // object ring.
10 const int kDefaultFieldLimit = 100; 10 const int kDefaultFieldLimit = 100;
(...skipping 3121 matching lines...) Expand 10 before | Expand all | Expand 10 after
3132 _kindString = 'compiler'; 3132 _kindString = 'compiler';
3133 break; 3133 break;
3134 case "kSweeperTask": 3134 case "kSweeperTask":
3135 _kind = M.ThreadKind.sweeperTask; 3135 _kind = M.ThreadKind.sweeperTask;
3136 _kindString = 'sweeper'; 3136 _kindString = 'sweeper';
3137 break; 3137 break;
3138 case "kMarkerTask": 3138 case "kMarkerTask":
3139 _kind = M.ThreadKind.markerTask; 3139 _kind = M.ThreadKind.markerTask;
3140 _kindString = 'marker'; 3140 _kindString = 'marker';
3141 break; 3141 break;
3142 case "kFinalizerTask":
3143 _kind = M.ThreadKind.finalizerTask;
3144 _kindString = 'finalizer';
3145 break;
3146 default: 3142 default:
3147 assert(false); 3143 assert(false);
3148 } 3144 }
3149 3145
3150 _zoneHighWatermark = int.parse(map['_zoneHighWatermark']); 3146 _zoneHighWatermark = int.parse(map['_zoneHighWatermark']);
3151 _zoneCapacity = int.parse(map['_zoneCapacity']); 3147 _zoneCapacity = int.parse(map['_zoneCapacity']);
3152 } 3148 }
3153 } 3149 }
3154 3150
3155 class Zone implements M.Zone { 3151 class Zone implements M.Zone {
(...skipping 1472 matching lines...) Expand 10 before | Expand all | Expand 10 after
4628 var v = list[i]; 4624 var v = list[i];
4629 if ((v is Map) && _isServiceMap(v)) { 4625 if ((v is Map) && _isServiceMap(v)) {
4630 list[i] = owner.getFromMap(v); 4626 list[i] = owner.getFromMap(v);
4631 } else if (v is List) { 4627 } else if (v is List) {
4632 _upgradeList(v, owner); 4628 _upgradeList(v, owner);
4633 } else if (v is Map) { 4629 } else if (v is Map) {
4634 _upgradeMap(v, owner); 4630 _upgradeMap(v, owner);
4635 } 4631 }
4636 } 4632 }
4637 } 4633 }
OLDNEW
« no previous file with comments | « no previous file | runtime/vm/dart_api_state.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698