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

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

Issue 10539174: Fix stack sizes (kDefaultStackSize to 64kB, and kStackSizeBuffer to 4kb) to be able to catch stack … (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 | « no previous file | 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 uword kStackSizeBuffer = (128 * KB); 201 static const uword kStackSizeBuffer = (4 * KB);
202 static const uword kDefaultStackSize = (1 * MB); 202 static const uword kDefaultStackSize = (128 * KB);
203 203
204 static ThreadLocalKey isolate_key; 204 static ThreadLocalKey isolate_key;
205 StoreBufferBlock store_buffer_; 205 StoreBufferBlock store_buffer_;
206 ClassTable class_table_; 206 ClassTable class_table_;
207 Dart_MessageNotifyCallback message_notify_callback_; 207 Dart_MessageNotifyCallback message_notify_callback_;
208 char* name_; 208 char* name_;
209 Dart_Port main_port_; 209 Dart_Port main_port_;
210 Heap* heap_; 210 Heap* heap_;
211 ObjectStore* object_store_; 211 ObjectStore* object_store_;
212 RawContext* top_context_; 212 RawContext* top_context_;
(...skipping 83 matching lines...) Expand 10 before | Expand all | Expand 10 after
296 Isolate* new_isolate_; 296 Isolate* new_isolate_;
297 Isolate* saved_isolate_; 297 Isolate* saved_isolate_;
298 uword saved_stack_limit_; 298 uword saved_stack_limit_;
299 299
300 DISALLOW_COPY_AND_ASSIGN(SwitchIsolateScope); 300 DISALLOW_COPY_AND_ASSIGN(SwitchIsolateScope);
301 }; 301 };
302 302
303 } // namespace dart 303 } // namespace dart
304 304
305 #endif // VM_ISOLATE_H_ 305 #endif // VM_ISOLATE_H_
OLDNEW
« 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