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

Side by Side Diff: src/isolate.cc

Issue 2557743003: [serializer] include global proxy in additional context snapshots. (Closed)
Patch Set: fix comment Created 4 years 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/isolate.h ('k') | src/snapshot/partial-serializer.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 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 #include "src/isolate.h" 5 #include "src/isolate.h"
6 6
7 #include <stdlib.h> 7 #include <stdlib.h>
8 8
9 #include <fstream> // NOLINT(readability/streams) 9 #include <fstream> // NOLINT(readability/streams)
10 #include <sstream> 10 #include <sstream>
(...skipping 2102 matching lines...) Expand 10 before | Expand all | Expand 10 after
2113 descriptor_lookup_cache_(NULL), 2113 descriptor_lookup_cache_(NULL),
2114 handle_scope_implementer_(NULL), 2114 handle_scope_implementer_(NULL),
2115 unicode_cache_(NULL), 2115 unicode_cache_(NULL),
2116 allocator_(FLAG_trace_gc_object_stats ? new VerboseAccountingAllocator( 2116 allocator_(FLAG_trace_gc_object_stats ? new VerboseAccountingAllocator(
2117 &heap_, 256 * KB, 128 * KB) 2117 &heap_, 256 * KB, 128 * KB)
2118 : new AccountingAllocator()), 2118 : new AccountingAllocator()),
2119 inner_pointer_to_code_cache_(NULL), 2119 inner_pointer_to_code_cache_(NULL),
2120 global_handles_(NULL), 2120 global_handles_(NULL),
2121 eternal_handles_(NULL), 2121 eternal_handles_(NULL),
2122 thread_manager_(NULL), 2122 thread_manager_(NULL),
2123 has_installed_extensions_(false),
2124 regexp_stack_(NULL), 2123 regexp_stack_(NULL),
2125 date_cache_(NULL), 2124 date_cache_(NULL),
2126 call_descriptor_data_(NULL), 2125 call_descriptor_data_(NULL),
2127 // TODO(bmeurer) Initialized lazily because it depends on flags; can 2126 // TODO(bmeurer) Initialized lazily because it depends on flags; can
2128 // be fixed once the default isolate cleanup is done. 2127 // be fixed once the default isolate cleanup is done.
2129 random_number_generator_(NULL), 2128 random_number_generator_(NULL),
2130 rail_mode_(PERFORMANCE_ANIMATION), 2129 rail_mode_(PERFORMANCE_ANIMATION),
2131 serializer_enabled_(enable_serializer), 2130 serializer_enabled_(enable_serializer),
2132 has_fatal_error_(false), 2131 has_fatal_error_(false),
2133 initialized_from_snapshot_(false), 2132 initialized_from_snapshot_(false),
(...skipping 1386 matching lines...) Expand 10 before | Expand all | Expand 10 after
3520 // Then check whether this scope intercepts. 3519 // Then check whether this scope intercepts.
3521 if ((flag & intercept_mask_)) { 3520 if ((flag & intercept_mask_)) {
3522 intercepted_flags_ |= flag; 3521 intercepted_flags_ |= flag;
3523 return true; 3522 return true;
3524 } 3523 }
3525 return false; 3524 return false;
3526 } 3525 }
3527 3526
3528 } // namespace internal 3527 } // namespace internal
3529 } // namespace v8 3528 } // namespace v8
OLDNEW
« no previous file with comments | « src/isolate.h ('k') | src/snapshot/partial-serializer.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698