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

Side by Side Diff: src/mark-compact.cc

Issue 300553008: Some debugger-related clean-ups and renamings. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 6 years, 7 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/isolate.cc ('k') | src/runtime.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 #include "v8.h" 5 #include "v8.h"
6 6
7 #include "code-stubs.h" 7 #include "code-stubs.h"
8 #include "compilation-cache.h" 8 #include "compilation-cache.h"
9 #include "cpu-profiler.h" 9 #include "cpu-profiler.h"
10 #include "deoptimizer.h" 10 #include "deoptimizer.h"
(...skipping 4266 matching lines...) Expand 10 before | Expand all | Expand 10 after
4277 } 4277 }
4278 4278
4279 4279
4280 void MarkCompactCollector::ParallelSweepSpacesComplete() { 4280 void MarkCompactCollector::ParallelSweepSpacesComplete() {
4281 ParallelSweepSpaceComplete(heap()->old_pointer_space()); 4281 ParallelSweepSpaceComplete(heap()->old_pointer_space());
4282 ParallelSweepSpaceComplete(heap()->old_data_space()); 4282 ParallelSweepSpaceComplete(heap()->old_data_space());
4283 } 4283 }
4284 4284
4285 4285
4286 void MarkCompactCollector::EnableCodeFlushing(bool enable) { 4286 void MarkCompactCollector::EnableCodeFlushing(bool enable) {
4287 if (isolate()->debug()->IsLoaded() || 4287 if (isolate()->debug()->is_loaded() ||
4288 isolate()->debug()->has_break_points()) { 4288 isolate()->debug()->has_break_points()) {
4289 enable = false; 4289 enable = false;
4290 } 4290 }
4291 4291
4292 if (enable) { 4292 if (enable) {
4293 if (code_flusher_ != NULL) return; 4293 if (code_flusher_ != NULL) return;
4294 code_flusher_ = new CodeFlusher(isolate()); 4294 code_flusher_ = new CodeFlusher(isolate());
4295 } else { 4295 } else {
4296 if (code_flusher_ == NULL) return; 4296 if (code_flusher_ == NULL) return;
4297 code_flusher_->EvictAllCandidates(); 4297 code_flusher_->EvictAllCandidates();
(...skipping 203 matching lines...) Expand 10 before | Expand all | Expand 10 after
4501 while (buffer != NULL) { 4501 while (buffer != NULL) {
4502 SlotsBuffer* next_buffer = buffer->next(); 4502 SlotsBuffer* next_buffer = buffer->next();
4503 DeallocateBuffer(buffer); 4503 DeallocateBuffer(buffer);
4504 buffer = next_buffer; 4504 buffer = next_buffer;
4505 } 4505 }
4506 *buffer_address = NULL; 4506 *buffer_address = NULL;
4507 } 4507 }
4508 4508
4509 4509
4510 } } // namespace v8::internal 4510 } } // namespace v8::internal
OLDNEW
« no previous file with comments | « src/isolate.cc ('k') | src/runtime.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698