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

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

Issue 1221303002: Revert of Make ARM compiler happy after 0ecd9e1bd (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
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 | « no previous file | no next file » | 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 909 matching lines...) Expand 10 before | Expand all | Expand 10 after
920 !mark_compact_collector_.marking_deque_.IsEmpty() && !FLAG_gc_global) { 920 !mark_compact_collector_.marking_deque_.IsEmpty() && !FLAG_gc_global) {
921 if (FLAG_trace_incremental_marking) { 921 if (FLAG_trace_incremental_marking) {
922 PrintF("[IncrementalMarking] Delaying MarkSweep.\n"); 922 PrintF("[IncrementalMarking] Delaying MarkSweep.\n");
923 } 923 }
924 collector = SCAVENGER; 924 collector = SCAVENGER;
925 collector_reason = "incremental marking delaying mark-sweep"; 925 collector_reason = "incremental marking delaying mark-sweep";
926 } 926 }
927 } 927 }
928 928
929 bool next_gc_likely_to_collect_more = false; 929 bool next_gc_likely_to_collect_more = false;
930 intptr_t committed_memory_before = 0; 930 intptr_t committed_memory_before;
931 931
932 if (collector == MARK_COMPACTOR) { 932 if (collector == MARK_COMPACTOR) {
933 committed_memory_before = CommittedOldGenerationMemory(); 933 committed_memory_before = CommittedOldGenerationMemory();
934 } 934 }
935 935
936 { 936 {
937 tracer()->Start(collector, gc_reason, collector_reason); 937 tracer()->Start(collector, gc_reason, collector_reason);
938 DCHECK(AllowHeapAllocation::IsAllowed()); 938 DCHECK(AllowHeapAllocation::IsAllowed());
939 DisallowHeapAllocation no_allocation_during_gc; 939 DisallowHeapAllocation no_allocation_during_gc;
940 GarbageCollectionPrologue(); 940 GarbageCollectionPrologue();
(...skipping 5931 matching lines...) Expand 10 before | Expand all | Expand 10 after
6872 *object_type = "CODE_TYPE"; \ 6872 *object_type = "CODE_TYPE"; \
6873 *object_sub_type = "CODE_AGE/" #name; \ 6873 *object_sub_type = "CODE_AGE/" #name; \
6874 return true; 6874 return true;
6875 CODE_AGE_LIST_COMPLETE(COMPARE_AND_RETURN_NAME) 6875 CODE_AGE_LIST_COMPLETE(COMPARE_AND_RETURN_NAME)
6876 #undef COMPARE_AND_RETURN_NAME 6876 #undef COMPARE_AND_RETURN_NAME
6877 } 6877 }
6878 return false; 6878 return false;
6879 } 6879 }
6880 } // namespace internal 6880 } // namespace internal
6881 } // namespace v8 6881 } // namespace v8
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698