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

Side by Side Diff: src/heap/heap.h

Issue 604373008: Serialize all external strings except for native source code strings. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 6 years, 2 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/bootstrapper.cc ('k') | src/heap/heap.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_HEAP_HEAP_H_ 5 #ifndef V8_HEAP_HEAP_H_
6 #define V8_HEAP_HEAP_H_ 6 #define V8_HEAP_HEAP_H_
7 7
8 #include <cmath> 8 #include <cmath>
9 9
10 #include "src/allocation.h" 10 #include "src/allocation.h"
(...skipping 65 matching lines...) Expand 10 before | Expand all | Expand 10 after
76 V(Map, string_map, StringMap) \ 76 V(Map, string_map, StringMap) \
77 V(Map, one_byte_string_map, OneByteStringMap) \ 77 V(Map, one_byte_string_map, OneByteStringMap) \
78 V(Map, cons_string_map, ConsStringMap) \ 78 V(Map, cons_string_map, ConsStringMap) \
79 V(Map, cons_one_byte_string_map, ConsOneByteStringMap) \ 79 V(Map, cons_one_byte_string_map, ConsOneByteStringMap) \
80 V(Map, sliced_string_map, SlicedStringMap) \ 80 V(Map, sliced_string_map, SlicedStringMap) \
81 V(Map, sliced_one_byte_string_map, SlicedOneByteStringMap) \ 81 V(Map, sliced_one_byte_string_map, SlicedOneByteStringMap) \
82 V(Map, external_string_map, ExternalStringMap) \ 82 V(Map, external_string_map, ExternalStringMap) \
83 V(Map, external_string_with_one_byte_data_map, \ 83 V(Map, external_string_with_one_byte_data_map, \
84 ExternalStringWithOneByteDataMap) \ 84 ExternalStringWithOneByteDataMap) \
85 V(Map, external_one_byte_string_map, ExternalOneByteStringMap) \ 85 V(Map, external_one_byte_string_map, ExternalOneByteStringMap) \
86 V(Map, native_source_string_map, NativeSourceStringMap) \
86 V(Map, short_external_string_map, ShortExternalStringMap) \ 87 V(Map, short_external_string_map, ShortExternalStringMap) \
87 V(Map, short_external_string_with_one_byte_data_map, \ 88 V(Map, short_external_string_with_one_byte_data_map, \
88 ShortExternalStringWithOneByteDataMap) \ 89 ShortExternalStringWithOneByteDataMap) \
89 V(Map, internalized_string_map, InternalizedStringMap) \ 90 V(Map, internalized_string_map, InternalizedStringMap) \
90 V(Map, one_byte_internalized_string_map, OneByteInternalizedStringMap) \ 91 V(Map, one_byte_internalized_string_map, OneByteInternalizedStringMap) \
91 V(Map, external_internalized_string_map, ExternalInternalizedStringMap) \ 92 V(Map, external_internalized_string_map, ExternalInternalizedStringMap) \
92 V(Map, external_internalized_string_with_one_byte_data_map, \ 93 V(Map, external_internalized_string_with_one_byte_data_map, \
93 ExternalInternalizedStringWithOneByteDataMap) \ 94 ExternalInternalizedStringWithOneByteDataMap) \
94 V(Map, external_one_byte_internalized_string_map, \ 95 V(Map, external_one_byte_internalized_string_map, \
95 ExternalOneByteInternalizedStringMap) \ 96 ExternalOneByteInternalizedStringMap) \
(...skipping 2410 matching lines...) Expand 10 before | Expand all | Expand 10 after
2506 DisallowHeapAllocation no_allocation; // i.e. no gc allowed. 2507 DisallowHeapAllocation no_allocation; // i.e. no gc allowed.
2507 2508
2508 private: 2509 private:
2509 DISALLOW_IMPLICIT_CONSTRUCTORS(PathTracer); 2510 DISALLOW_IMPLICIT_CONSTRUCTORS(PathTracer);
2510 }; 2511 };
2511 #endif // DEBUG 2512 #endif // DEBUG
2512 } 2513 }
2513 } // namespace v8::internal 2514 } // namespace v8::internal
2514 2515
2515 #endif // V8_HEAP_HEAP_H_ 2516 #endif // V8_HEAP_HEAP_H_
OLDNEW
« no previous file with comments | « src/bootstrapper.cc ('k') | src/heap/heap.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698