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

Side by Side Diff: src/handles.h

Issue 10417010: Run Crankshaft on a separate thread. (Closed) Base URL: https://chromiumcodereview.appspot.com/10387157
Patch Set: Set optimize_in_parallel to false by default. Created 8 years, 7 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 | « src/flag-definitions.h ('k') | src/handles-inl.h » ('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 2011 the V8 project authors. All rights reserved. 1 // Copyright 2011 the V8 project authors. All rights reserved.
2 // Redistribution and use in source and binary forms, with or without 2 // Redistribution and use in source and binary forms, with or without
3 // modification, are permitted provided that the following conditions are 3 // modification, are permitted provided that the following conditions are
4 // met: 4 // met:
5 // 5 //
6 // * Redistributions of source code must retain the above copyright 6 // * Redistributions of source code must retain the above copyright
7 // notice, this list of conditions and the following disclaimer. 7 // notice, this list of conditions and the following disclaimer.
8 // * Redistributions in binary form must reproduce the above 8 // * Redistributions in binary form must reproduce the above
9 // copyright notice, this list of conditions and the following 9 // copyright notice, this list of conditions and the following
10 // disclaimer in the documentation and/or other materials provided 10 // disclaimer in the documentation and/or other materials provided
(...skipping 138 matching lines...) Expand 10 before | Expand all | Expand 10 after
149 Isolate* isolate_; 149 Isolate* isolate_;
150 Object** prev_next_; 150 Object** prev_next_;
151 Object** prev_limit_; 151 Object** prev_limit_;
152 152
153 // Extend the handle scope making room for more handles. 153 // Extend the handle scope making room for more handles.
154 static internal::Object** Extend(); 154 static internal::Object** Extend();
155 155
156 // Zaps the handles in the half-open interval [start, end). 156 // Zaps the handles in the half-open interval [start, end).
157 static void ZapRange(internal::Object** start, internal::Object** end); 157 static void ZapRange(internal::Object** start, internal::Object** end);
158 158
159 bool has_isolate_lock_;
160
159 friend class v8::HandleScope; 161 friend class v8::HandleScope;
160 friend class v8::ImplementationUtilities; 162 friend class v8::ImplementationUtilities;
161 }; 163 };
162 164
163 165
164 // ---------------------------------------------------------------------------- 166 // ----------------------------------------------------------------------------
165 // Handle operations. 167 // Handle operations.
166 // They might invoke garbage collection. The result is an handle to 168 // They might invoke garbage collection. The result is an handle to
167 // an object of expected type, or the handle is an error if running out 169 // an object of expected type, or the handle is an error if running out
168 // of space or encountering an internal error. 170 // of space or encountering an internal error.
(...skipping 124 matching lines...) Expand 10 before | Expand all | Expand 10 after
293 inline NoHandleAllocation(); 295 inline NoHandleAllocation();
294 inline ~NoHandleAllocation(); 296 inline ~NoHandleAllocation();
295 private: 297 private:
296 int level_; 298 int level_;
297 #endif 299 #endif
298 }; 300 };
299 301
300 } } // namespace v8::internal 302 } } // namespace v8::internal
301 303
302 #endif // V8_HANDLES_H_ 304 #endif // V8_HANDLES_H_
OLDNEW
« no previous file with comments | « src/flag-definitions.h ('k') | src/handles-inl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698