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

Side by Side Diff: vm/isolate.h

Issue 10544170: Have the stack overflow code use the correct stack size set by the platform/thread.h (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/runtime/
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 | « platform/thread_win.cc ('k') | vm/isolate.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) 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 uword kStackSizeBuffer = (4 * KB); 201 static const intptr_t kStackSizeBuffer = (4 * KB);
202 static const uword kDefaultStackSize = (128 * KB);
203 202
204 static ThreadLocalKey isolate_key; 203 static ThreadLocalKey isolate_key;
205 StoreBufferBlock store_buffer_; 204 StoreBufferBlock store_buffer_;
206 ClassTable class_table_; 205 ClassTable class_table_;
207 Dart_MessageNotifyCallback message_notify_callback_; 206 Dart_MessageNotifyCallback message_notify_callback_;
208 char* name_; 207 char* name_;
209 Dart_Port main_port_; 208 Dart_Port main_port_;
210 Heap* heap_; 209 Heap* heap_;
211 ObjectStore* object_store_; 210 ObjectStore* object_store_;
212 RawContext* top_context_; 211 RawContext* top_context_;
(...skipping 83 matching lines...) Expand 10 before | Expand all | Expand 10 after
296 Isolate* new_isolate_; 295 Isolate* new_isolate_;
297 Isolate* saved_isolate_; 296 Isolate* saved_isolate_;
298 uword saved_stack_limit_; 297 uword saved_stack_limit_;
299 298
300 DISALLOW_COPY_AND_ASSIGN(SwitchIsolateScope); 299 DISALLOW_COPY_AND_ASSIGN(SwitchIsolateScope);
301 }; 300 };
302 301
303 } // namespace dart 302 } // namespace dart
304 303
305 #endif // VM_ISOLATE_H_ 304 #endif // VM_ISOLATE_H_
OLDNEW
« no previous file with comments | « platform/thread_win.cc ('k') | vm/isolate.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698