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

Side by Side Diff: src/heap.h

Issue 3089005: [Isolates] Add a pointer to Heap to a meta map. (Closed)
Patch Set: review feedback Created 10 years, 4 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 | « no previous file | src/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 2006-2008 the V8 project authors. All rights reserved. 1 // Copyright 2006-2008 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 1103 matching lines...) Expand 10 before | Expand all | Expand 10 after
1114 int get_min_in_mutator() { return min_in_mutator_; } 1114 int get_min_in_mutator() { return min_in_mutator_; }
1115 1115
1116 MarkCompactCollector* mark_compact_collector() { 1116 MarkCompactCollector* mark_compact_collector() {
1117 return &mark_compact_collector_; 1117 return &mark_compact_collector_;
1118 } 1118 }
1119 1119
1120 ExternalStringTable* external_string_table() { 1120 ExternalStringTable* external_string_table() {
1121 return &external_string_table_; 1121 return &external_string_table_;
1122 } 1122 }
1123 1123
1124 inline Isolate* isolate();
1125
1124 private: 1126 private:
1125 Heap(); 1127 Heap();
1126 1128
1127 // TODO(isolates): Technically this can be calculated directly from 1129 // TODO(isolates): Technically this can be calculated directly from
1128 // any pointer to Heap. 1130 // any pointer to Heap.
1129 Isolate* isolate_; 1131 Isolate* isolate_;
1130 1132
1131 int reserved_semispace_size_; 1133 int reserved_semispace_size_;
1132 int max_semispace_size_; 1134 int max_semispace_size_;
1133 int initial_semispace_size_; 1135 int initial_semispace_size_;
(...skipping 901 matching lines...) Expand 10 before | Expand all | Expand 10 after
2035 SubCache* caches_[kNumberOfCaches]; 2037 SubCache* caches_[kNumberOfCaches];
2036 DISALLOW_COPY_AND_ASSIGN(TranscendentalCache); 2038 DISALLOW_COPY_AND_ASSIGN(TranscendentalCache);
2037 }; 2039 };
2038 2040
2039 2041
2040 } } // namespace v8::internal 2042 } } // namespace v8::internal
2041 2043
2042 #undef HEAP 2044 #undef HEAP
2043 2045
2044 #endif // V8_HEAP_H_ 2046 #endif // V8_HEAP_H_
OLDNEW
« no previous file with comments | « no previous file | src/heap.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698