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

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

Issue 1218003003: Remove deprecated --flush-code-incrementally flag. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@local_contrib-14703009
Patch Set: Created 5 years, 5 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 | « src/flag-definitions.h ('k') | src/heap/mark-compact.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 "src/v8.h" 5 #include "src/v8.h"
6 6
7 #include "src/accessors.h" 7 #include "src/accessors.h"
8 #include "src/api.h" 8 #include "src/api.h"
9 #include "src/base/bits.h" 9 #include "src/base/bits.h"
10 #include "src/base/once.h" 10 #include "src/base/once.h"
(...skipping 415 matching lines...) Expand 10 before | Expand all | Expand 10 after
426 } 426 }
427 427
428 428
429 void Heap::GarbageCollectionPrologue() { 429 void Heap::GarbageCollectionPrologue() {
430 { 430 {
431 AllowHeapAllocation for_the_first_part_of_prologue; 431 AllowHeapAllocation for_the_first_part_of_prologue;
432 ClearJSFunctionResultCaches(); 432 ClearJSFunctionResultCaches();
433 gc_count_++; 433 gc_count_++;
434 unflattened_strings_length_ = 0; 434 unflattened_strings_length_ = 0;
435 435
436 if (FLAG_flush_code && FLAG_flush_code_incrementally) { 436 if (FLAG_flush_code) {
437 mark_compact_collector()->EnableCodeFlushing(true); 437 mark_compact_collector()->EnableCodeFlushing(true);
438 } 438 }
439 439
440 #ifdef VERIFY_HEAP 440 #ifdef VERIFY_HEAP
441 if (FLAG_verify_heap) { 441 if (FLAG_verify_heap) {
442 Verify(); 442 Verify();
443 } 443 }
444 #endif 444 #endif
445 } 445 }
446 446
(...skipping 6401 matching lines...) Expand 10 before | Expand all | Expand 10 after
6848 *object_type = "CODE_TYPE"; \ 6848 *object_type = "CODE_TYPE"; \
6849 *object_sub_type = "CODE_AGE/" #name; \ 6849 *object_sub_type = "CODE_AGE/" #name; \
6850 return true; 6850 return true;
6851 CODE_AGE_LIST_COMPLETE(COMPARE_AND_RETURN_NAME) 6851 CODE_AGE_LIST_COMPLETE(COMPARE_AND_RETURN_NAME)
6852 #undef COMPARE_AND_RETURN_NAME 6852 #undef COMPARE_AND_RETURN_NAME
6853 } 6853 }
6854 return false; 6854 return false;
6855 } 6855 }
6856 } // namespace internal 6856 } // namespace internal
6857 } // namespace v8 6857 } // namespace v8
OLDNEW
« no previous file with comments | « src/flag-definitions.h ('k') | src/heap/mark-compact.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698