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

Unified Diff: runtime/bin/eventhandler_macos.h

Issue 208653012: Only return eventhandler tokens in stacks of 8, to avoid runtime calls. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 6 years, 9 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/bin/eventhandler_macos.h
diff --git a/runtime/bin/eventhandler_macos.h b/runtime/bin/eventhandler_macos.h
index 18e463b77d88f2d23f2a5e61265b40cbd4ea0b1c..4ea1a0150cd4489af6d816434234557c0eb3e281 100644
--- a/runtime/bin/eventhandler_macos.h
+++ b/runtime/bin/eventhandler_macos.h
@@ -36,7 +36,7 @@ class SocketData {
port_(0),
mask_(0),
tracked_by_kqueue_(false),
- tokens_(8) {
+ tokens_(16) {
ASSERT(fd_ != -1);
}

Powered by Google App Engine
This is Rietveld 408576698