OLD | NEW |
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 1165 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1176 // The current and maximum capacities of a semispace. | 1176 // The current and maximum capacities of a semispace. |
1177 int capacity_; | 1177 int capacity_; |
1178 int maximum_capacity_; | 1178 int maximum_capacity_; |
1179 | 1179 |
1180 // The semispaces. | 1180 // The semispaces. |
1181 SemiSpace to_space_; | 1181 SemiSpace to_space_; |
1182 SemiSpace from_space_; | 1182 SemiSpace from_space_; |
1183 | 1183 |
1184 // Start address and bit mask for containment testing. | 1184 // Start address and bit mask for containment testing. |
1185 Address start_; | 1185 Address start_; |
1186 uint32_t address_mask_; | 1186 uintptr_t address_mask_; |
1187 uint32_t object_mask_; | 1187 uintptr_t object_mask_; |
1188 uint32_t object_expected_; | 1188 uintptr_t object_expected_; |
1189 | 1189 |
1190 // Allocation pointer and limit for normal allocation and allocation during | 1190 // Allocation pointer and limit for normal allocation and allocation during |
1191 // mark-compact collection. | 1191 // mark-compact collection. |
1192 AllocationInfo allocation_info_; | 1192 AllocationInfo allocation_info_; |
1193 AllocationInfo mc_forwarding_info_; | 1193 AllocationInfo mc_forwarding_info_; |
1194 | 1194 |
1195 #if defined(DEBUG) || defined(ENABLE_LOGGING_AND_PROFILING) | 1195 #if defined(DEBUG) || defined(ENABLE_LOGGING_AND_PROFILING) |
1196 HistogramInfo* allocated_histogram_; | 1196 HistogramInfo* allocated_histogram_; |
1197 HistogramInfo* promoted_histogram_; | 1197 HistogramInfo* promoted_histogram_; |
1198 #endif | 1198 #endif |
(...skipping 495 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1694 | 1694 |
1695 private: | 1695 private: |
1696 LargeObjectChunk* current_; | 1696 LargeObjectChunk* current_; |
1697 HeapObjectCallback size_func_; | 1697 HeapObjectCallback size_func_; |
1698 }; | 1698 }; |
1699 | 1699 |
1700 | 1700 |
1701 } } // namespace v8::internal | 1701 } } // namespace v8::internal |
1702 | 1702 |
1703 #endif // V8_SPACES_H_ | 1703 #endif // V8_SPACES_H_ |
OLD | NEW |