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

Side by Side Diff: src/objects.h

Issue 2147693004: [heap] ObjectStats: Fix accounting for fixed array subtypes (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Filter out dupes Created 4 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
« src/heap/mark-compact.cc ('K') | « src/heap/object-stats.cc ('k') | 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 2015 the V8 project authors. All rights reserved. 1 // Copyright 2015 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 #ifndef V8_OBJECTS_H_ 5 #ifndef V8_OBJECTS_H_
6 #define V8_OBJECTS_H_ 6 #define V8_OBJECTS_H_
7 7
8 #include <iosfwd> 8 #include <iosfwd>
9 9
10 #include "src/assert-scope.h" 10 #include "src/assert-scope.h"
(...skipping 773 matching lines...) Expand 10 before | Expand all | Expand 10 after
784 V(DESCRIPTOR_ARRAY_SUB_TYPE) \ 784 V(DESCRIPTOR_ARRAY_SUB_TYPE) \
785 V(ENUM_CACHE_SUB_TYPE) \ 785 V(ENUM_CACHE_SUB_TYPE) \
786 V(ENUM_INDICES_CACHE_SUB_TYPE) \ 786 V(ENUM_INDICES_CACHE_SUB_TYPE) \
787 V(DICTIONARY_ELEMENTS_SUB_TYPE) \ 787 V(DICTIONARY_ELEMENTS_SUB_TYPE) \
788 V(DICTIONARY_PROPERTIES_SUB_TYPE) \ 788 V(DICTIONARY_PROPERTIES_SUB_TYPE) \
789 V(FAST_ELEMENTS_SUB_TYPE) \ 789 V(FAST_ELEMENTS_SUB_TYPE) \
790 V(FAST_PROPERTIES_SUB_TYPE) \ 790 V(FAST_PROPERTIES_SUB_TYPE) \
791 V(LITERALS_ARRAY_SUB_TYPE) \ 791 V(LITERALS_ARRAY_SUB_TYPE) \
792 V(MAP_CODE_CACHE_SUB_TYPE) \ 792 V(MAP_CODE_CACHE_SUB_TYPE) \
793 V(OBJECT_TO_CODE_SUB_TYPE) \ 793 V(OBJECT_TO_CODE_SUB_TYPE) \
794 V(RELOC_INFO_SUB_TYPE) \
Michael Lippautz 2016/07/14 09:56:17 reloc info and source position table are byte arra
795 V(SCOPE_INFO_SUB_TYPE) \ 794 V(SCOPE_INFO_SUB_TYPE) \
796 V(SOURCE_POS_SUB_TYPE) \
797 V(STRING_TABLE_SUB_TYPE) \ 795 V(STRING_TABLE_SUB_TYPE) \
798 V(TYPE_FEEDBACK_VECTOR_SUB_TYPE) \ 796 V(TYPE_FEEDBACK_VECTOR_SUB_TYPE) \
799 V(TYPE_FEEDBACK_METADATA_SUB_TYPE) \ 797 V(TYPE_FEEDBACK_METADATA_SUB_TYPE) \
800 V(WEAK_COLLECTION_SUB_TYPE) 798 V(WEAK_COLLECTION_SUB_TYPE)
801 799
802 enum FixedArraySubInstanceType { 800 enum FixedArraySubInstanceType {
803 #define DEFINE_FIXED_ARRAY_SUB_INSTANCE_TYPE(name) name, 801 #define DEFINE_FIXED_ARRAY_SUB_INSTANCE_TYPE(name) name,
804 FIXED_ARRAY_SUB_INSTANCE_TYPE_LIST(DEFINE_FIXED_ARRAY_SUB_INSTANCE_TYPE) 802 FIXED_ARRAY_SUB_INSTANCE_TYPE_LIST(DEFINE_FIXED_ARRAY_SUB_INSTANCE_TYPE)
805 #undef DEFINE_FIXED_ARRAY_SUB_INSTANCE_TYPE 803 #undef DEFINE_FIXED_ARRAY_SUB_INSTANCE_TYPE
806 LAST_FIXED_ARRAY_SUB_TYPE = WEAK_COLLECTION_SUB_TYPE 804 LAST_FIXED_ARRAY_SUB_TYPE = WEAK_COLLECTION_SUB_TYPE
(...skipping 10185 matching lines...) Expand 10 before | Expand all | Expand 10 after
10992 } 10990 }
10993 return value; 10991 return value;
10994 } 10992 }
10995 }; 10993 };
10996 10994
10997 10995
10998 } // NOLINT, false-positive due to second-order macros. 10996 } // NOLINT, false-positive due to second-order macros.
10999 } // NOLINT, false-positive due to second-order macros. 10997 } // NOLINT, false-positive due to second-order macros.
11000 10998
11001 #endif // V8_OBJECTS_H_ 10999 #endif // V8_OBJECTS_H_
OLDNEW
« src/heap/mark-compact.cc ('K') | « src/heap/object-stats.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698