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

Side by Side Diff: src/objects.h

Issue 166023003: Do not visit smis in the root list during GC. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: reordered for aesthetics Created 6 years, 10 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
« src/heap.h ('K') | « src/heap-inl.h ('k') | src/serialize.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 // Redistribution and use in source and binary forms, with or without 2 // Redistribution and use in source and binary forms, with or without
3 // modification, are permitted provided that the following conditions are 3 // modification, are permitted provided that the following conditions are
4 // met: 4 // met:
5 // 5 //
6 // * Redistributions of source code must retain the above copyright 6 // * Redistributions of source code must retain the above copyright
7 // notice, this list of conditions and the following disclaimer. 7 // notice, this list of conditions and the following disclaimer.
8 // * Redistributions in binary form must reproduce the above 8 // * Redistributions in binary form must reproduce the above
9 // copyright notice, this list of conditions and the following 9 // copyright notice, this list of conditions and the following
10 // disclaimer in the documentation and/or other materials provided 10 // disclaimer in the documentation and/or other materials provided
(...skipping 10624 matching lines...) Expand 10 before | Expand all | Expand 10 after
10635 10635
10636 10636
10637 #undef DECL_BOOLEAN_ACCESSORS 10637 #undef DECL_BOOLEAN_ACCESSORS
10638 #undef DECL_ACCESSORS 10638 #undef DECL_ACCESSORS
10639 #undef DECLARE_VERIFIER 10639 #undef DECLARE_VERIFIER
10640 10640
10641 #define VISITOR_SYNCHRONIZATION_TAGS_LIST(V) \ 10641 #define VISITOR_SYNCHRONIZATION_TAGS_LIST(V) \
10642 V(kStringTable, "string_table", "(Internalized strings)") \ 10642 V(kStringTable, "string_table", "(Internalized strings)") \
10643 V(kExternalStringsTable, "external_strings_table", "(External strings)") \ 10643 V(kExternalStringsTable, "external_strings_table", "(External strings)") \
10644 V(kStrongRootList, "strong_root_list", "(Strong roots)") \ 10644 V(kStrongRootList, "strong_root_list", "(Strong roots)") \
10645 V(kRootSmisList, "root_smis_list", "(Root smis)") \
Michael Starzinger 2014/02/14 14:24:01 nit: Likewise kSmiRootList and smi_root_list here.
10645 V(kInternalizedString, "internalized_string", "(Internal string)") \ 10646 V(kInternalizedString, "internalized_string", "(Internal string)") \
10646 V(kBootstrapper, "bootstrapper", "(Bootstrapper)") \ 10647 V(kBootstrapper, "bootstrapper", "(Bootstrapper)") \
10647 V(kTop, "top", "(Isolate)") \ 10648 V(kTop, "top", "(Isolate)") \
10648 V(kRelocatable, "relocatable", "(Relocatable)") \ 10649 V(kRelocatable, "relocatable", "(Relocatable)") \
10649 V(kDebug, "debug", "(Debugger)") \ 10650 V(kDebug, "debug", "(Debugger)") \
10650 V(kCompilationCache, "compilationcache", "(Compilation cache)") \ 10651 V(kCompilationCache, "compilationcache", "(Compilation cache)") \
10651 V(kHandleScope, "handlescope", "(Handle scope)") \ 10652 V(kHandleScope, "handlescope", "(Handle scope)") \
10652 V(kBuiltins, "builtins", "(Builtins)") \ 10653 V(kBuiltins, "builtins", "(Builtins)") \
10653 V(kGlobalHandles, "globalhandles", "(Global handles)") \ 10654 V(kGlobalHandles, "globalhandles", "(Global handles)") \
10654 V(kEternalHandles, "eternalhandles", "(Eternal handles)") \ 10655 V(kEternalHandles, "eternalhandles", "(Eternal handles)") \
(...skipping 104 matching lines...) Expand 10 before | Expand all | Expand 10 after
10759 } else { 10760 } else {
10760 value &= ~(1 << bit_position); 10761 value &= ~(1 << bit_position);
10761 } 10762 }
10762 return value; 10763 return value;
10763 } 10764 }
10764 }; 10765 };
10765 10766
10766 } } // namespace v8::internal 10767 } } // namespace v8::internal
10767 10768
10768 #endif // V8_OBJECTS_H_ 10769 #endif // V8_OBJECTS_H_
OLDNEW
« src/heap.h ('K') | « src/heap-inl.h ('k') | src/serialize.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698