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

Side by Side Diff: src/isolate.h

Issue 1155823003: Use conservative hash table capacity growth during entire snapshotting. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 5 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/api.cc ('k') | src/objects.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 360 matching lines...) Expand 10 before | Expand all | Expand 10 after
371 V(int, pending_microtask_count, 0) \ 371 V(int, pending_microtask_count, 0) \
372 V(bool, autorun_microtasks, true) \ 372 V(bool, autorun_microtasks, true) \
373 V(HStatistics*, hstatistics, NULL) \ 373 V(HStatistics*, hstatistics, NULL) \
374 V(CompilationStatistics*, turbo_statistics, NULL) \ 374 V(CompilationStatistics*, turbo_statistics, NULL) \
375 V(HTracer*, htracer, NULL) \ 375 V(HTracer*, htracer, NULL) \
376 V(CodeTracer*, code_tracer, NULL) \ 376 V(CodeTracer*, code_tracer, NULL) \
377 V(bool, fp_stubs_generated, false) \ 377 V(bool, fp_stubs_generated, false) \
378 V(uint32_t, per_isolate_assert_data, 0xFFFFFFFFu) \ 378 V(uint32_t, per_isolate_assert_data, 0xFFFFFFFFu) \
379 V(PromiseRejectCallback, promise_reject_callback, NULL) \ 379 V(PromiseRejectCallback, promise_reject_callback, NULL) \
380 V(const v8::StartupData*, snapshot_blob, NULL) \ 380 V(const v8::StartupData*, snapshot_blob, NULL) \
381 V(bool, creating_default_snapshot, false) \
381 ISOLATE_INIT_SIMULATOR_LIST(V) 382 ISOLATE_INIT_SIMULATOR_LIST(V)
382 383
383 #define THREAD_LOCAL_TOP_ACCESSOR(type, name) \ 384 #define THREAD_LOCAL_TOP_ACCESSOR(type, name) \
384 inline void set_##name(type v) { thread_local_top_.name##_ = v; } \ 385 inline void set_##name(type v) { thread_local_top_.name##_ = v; } \
385 inline type name() const { return thread_local_top_.name##_; } 386 inline type name() const { return thread_local_top_.name##_; }
386 387
387 #define THREAD_LOCAL_TOP_ADDRESS(type, name) \ 388 #define THREAD_LOCAL_TOP_ADDRESS(type, name) \
388 type* name##_address() { return &thread_local_top_.name##_; } 389 type* name##_address() { return &thread_local_top_.name##_; }
389 390
390 391
(...skipping 1187 matching lines...) Expand 10 before | Expand all | Expand 10 after
1578 } 1579 }
1579 1580
1580 EmbeddedVector<char, 128> filename_; 1581 EmbeddedVector<char, 128> filename_;
1581 FILE* file_; 1582 FILE* file_;
1582 int scope_depth_; 1583 int scope_depth_;
1583 }; 1584 };
1584 1585
1585 } } // namespace v8::internal 1586 } } // namespace v8::internal
1586 1587
1587 #endif // V8_ISOLATE_H_ 1588 #endif // V8_ISOLATE_H_
OLDNEW
« no previous file with comments | « src/api.cc ('k') | src/objects.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698