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

Unified Diff: runtime/lib/mirrors_impl.dart

Issue 416283002: Increase the size of the getter/setter closure caches. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 6 years, 5 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 | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/lib/mirrors_impl.dart
diff --git a/runtime/lib/mirrors_impl.dart b/runtime/lib/mirrors_impl.dart
index 13bb7a992d10f9789422ee65b04f5fb45146d5ed..89b7f0581bd505f1084e83d346642d45da5d043f 100644
--- a/runtime/lib/mirrors_impl.dart
+++ b/runtime/lib/mirrors_impl.dart
@@ -299,10 +299,10 @@ class _LocalInstanceMirror extends _LocalObjectMirror
return identityHashCode(_reflectee) ^ 0x36363636;
}
- static var _getFieldClosures = new LRUMap.withShift(7);
- static var _setFieldClosures = new LRUMap.withShift(7);
- static var _getFieldCallCounts = new LRUMap.withShift(8);
- static var _setFieldCallCounts = new LRUMap.withShift(8);
+ static var _getFieldClosures = new LRUMap.withShift(9);
+ static var _setFieldClosures = new LRUMap.withShift(9);
+ static var _getFieldCallCounts = new LRUMap.withShift(10);
+ static var _setFieldCallCounts = new LRUMap.withShift(10);
static const _closureThreshold = 20;
_getFieldSlow(unwrapped) {
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698