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

Side by Side Diff: runtime/vm/message_handler.cc

Issue 1837803003: - Limit 32-bit platforms to 1.5GB of memory for old gen by default. (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: Created 4 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 | « runtime/vm/isolate.cc ('k') | runtime/vm/port.cc » ('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) 2011, the Dart project authors. Please see the AUTHORS file 1 // Copyright (c) 2011, 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 #include "vm/message_handler.h" 5 #include "vm/message_handler.h"
6 6
7 #include "vm/dart.h" 7 #include "vm/dart.h"
8 #include "vm/lockers.h" 8 #include "vm/lockers.h"
9 #include "vm/object.h" 9 #include "vm/object.h"
10 #include "vm/object_store.h" 10 #include "vm/object_store.h"
11 #include "vm/os.h" 11 #include "vm/os.h"
12 #include "vm/port.h" 12 #include "vm/port.h"
13 #include "vm/thread_interrupter.h" 13 #include "vm/thread_interrupter.h"
14 14
15 15
16 namespace dart { 16 namespace dart {
17 17
18 DECLARE_FLAG(bool, trace_isolates);
19 DECLARE_FLAG(bool, trace_service_pause_events); 18 DECLARE_FLAG(bool, trace_service_pause_events);
20 19
21 class MessageHandlerTask : public ThreadPool::Task { 20 class MessageHandlerTask : public ThreadPool::Task {
22 public: 21 public:
23 explicit MessageHandlerTask(MessageHandler* handler) 22 explicit MessageHandlerTask(MessageHandler* handler)
24 : handler_(handler) { 23 : handler_(handler) {
25 ASSERT(handler != NULL); 24 ASSERT(handler != NULL);
26 } 25 }
27 26
28 virtual void Run() { 27 virtual void Run() {
(...skipping 497 matching lines...) Expand 10 before | Expand all | Expand 10 after
526 handler_->oob_message_handling_allowed_ = false; 525 handler_->oob_message_handling_allowed_ = false;
527 } 526 }
528 527
529 528
530 MessageHandler::AcquiredQueues::~AcquiredQueues() { 529 MessageHandler::AcquiredQueues::~AcquiredQueues() {
531 ASSERT(handler_ != NULL); 530 ASSERT(handler_ != NULL);
532 handler_->oob_message_handling_allowed_ = true; 531 handler_->oob_message_handling_allowed_ = true;
533 } 532 }
534 533
535 } // namespace dart 534 } // namespace dart
OLDNEW
« no previous file with comments | « runtime/vm/isolate.cc ('k') | runtime/vm/port.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698