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

Side by Side Diff: src/isolate.h

Issue 10443114: Progress towards making Zones independent of Isolates and Threads. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Fix nits and rebase on current bleeding_edge 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 | « src/ia32/lithium-ia32.cc ('k') | src/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 2012 the V8 project authors. All rights reserved. 1 // Copyright 2012 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 297 matching lines...) Expand 10 before | Expand all | Expand 10 after
308 #define ISOLATE_INIT_ARRAY_LIST(V) \ 308 #define ISOLATE_INIT_ARRAY_LIST(V) \
309 /* SerializerDeserializer state. */ \ 309 /* SerializerDeserializer state. */ \
310 V(Object*, serialize_partial_snapshot_cache, kPartialSnapshotCacheCapacity) \ 310 V(Object*, serialize_partial_snapshot_cache, kPartialSnapshotCacheCapacity) \
311 V(int, jsregexp_static_offsets_vector, kJSRegexpStaticOffsetsVectorSize) \ 311 V(int, jsregexp_static_offsets_vector, kJSRegexpStaticOffsetsVectorSize) \
312 V(int, bad_char_shift_table, kUC16AlphabetSize) \ 312 V(int, bad_char_shift_table, kUC16AlphabetSize) \
313 V(int, good_suffix_shift_table, (kBMMaxShift + 1)) \ 313 V(int, good_suffix_shift_table, (kBMMaxShift + 1)) \
314 V(int, suffix_table, (kBMMaxShift + 1)) \ 314 V(int, suffix_table, (kBMMaxShift + 1)) \
315 V(uint32_t, private_random_seed, 2) \ 315 V(uint32_t, private_random_seed, 2) \
316 ISOLATE_INIT_DEBUG_ARRAY_LIST(V) 316 ISOLATE_INIT_DEBUG_ARRAY_LIST(V)
317 317
318 typedef List<HeapObject*, PreallocatedStorage> DebugObjectCache; 318 typedef List<HeapObject*, PreallocatedStorageAllocationPolicy> DebugObjectCache;
319 319
320 #define ISOLATE_INIT_LIST(V) \ 320 #define ISOLATE_INIT_LIST(V) \
321 /* SerializerDeserializer state. */ \ 321 /* SerializerDeserializer state. */ \
322 V(int, serialize_partial_snapshot_cache_length, 0) \ 322 V(int, serialize_partial_snapshot_cache_length, 0) \
323 /* Assembler state. */ \ 323 /* Assembler state. */ \
324 /* A previously allocated buffer of kMinimalBufferSize bytes, or NULL. */ \ 324 /* A previously allocated buffer of kMinimalBufferSize bytes, or NULL. */ \
325 V(byte*, assembler_spare_buffer, NULL) \ 325 V(byte*, assembler_spare_buffer, NULL) \
326 V(FatalErrorCallback, exception_behavior, NULL) \ 326 V(FatalErrorCallback, exception_behavior, NULL) \
327 V(AllowCodeGenerationFromStringsCallback, allow_code_gen_callback, NULL) \ 327 V(AllowCodeGenerationFromStringsCallback, allow_code_gen_callback, NULL) \
328 V(v8::Debug::MessageHandler, message_handler, NULL) \ 328 V(v8::Debug::MessageHandler, message_handler, NULL) \
(...skipping 1077 matching lines...) Expand 10 before | Expand all | Expand 10 after
1406 1406
1407 // Mark the global context with out of memory. 1407 // Mark the global context with out of memory.
1408 inline void Context::mark_out_of_memory() { 1408 inline void Context::mark_out_of_memory() {
1409 global_context()->set_out_of_memory(HEAP->true_value()); 1409 global_context()->set_out_of_memory(HEAP->true_value());
1410 } 1410 }
1411 1411
1412 1412
1413 } } // namespace v8::internal 1413 } } // namespace v8::internal
1414 1414
1415 #endif // V8_ISOLATE_H_ 1415 #endif // V8_ISOLATE_H_
OLDNEW
« no previous file with comments | « src/ia32/lithium-ia32.cc ('k') | src/isolate.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698