OLD | NEW |
1 // Copyright 2011 the V8 project authors. All rights reserved. | 1 // Copyright 2011 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 263 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
274 #ifdef DEBUG | 274 #ifdef DEBUG |
275 if (FLAG_verify_heap) { | 275 if (FLAG_verify_heap) { |
276 VerifyMarking(heap_); | 276 VerifyMarking(heap_); |
277 } | 277 } |
278 #endif | 278 #endif |
279 | 279 |
280 SweepSpaces(); | 280 SweepSpaces(); |
281 | 281 |
282 if (!collect_maps_) ReattachInitialMaps(); | 282 if (!collect_maps_) ReattachInitialMaps(); |
283 | 283 |
284 heap_->isolate()->pc_to_code_cache()->Flush(); | 284 heap_->isolate()->inner_pointer_to_code_cache()->Flush(); |
285 | 285 |
286 Finish(); | 286 Finish(); |
287 | 287 |
288 tracer_ = NULL; | 288 tracer_ = NULL; |
289 } | 289 } |
290 | 290 |
291 | 291 |
292 #ifdef DEBUG | 292 #ifdef DEBUG |
293 void MarkCompactCollector::VerifyMarkbitsAreClean(PagedSpace* space) { | 293 void MarkCompactCollector::VerifyMarkbitsAreClean(PagedSpace* space) { |
294 PageIterator it(space); | 294 PageIterator it(space); |
(...skipping 3322 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
3617 while (buffer != NULL) { | 3617 while (buffer != NULL) { |
3618 SlotsBuffer* next_buffer = buffer->next(); | 3618 SlotsBuffer* next_buffer = buffer->next(); |
3619 DeallocateBuffer(buffer); | 3619 DeallocateBuffer(buffer); |
3620 buffer = next_buffer; | 3620 buffer = next_buffer; |
3621 } | 3621 } |
3622 *buffer_address = NULL; | 3622 *buffer_address = NULL; |
3623 } | 3623 } |
3624 | 3624 |
3625 | 3625 |
3626 } } // namespace v8::internal | 3626 } } // namespace v8::internal |
OLD | NEW |