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

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

Issue 1230163002: Disable the pending task if the memory reducer is torn down. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Fix check 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 | src/heap/memory-reducer.h » ('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 5868 matching lines...) Expand 10 before | Expand all | Expand 10 after
5879 map_space_->MaximumCommittedMemory()); 5879 map_space_->MaximumCommittedMemory());
5880 PrintF("maximum_committed_by_lo_space=%" V8_PTR_PREFIX "d ", 5880 PrintF("maximum_committed_by_lo_space=%" V8_PTR_PREFIX "d ",
5881 lo_space_->MaximumCommittedMemory()); 5881 lo_space_->MaximumCommittedMemory());
5882 PrintF("\n\n"); 5882 PrintF("\n\n");
5883 } 5883 }
5884 5884
5885 if (FLAG_verify_predictable) { 5885 if (FLAG_verify_predictable) {
5886 PrintAlloctionsHash(); 5886 PrintAlloctionsHash();
5887 } 5887 }
5888 5888
5889 memory_reducer_.TearDown();
5890
5889 TearDownArrayBuffers(); 5891 TearDownArrayBuffers();
5890 5892
5891 isolate_->global_handles()->TearDown(); 5893 isolate_->global_handles()->TearDown();
5892 5894
5893 external_string_table_.TearDown(); 5895 external_string_table_.TearDown();
5894 5896
5895 mark_compact_collector()->TearDown(); 5897 mark_compact_collector()->TearDown();
5896 5898
5897 new_space_.TearDown(); 5899 new_space_.TearDown();
5898 5900
(...skipping 993 matching lines...) Expand 10 before | Expand all | Expand 10 after
6892 *object_type = "CODE_TYPE"; \ 6894 *object_type = "CODE_TYPE"; \
6893 *object_sub_type = "CODE_AGE/" #name; \ 6895 *object_sub_type = "CODE_AGE/" #name; \
6894 return true; 6896 return true;
6895 CODE_AGE_LIST_COMPLETE(COMPARE_AND_RETURN_NAME) 6897 CODE_AGE_LIST_COMPLETE(COMPARE_AND_RETURN_NAME)
6896 #undef COMPARE_AND_RETURN_NAME 6898 #undef COMPARE_AND_RETURN_NAME
6897 } 6899 }
6898 return false; 6900 return false;
6899 } 6901 }
6900 } // namespace internal 6902 } // namespace internal
6901 } // namespace v8 6903 } // namespace v8
OLDNEW
« no previous file with comments | « no previous file | src/heap/memory-reducer.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698