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

Side by Side Diff: runtime/vm/isolate.h

Issue 10558013: For now set the stack buffer size to 16k (we need to compute this during thread start and store it … (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 8 years, 6 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 | Annotate | Revision Log
« no previous file with comments | « runtime/platform/thread_win.cc ('k') | no next file » | 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) 2012, the Dart project authors. Please see the AUTHORS file 1 // Copyright (c) 2012, 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 #ifndef VM_ISOLATE_H_ 5 #ifndef VM_ISOLATE_H_
6 #define VM_ISOLATE_H_ 6 #define VM_ISOLATE_H_
7 7
8 #include "include/dart_api.h" 8 #include "include/dart_api.h"
9 #include "platform/assert.h" 9 #include "platform/assert.h"
10 #include "vm/class_table.h" 10 #include "vm/class_table.h"
(...skipping 180 matching lines...) Expand 10 before | Expand all | Expand 10 after
191 } 191 }
192 192
193 private: 193 private:
194 Isolate(); 194 Isolate();
195 195
196 void BuildName(const char* name_prefix); 196 void BuildName(const char* name_prefix);
197 void PrintInvokedFunctions(); 197 void PrintInvokedFunctions();
198 198
199 static uword GetSpecifiedStackSize(); 199 static uword GetSpecifiedStackSize();
200 200
201 static const intptr_t kStackSizeBuffer = (4 * KB); 201 static const intptr_t kStackSizeBuffer = (16 * KB);
202 202
203 static ThreadLocalKey isolate_key; 203 static ThreadLocalKey isolate_key;
204 StoreBufferBlock store_buffer_; 204 StoreBufferBlock store_buffer_;
205 ClassTable class_table_; 205 ClassTable class_table_;
206 Dart_MessageNotifyCallback message_notify_callback_; 206 Dart_MessageNotifyCallback message_notify_callback_;
207 char* name_; 207 char* name_;
208 Dart_Port main_port_; 208 Dart_Port main_port_;
209 Heap* heap_; 209 Heap* heap_;
210 ObjectStore* object_store_; 210 ObjectStore* object_store_;
211 RawContext* top_context_; 211 RawContext* top_context_;
(...skipping 83 matching lines...) Expand 10 before | Expand all | Expand 10 after
295 Isolate* new_isolate_; 295 Isolate* new_isolate_;
296 Isolate* saved_isolate_; 296 Isolate* saved_isolate_;
297 uword saved_stack_limit_; 297 uword saved_stack_limit_;
298 298
299 DISALLOW_COPY_AND_ASSIGN(SwitchIsolateScope); 299 DISALLOW_COPY_AND_ASSIGN(SwitchIsolateScope);
300 }; 300 };
301 301
302 } // namespace dart 302 } // namespace dart
303 303
304 #endif // VM_ISOLATE_H_ 304 #endif // VM_ISOLATE_H_
OLDNEW
« no previous file with comments | « runtime/platform/thread_win.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698