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

Side by Side Diff: src/isolate.h

Issue 1064723005: Remove support for specifying the number of available threads (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 5 years, 8 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/heap/heap.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 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef V8_ISOLATE_H_ 5 #ifndef V8_ISOLATE_H_
6 #define V8_ISOLATE_H_ 6 #define V8_ISOLATE_H_
7 7
8 #include <queue> 8 #include <queue>
9 #include "include/v8-debug.h" 9 #include "include/v8-debug.h"
10 #include "src/allocation.h" 10 #include "src/allocation.h"
(...skipping 368 matching lines...) Expand 10 before | Expand all | Expand 10 after
379 V(ExternalReferenceTable*, external_reference_table, NULL) \ 379 V(ExternalReferenceTable*, external_reference_table, NULL) \
380 V(HashMap*, external_reference_map, NULL) \ 380 V(HashMap*, external_reference_map, NULL) \
381 V(HashMap*, root_index_map, NULL) \ 381 V(HashMap*, root_index_map, NULL) \
382 V(int, pending_microtask_count, 0) \ 382 V(int, pending_microtask_count, 0) \
383 V(bool, autorun_microtasks, true) \ 383 V(bool, autorun_microtasks, true) \
384 V(HStatistics*, hstatistics, NULL) \ 384 V(HStatistics*, hstatistics, NULL) \
385 V(CompilationStatistics*, turbo_statistics, NULL) \ 385 V(CompilationStatistics*, turbo_statistics, NULL) \
386 V(HTracer*, htracer, NULL) \ 386 V(HTracer*, htracer, NULL) \
387 V(CodeTracer*, code_tracer, NULL) \ 387 V(CodeTracer*, code_tracer, NULL) \
388 V(bool, fp_stubs_generated, false) \ 388 V(bool, fp_stubs_generated, false) \
389 V(int, max_available_threads, 0) \
390 V(uint32_t, per_isolate_assert_data, 0xFFFFFFFFu) \ 389 V(uint32_t, per_isolate_assert_data, 0xFFFFFFFFu) \
391 V(PromiseRejectCallback, promise_reject_callback, NULL) \ 390 V(PromiseRejectCallback, promise_reject_callback, NULL) \
392 V(const v8::StartupData*, snapshot_blob, NULL) \ 391 V(const v8::StartupData*, snapshot_blob, NULL) \
393 ISOLATE_INIT_SIMULATOR_LIST(V) 392 ISOLATE_INIT_SIMULATOR_LIST(V)
394 393
395 #define THREAD_LOCAL_TOP_ACCESSOR(type, name) \ 394 #define THREAD_LOCAL_TOP_ACCESSOR(type, name) \
396 inline void set_##name(type v) { thread_local_top_.name##_ = v; } \ 395 inline void set_##name(type v) { thread_local_top_.name##_ = v; } \
397 inline type name() const { return thread_local_top_.name##_; } 396 inline type name() const { return thread_local_top_.name##_; }
398 397
399 #define THREAD_LOCAL_TOP_ADDRESS(type, name) \ 398 #define THREAD_LOCAL_TOP_ADDRESS(type, name) \
(...skipping 1169 matching lines...) Expand 10 before | Expand all | Expand 10 after
1569 } 1568 }
1570 1569
1571 EmbeddedVector<char, 128> filename_; 1570 EmbeddedVector<char, 128> filename_;
1572 FILE* file_; 1571 FILE* file_;
1573 int scope_depth_; 1572 int scope_depth_;
1574 }; 1573 };
1575 1574
1576 } } // namespace v8::internal 1575 } } // namespace v8::internal
1577 1576
1578 #endif // V8_ISOLATE_H_ 1577 #endif // V8_ISOLATE_H_
OLDNEW
« no previous file with comments | « src/heap/heap.cc ('k') | src/isolate.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698